Class DataWriteRequest.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable, DataWriteRequestOrBuilder
    Enclosing class:
    DataWriteRequest

    public static final class DataWriteRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
    implements DataWriteRequestOrBuilder
    
     Request to create of update a dataset stored in the TRAC platform.
     @see TracDataApi.createDataset
     @see TracDataApi.updateDataset
     
    Protobuf type tracdap.api.DataWriteRequest
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
      • clear

        public DataWriteRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
      • getDefaultInstanceForType

        public DataWriteRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DataWriteRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DataWriteRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public DataWriteRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
      • setField

        public DataWriteRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
      • clearField

        public DataWriteRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
      • clearOneof

        public DataWriteRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
      • setRepeatedField

        public DataWriteRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         int index,
                                                         java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
      • addRepeatedField

        public DataWriteRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
      • mergeFrom

        public DataWriteRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataWriteRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
      • mergeFrom

        public DataWriteRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataWriteRequest.Builder>
        Throws:
        java.io.IOException
      • getTenant

        public java.lang.String getTenant()
        
         Tenant code for the requested operation, always required.
         
        string tenant = 1;
        Specified by:
        getTenant in interface DataWriteRequestOrBuilder
        Returns:
        The tenant.
      • getTenantBytes

        public com.google.protobuf.ByteString getTenantBytes()
        
         Tenant code for the requested operation, always required.
         
        string tenant = 1;
        Specified by:
        getTenantBytes in interface DataWriteRequestOrBuilder
        Returns:
        The bytes for tenant.
      • setTenant

        public DataWriteRequest.Builder setTenant​(java.lang.String value)
        
         Tenant code for the requested operation, always required.
         
        string tenant = 1;
        Parameters:
        value - The tenant to set.
        Returns:
        This builder for chaining.
      • clearTenant

        public DataWriteRequest.Builder clearTenant()
        
         Tenant code for the requested operation, always required.
         
        string tenant = 1;
        Returns:
        This builder for chaining.
      • setTenantBytes

        public DataWriteRequest.Builder setTenantBytes​(com.google.protobuf.ByteString value)
        
         Tenant code for the requested operation, always required.
         
        string tenant = 1;
        Parameters:
        value - The bytes for tenant to set.
        Returns:
        This builder for chaining.
      • hasPriorVersion

        public boolean hasPriorVersion()
        
         Prior object/tag version to use for update operations.
         This field should be omitted when creating a new dataset.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
        Specified by:
        hasPriorVersion in interface DataWriteRequestOrBuilder
        Returns:
        Whether the priorVersion field is set.
      • getPriorVersion

        public org.finos.tracdap.metadata.TagSelector getPriorVersion()
        
         Prior object/tag version to use for update operations.
         This field should be omitted when creating a new dataset.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
        Specified by:
        getPriorVersion in interface DataWriteRequestOrBuilder
        Returns:
        The priorVersion.
      • setPriorVersion

        public DataWriteRequest.Builder setPriorVersion​(org.finos.tracdap.metadata.TagSelector value)
        
         Prior object/tag version to use for update operations.
         This field should be omitted when creating a new dataset.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
      • setPriorVersion

        public DataWriteRequest.Builder setPriorVersion​(org.finos.tracdap.metadata.TagSelector.Builder builderForValue)
        
         Prior object/tag version to use for update operations.
         This field should be omitted when creating a new dataset.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
      • mergePriorVersion

        public DataWriteRequest.Builder mergePriorVersion​(org.finos.tracdap.metadata.TagSelector value)
        
         Prior object/tag version to use for update operations.
         This field should be omitted when creating a new dataset.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
      • clearPriorVersion

        public DataWriteRequest.Builder clearPriorVersion()
        
         Prior object/tag version to use for update operations.
         This field should be omitted when creating a new dataset.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
      • getPriorVersionBuilder

        public org.finos.tracdap.metadata.TagSelector.Builder getPriorVersionBuilder()
        
         Prior object/tag version to use for update operations.
         This field should be omitted when creating a new dataset.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
      • getPriorVersionOrBuilder

        public org.finos.tracdap.metadata.TagSelectorOrBuilder getPriorVersionOrBuilder()
        
         Prior object/tag version to use for update operations.
         This field should be omitted when creating a new dataset.
         
        optional .tracdap.metadata.TagSelector priorVersion = 2;
        Specified by:
        getPriorVersionOrBuilder in interface DataWriteRequestOrBuilder
      • getTagUpdatesList

        public java.util.List<org.finos.tracdap.metadata.TagUpdate> getTagUpdatesList()
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
        Specified by:
        getTagUpdatesList in interface DataWriteRequestOrBuilder
      • getTagUpdatesCount

        public int getTagUpdatesCount()
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
        Specified by:
        getTagUpdatesCount in interface DataWriteRequestOrBuilder
      • getTagUpdates

        public org.finos.tracdap.metadata.TagUpdate getTagUpdates​(int index)
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
        Specified by:
        getTagUpdates in interface DataWriteRequestOrBuilder
      • setTagUpdates

        public DataWriteRequest.Builder setTagUpdates​(int index,
                                                      org.finos.tracdap.metadata.TagUpdate value)
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • setTagUpdates

        public DataWriteRequest.Builder setTagUpdates​(int index,
                                                      org.finos.tracdap.metadata.TagUpdate.Builder builderForValue)
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • addTagUpdates

        public DataWriteRequest.Builder addTagUpdates​(org.finos.tracdap.metadata.TagUpdate value)
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • addTagUpdates

        public DataWriteRequest.Builder addTagUpdates​(int index,
                                                      org.finos.tracdap.metadata.TagUpdate value)
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • addTagUpdates

        public DataWriteRequest.Builder addTagUpdates​(org.finos.tracdap.metadata.TagUpdate.Builder builderForValue)
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • addTagUpdates

        public DataWriteRequest.Builder addTagUpdates​(int index,
                                                      org.finos.tracdap.metadata.TagUpdate.Builder builderForValue)
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • addAllTagUpdates

        public DataWriteRequest.Builder addAllTagUpdates​(java.lang.Iterable<? extends org.finos.tracdap.metadata.TagUpdate> values)
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • clearTagUpdates

        public DataWriteRequest.Builder clearTagUpdates()
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • removeTagUpdates

        public DataWriteRequest.Builder removeTagUpdates​(int index)
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • getTagUpdatesBuilder

        public org.finos.tracdap.metadata.TagUpdate.Builder getTagUpdatesBuilder​(int index)
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • getTagUpdatesOrBuilder

        public org.finos.tracdap.metadata.TagUpdateOrBuilder getTagUpdatesOrBuilder​(int index)
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
        Specified by:
        getTagUpdatesOrBuilder in interface DataWriteRequestOrBuilder
      • getTagUpdatesOrBuilderList

        public java.util.List<? extends org.finos.tracdap.metadata.TagUpdateOrBuilder> getTagUpdatesOrBuilderList()
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
        Specified by:
        getTagUpdatesOrBuilderList in interface DataWriteRequestOrBuilder
      • addTagUpdatesBuilder

        public org.finos.tracdap.metadata.TagUpdate.Builder addTagUpdatesBuilder()
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • addTagUpdatesBuilder

        public org.finos.tracdap.metadata.TagUpdate.Builder addTagUpdatesBuilder​(int index)
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • getTagUpdatesBuilderList

        public java.util.List<org.finos.tracdap.metadata.TagUpdate.Builder> getTagUpdatesBuilderList()
        
         Tag update operations to be applied.
         Tag updates are applied in exactly the same way as for metadata write requests.
         @see MetadataWriteRequest
         @see TracMetadataApi
         
        repeated .tracdap.metadata.TagUpdate tagUpdates = 3;
      • hasSchemaId

        public boolean hasSchemaId()
        
         Specify the schema using an external schema definition.
         If a schema ID is supplied, it must be a valid tag selector for an existing SCHEMA object.
         All future versions of the dataset must use either the same schema ID or a later version
         of the same schema object.
         TRAC will look up the external schema and validate incoming data to make sure it is conformant.
         
        .tracdap.metadata.TagSelector schemaId = 4;
        Specified by:
        hasSchemaId in interface DataWriteRequestOrBuilder
        Returns:
        Whether the schemaId field is set.
      • getSchemaId

        public org.finos.tracdap.metadata.TagSelector getSchemaId()
        
         Specify the schema using an external schema definition.
         If a schema ID is supplied, it must be a valid tag selector for an existing SCHEMA object.
         All future versions of the dataset must use either the same schema ID or a later version
         of the same schema object.
         TRAC will look up the external schema and validate incoming data to make sure it is conformant.
         
        .tracdap.metadata.TagSelector schemaId = 4;
        Specified by:
        getSchemaId in interface DataWriteRequestOrBuilder
        Returns:
        The schemaId.
      • setSchemaId

        public DataWriteRequest.Builder setSchemaId​(org.finos.tracdap.metadata.TagSelector value)
        
         Specify the schema using an external schema definition.
         If a schema ID is supplied, it must be a valid tag selector for an existing SCHEMA object.
         All future versions of the dataset must use either the same schema ID or a later version
         of the same schema object.
         TRAC will look up the external schema and validate incoming data to make sure it is conformant.
         
        .tracdap.metadata.TagSelector schemaId = 4;
      • setSchemaId

        public DataWriteRequest.Builder setSchemaId​(org.finos.tracdap.metadata.TagSelector.Builder builderForValue)
        
         Specify the schema using an external schema definition.
         If a schema ID is supplied, it must be a valid tag selector for an existing SCHEMA object.
         All future versions of the dataset must use either the same schema ID or a later version
         of the same schema object.
         TRAC will look up the external schema and validate incoming data to make sure it is conformant.
         
        .tracdap.metadata.TagSelector schemaId = 4;
      • mergeSchemaId

        public DataWriteRequest.Builder mergeSchemaId​(org.finos.tracdap.metadata.TagSelector value)
        
         Specify the schema using an external schema definition.
         If a schema ID is supplied, it must be a valid tag selector for an existing SCHEMA object.
         All future versions of the dataset must use either the same schema ID or a later version
         of the same schema object.
         TRAC will look up the external schema and validate incoming data to make sure it is conformant.
         
        .tracdap.metadata.TagSelector schemaId = 4;
      • clearSchemaId

        public DataWriteRequest.Builder clearSchemaId()
        
         Specify the schema using an external schema definition.
         If a schema ID is supplied, it must be a valid tag selector for an existing SCHEMA object.
         All future versions of the dataset must use either the same schema ID or a later version
         of the same schema object.
         TRAC will look up the external schema and validate incoming data to make sure it is conformant.
         
        .tracdap.metadata.TagSelector schemaId = 4;
      • getSchemaIdBuilder

        public org.finos.tracdap.metadata.TagSelector.Builder getSchemaIdBuilder()
        
         Specify the schema using an external schema definition.
         If a schema ID is supplied, it must be a valid tag selector for an existing SCHEMA object.
         All future versions of the dataset must use either the same schema ID or a later version
         of the same schema object.
         TRAC will look up the external schema and validate incoming data to make sure it is conformant.
         
        .tracdap.metadata.TagSelector schemaId = 4;
      • getSchemaIdOrBuilder

        public org.finos.tracdap.metadata.TagSelectorOrBuilder getSchemaIdOrBuilder()
        
         Specify the schema using an external schema definition.
         If a schema ID is supplied, it must be a valid tag selector for an existing SCHEMA object.
         All future versions of the dataset must use either the same schema ID or a later version
         of the same schema object.
         TRAC will look up the external schema and validate incoming data to make sure it is conformant.
         
        .tracdap.metadata.TagSelector schemaId = 4;
        Specified by:
        getSchemaIdOrBuilder in interface DataWriteRequestOrBuilder
      • hasSchema

        public boolean hasSchema()
        
         Specify the schema with an explicit schema definition.
         If an explicit schema is supplied TRAC will save the schema as part of the DATA object,
         creating an embedded schema this individual dataset. All future versions of the dataset
         must also use an embedded schema which can either be the same schema or a compatible
         one, with compatibility following the rules of schema versioning (fields can be added
         but not removed or materially altered).
         TRAC will validate incoming data to make sure it is conformant with the schema.
         
        .tracdap.metadata.SchemaDefinition schema = 5;
        Specified by:
        hasSchema in interface DataWriteRequestOrBuilder
        Returns:
        Whether the schema field is set.
      • getSchema

        public org.finos.tracdap.metadata.SchemaDefinition getSchema()
        
         Specify the schema with an explicit schema definition.
         If an explicit schema is supplied TRAC will save the schema as part of the DATA object,
         creating an embedded schema this individual dataset. All future versions of the dataset
         must also use an embedded schema which can either be the same schema or a compatible
         one, with compatibility following the rules of schema versioning (fields can be added
         but not removed or materially altered).
         TRAC will validate incoming data to make sure it is conformant with the schema.
         
        .tracdap.metadata.SchemaDefinition schema = 5;
        Specified by:
        getSchema in interface DataWriteRequestOrBuilder
        Returns:
        The schema.
      • setSchema

        public DataWriteRequest.Builder setSchema​(org.finos.tracdap.metadata.SchemaDefinition value)
        
         Specify the schema with an explicit schema definition.
         If an explicit schema is supplied TRAC will save the schema as part of the DATA object,
         creating an embedded schema this individual dataset. All future versions of the dataset
         must also use an embedded schema which can either be the same schema or a compatible
         one, with compatibility following the rules of schema versioning (fields can be added
         but not removed or materially altered).
         TRAC will validate incoming data to make sure it is conformant with the schema.
         
        .tracdap.metadata.SchemaDefinition schema = 5;
      • setSchema

        public DataWriteRequest.Builder setSchema​(org.finos.tracdap.metadata.SchemaDefinition.Builder builderForValue)
        
         Specify the schema with an explicit schema definition.
         If an explicit schema is supplied TRAC will save the schema as part of the DATA object,
         creating an embedded schema this individual dataset. All future versions of the dataset
         must also use an embedded schema which can either be the same schema or a compatible
         one, with compatibility following the rules of schema versioning (fields can be added
         but not removed or materially altered).
         TRAC will validate incoming data to make sure it is conformant with the schema.
         
        .tracdap.metadata.SchemaDefinition schema = 5;
      • mergeSchema

        public DataWriteRequest.Builder mergeSchema​(org.finos.tracdap.metadata.SchemaDefinition value)
        
         Specify the schema with an explicit schema definition.
         If an explicit schema is supplied TRAC will save the schema as part of the DATA object,
         creating an embedded schema this individual dataset. All future versions of the dataset
         must also use an embedded schema which can either be the same schema or a compatible
         one, with compatibility following the rules of schema versioning (fields can be added
         but not removed or materially altered).
         TRAC will validate incoming data to make sure it is conformant with the schema.
         
        .tracdap.metadata.SchemaDefinition schema = 5;
      • clearSchema

        public DataWriteRequest.Builder clearSchema()
        
         Specify the schema with an explicit schema definition.
         If an explicit schema is supplied TRAC will save the schema as part of the DATA object,
         creating an embedded schema this individual dataset. All future versions of the dataset
         must also use an embedded schema which can either be the same schema or a compatible
         one, with compatibility following the rules of schema versioning (fields can be added
         but not removed or materially altered).
         TRAC will validate incoming data to make sure it is conformant with the schema.
         
        .tracdap.metadata.SchemaDefinition schema = 5;
      • getSchemaBuilder

        public org.finos.tracdap.metadata.SchemaDefinition.Builder getSchemaBuilder()
        
         Specify the schema with an explicit schema definition.
         If an explicit schema is supplied TRAC will save the schema as part of the DATA object,
         creating an embedded schema this individual dataset. All future versions of the dataset
         must also use an embedded schema which can either be the same schema or a compatible
         one, with compatibility following the rules of schema versioning (fields can be added
         but not removed or materially altered).
         TRAC will validate incoming data to make sure it is conformant with the schema.
         
        .tracdap.metadata.SchemaDefinition schema = 5;
      • getSchemaOrBuilder

        public org.finos.tracdap.metadata.SchemaDefinitionOrBuilder getSchemaOrBuilder()
        
         Specify the schema with an explicit schema definition.
         If an explicit schema is supplied TRAC will save the schema as part of the DATA object,
         creating an embedded schema this individual dataset. All future versions of the dataset
         must also use an embedded schema which can either be the same schema or a compatible
         one, with compatibility following the rules of schema versioning (fields can be added
         but not removed or materially altered).
         TRAC will validate incoming data to make sure it is conformant with the schema.
         
        .tracdap.metadata.SchemaDefinition schema = 5;
        Specified by:
        getSchemaOrBuilder in interface DataWriteRequestOrBuilder
      • getFormat

        public java.lang.String getFormat()
        
         Format that will be used for uploading data.
         This field tells TRAC what format the data will be sent in, it must be the mime type
         of a supported data format. Data provided in the "content" field can then be encoded
         in this format.
         The "format" field does not affect how TRAC stores data. Incoming data is decoded and
         translated into a format recognised by the underlying data platform.
         
        string format = 9;
        Specified by:
        getFormat in interface DataWriteRequestOrBuilder
        Returns:
        The format.
      • getFormatBytes

        public com.google.protobuf.ByteString getFormatBytes()
        
         Format that will be used for uploading data.
         This field tells TRAC what format the data will be sent in, it must be the mime type
         of a supported data format. Data provided in the "content" field can then be encoded
         in this format.
         The "format" field does not affect how TRAC stores data. Incoming data is decoded and
         translated into a format recognised by the underlying data platform.
         
        string format = 9;
        Specified by:
        getFormatBytes in interface DataWriteRequestOrBuilder
        Returns:
        The bytes for format.
      • setFormat

        public DataWriteRequest.Builder setFormat​(java.lang.String value)
        
         Format that will be used for uploading data.
         This field tells TRAC what format the data will be sent in, it must be the mime type
         of a supported data format. Data provided in the "content" field can then be encoded
         in this format.
         The "format" field does not affect how TRAC stores data. Incoming data is decoded and
         translated into a format recognised by the underlying data platform.
         
        string format = 9;
        Parameters:
        value - The format to set.
        Returns:
        This builder for chaining.
      • clearFormat

        public DataWriteRequest.Builder clearFormat()
        
         Format that will be used for uploading data.
         This field tells TRAC what format the data will be sent in, it must be the mime type
         of a supported data format. Data provided in the "content" field can then be encoded
         in this format.
         The "format" field does not affect how TRAC stores data. Incoming data is decoded and
         translated into a format recognised by the underlying data platform.
         
        string format = 9;
        Returns:
        This builder for chaining.
      • setFormatBytes

        public DataWriteRequest.Builder setFormatBytes​(com.google.protobuf.ByteString value)
        
         Format that will be used for uploading data.
         This field tells TRAC what format the data will be sent in, it must be the mime type
         of a supported data format. Data provided in the "content" field can then be encoded
         in this format.
         The "format" field does not affect how TRAC stores data. Incoming data is decoded and
         translated into a format recognised by the underlying data platform.
         
        string format = 9;
        Parameters:
        value - The bytes for format to set.
        Returns:
        This builder for chaining.
      • getContent

        public com.google.protobuf.ByteString getContent()
        
         The content of the dataset, encoded as per the "format" field.
         For client streaming requests, each message contains a chunk of the encoded dataset.
         Empty (i.e. zero-length) chunks can be included in the stream and will be ignored.
         For unary requests (createSmallDataset, updateSmallDataset) the encoded content of
         the dataset must be included in the request as a single blob.
         
        bytes content = 1000;
        Specified by:
        getContent in interface DataWriteRequestOrBuilder
        Returns:
        The content.
      • setContent

        public DataWriteRequest.Builder setContent​(com.google.protobuf.ByteString value)
        
         The content of the dataset, encoded as per the "format" field.
         For client streaming requests, each message contains a chunk of the encoded dataset.
         Empty (i.e. zero-length) chunks can be included in the stream and will be ignored.
         For unary requests (createSmallDataset, updateSmallDataset) the encoded content of
         the dataset must be included in the request as a single blob.
         
        bytes content = 1000;
        Parameters:
        value - The content to set.
        Returns:
        This builder for chaining.
      • clearContent

        public DataWriteRequest.Builder clearContent()
        
         The content of the dataset, encoded as per the "format" field.
         For client streaming requests, each message contains a chunk of the encoded dataset.
         Empty (i.e. zero-length) chunks can be included in the stream and will be ignored.
         For unary requests (createSmallDataset, updateSmallDataset) the encoded content of
         the dataset must be included in the request as a single blob.
         
        bytes content = 1000;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DataWriteRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
      • mergeUnknownFields

        public final DataWriteRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>