Package org.finos.tracdap.api
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.updateDatasetProtobuf type
tracdap.api.DataWriteRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllTagUpdates(Iterable<? extends org.finos.tracdap.metadata.TagUpdate> values) * Tag update operations to be applied.addTagUpdates(int index, org.finos.tracdap.metadata.TagUpdate value) * Tag update operations to be applied.addTagUpdates(int index, org.finos.tracdap.metadata.TagUpdate.Builder builderForValue) * Tag update operations to be applied.addTagUpdates(org.finos.tracdap.metadata.TagUpdate value) * Tag update operations to be applied.addTagUpdates(org.finos.tracdap.metadata.TagUpdate.Builder builderForValue) * Tag update operations to be applied.org.finos.tracdap.metadata.TagUpdate.Builder* Tag update operations to be applied.org.finos.tracdap.metadata.TagUpdate.BuilderaddTagUpdatesBuilder(int index) * Tag update operations to be applied.build()clear()* The content of the dataset, encoded as per the "format" field.* Format that will be used for uploading data.* Prior object/tag version to use for update operations.* Specify the schema with an explicit schema definition.* Specify the schema using an external schema definition.* Tag update operations to be applied.* Tenant code for the requested operation, always required.com.google.protobuf.ByteString* The content of the dataset, encoded as per the "format" field.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor* Format that will be used for uploading data.com.google.protobuf.ByteString* Format that will be used for uploading data.org.finos.tracdap.metadata.TagSelector* Prior object/tag version to use for update operations.org.finos.tracdap.metadata.TagSelector.Builder* Prior object/tag version to use for update operations.org.finos.tracdap.metadata.TagSelectorOrBuilder* Prior object/tag version to use for update operations.org.finos.tracdap.metadata.SchemaDefinition* Specify the schema with an explicit schema definition.org.finos.tracdap.metadata.SchemaDefinition.Builder* Specify the schema with an explicit schema definition.org.finos.tracdap.metadata.TagSelector* Specify the schema using an external schema definition.org.finos.tracdap.metadata.TagSelector.Builder* Specify the schema using an external schema definition.org.finos.tracdap.metadata.TagSelectorOrBuilder* Specify the schema using an external schema definition.org.finos.tracdap.metadata.SchemaDefinitionOrBuilder* Specify the schema with an explicit schema definition.org.finos.tracdap.metadata.TagUpdategetTagUpdates(int index) * Tag update operations to be applied.org.finos.tracdap.metadata.TagUpdate.BuildergetTagUpdatesBuilder(int index) * Tag update operations to be applied.List<org.finos.tracdap.metadata.TagUpdate.Builder> * Tag update operations to be applied.int* Tag update operations to be applied.List<org.finos.tracdap.metadata.TagUpdate> * Tag update operations to be applied.org.finos.tracdap.metadata.TagUpdateOrBuildergetTagUpdatesOrBuilder(int index) * Tag update operations to be applied.List<? extends org.finos.tracdap.metadata.TagUpdateOrBuilder> * Tag update operations to be applied.* Tenant code for the requested operation, always required.com.google.protobuf.ByteString* Tenant code for the requested operation, always required.boolean* Prior object/tag version to use for update operations.boolean* Specify the schema with an explicit schema definition.boolean* Specify the schema using an external schema definition.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(DataWriteRequest other) mergePriorVersion(org.finos.tracdap.metadata.TagSelector value) * Prior object/tag version to use for update operations.mergeSchema(org.finos.tracdap.metadata.SchemaDefinition value) * Specify the schema with an explicit schema definition.mergeSchemaId(org.finos.tracdap.metadata.TagSelector value) * Specify the schema using an external schema definition.removeTagUpdates(int index) * Tag update operations to be applied.setContent(com.google.protobuf.ByteString value) * The content of the dataset, encoded as per the "format" field.* Format that will be used for uploading data.setFormatBytes(com.google.protobuf.ByteString value) * Format that will be used for uploading data.setPriorVersion(org.finos.tracdap.metadata.TagSelector value) * Prior object/tag version to use for update operations.setPriorVersion(org.finos.tracdap.metadata.TagSelector.Builder builderForValue) * Prior object/tag version to use for update operations.setSchema(org.finos.tracdap.metadata.SchemaDefinition value) * Specify the schema with an explicit schema definition.setSchema(org.finos.tracdap.metadata.SchemaDefinition.Builder builderForValue) * Specify the schema with an explicit schema definition.setSchemaId(org.finos.tracdap.metadata.TagSelector value) * Specify the schema using an external schema definition.setSchemaId(org.finos.tracdap.metadata.TagSelector.Builder builderForValue) * Specify the schema using an external schema definition.setTagUpdates(int index, org.finos.tracdap.metadata.TagUpdate value) * Tag update operations to be applied.setTagUpdates(int index, org.finos.tracdap.metadata.TagUpdate.Builder builderForValue) * Tag update operations to be applied.* Tenant code for the requested operation, always required.setTenantBytes(com.google.protobuf.ByteString value) * Tenant code for the requested operation, always required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataWriteRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataWriteRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataWriteRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataWriteRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataWriteRequest.Builder>- Throws:
IOException
-
getSchemaSpecifierCase
- Specified by:
getSchemaSpecifierCasein interfaceDataWriteRequestOrBuilder
-
clearSchemaSpecifier
-
getTenant
* Tenant code for the requested operation, always required.
string tenant = 1;- Specified by:
getTenantin interfaceDataWriteRequestOrBuilder- Returns:
- The tenant.
-
getTenantBytes
public com.google.protobuf.ByteString getTenantBytes()* Tenant code for the requested operation, always required.
string tenant = 1;- Specified by:
getTenantBytesin interfaceDataWriteRequestOrBuilder- Returns:
- The bytes for tenant.
-
setTenant
* Tenant code for the requested operation, always required.
string tenant = 1;- Parameters:
value- The tenant to set.- Returns:
- This builder for chaining.
-
clearTenant
* Tenant code for the requested operation, always required.
string tenant = 1;- Returns:
- This builder for chaining.
-
setTenantBytes
* 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:
hasPriorVersionin interfaceDataWriteRequestOrBuilder- 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:
getPriorVersionin interfaceDataWriteRequestOrBuilder- Returns:
- The priorVersion.
-
setPriorVersion
* 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
* 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
* 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:
getPriorVersionOrBuilderin interfaceDataWriteRequestOrBuilder
-
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:
getTagUpdatesListin interfaceDataWriteRequestOrBuilder
-
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:
getTagUpdatesCountin interfaceDataWriteRequestOrBuilder
-
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:
getTagUpdatesin interfaceDataWriteRequestOrBuilder
-
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
* 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
* 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
* 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:
getTagUpdatesOrBuilderin interfaceDataWriteRequestOrBuilder
-
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:
getTagUpdatesOrBuilderListin interfaceDataWriteRequestOrBuilder
-
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
* 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:
hasSchemaIdin interfaceDataWriteRequestOrBuilder- 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:
getSchemaIdin interfaceDataWriteRequestOrBuilder- Returns:
- The schemaId.
-
setSchemaId
* 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
* 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
* 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:
getSchemaIdOrBuilderin interfaceDataWriteRequestOrBuilder
-
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:
hasSchemain interfaceDataWriteRequestOrBuilder- 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:
getSchemain interfaceDataWriteRequestOrBuilder- Returns:
- The schema.
-
setSchema
* 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
* 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
* 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:
getSchemaOrBuilderin interfaceDataWriteRequestOrBuilder
-
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:
getFormatin interfaceDataWriteRequestOrBuilder- 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:
getFormatBytesin interfaceDataWriteRequestOrBuilder- Returns:
- The bytes for format.
-
setFormat
* 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
* 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
* 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:
getContentin interfaceDataWriteRequestOrBuilder- Returns:
- The content.
-
setContent
* 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
* 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.
-