Class DataWriteRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DataWriteRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<DataWriteRequest.Builder>
org.finos.tracdap.api.DataWriteRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, DataWriteRequestOrBuilder
Enclosing class:
DataWriteRequest

public static final class DataWriteRequest.Builder extends com.google.protobuf.GeneratedMessage.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 Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public DataWriteRequest.Builder mergeFrom(DataWriteRequest other)
    • isInitialized

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

      public DataWriteRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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:
      IOException
    • getSchemaSpecifierCase

      public DataWriteRequest.SchemaSpecifierCase getSchemaSpecifierCase()
      Specified by:
      getSchemaSpecifierCase in interface DataWriteRequestOrBuilder
    • clearSchemaSpecifier

      public DataWriteRequest.Builder clearSchemaSpecifier()
    • getTenant

      public 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(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 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(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 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 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 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(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.