Package org.finos.tracdap.api
Class DataWriteRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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,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 typetracdap.api.DataWriteRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataWriteRequest.BuilderaddAllTagUpdates(java.lang.Iterable<? extends org.finos.tracdap.metadata.TagUpdate> values)Tag update operations to be applied.DataWriteRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DataWriteRequest.BuilderaddTagUpdates(int index, org.finos.tracdap.metadata.TagUpdate value)Tag update operations to be applied.DataWriteRequest.BuilderaddTagUpdates(int index, org.finos.tracdap.metadata.TagUpdate.Builder builderForValue)Tag update operations to be applied.DataWriteRequest.BuilderaddTagUpdates(org.finos.tracdap.metadata.TagUpdate value)Tag update operations to be applied.DataWriteRequest.BuilderaddTagUpdates(org.finos.tracdap.metadata.TagUpdate.Builder builderForValue)Tag update operations to be applied.org.finos.tracdap.metadata.TagUpdate.BuilderaddTagUpdatesBuilder()Tag update operations to be applied.org.finos.tracdap.metadata.TagUpdate.BuilderaddTagUpdatesBuilder(int index)Tag update operations to be applied.DataWriteRequestbuild()DataWriteRequestbuildPartial()DataWriteRequest.Builderclear()DataWriteRequest.BuilderclearContent()The content of the dataset, encoded as per the "format" field.DataWriteRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DataWriteRequest.BuilderclearFormat()Format that will be used for uploading data.DataWriteRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DataWriteRequest.BuilderclearPriorVersion()Prior object/tag version to use for update operations.DataWriteRequest.BuilderclearSchema()Specify the schema with an explicit schema definition.DataWriteRequest.BuilderclearSchemaId()Specify the schema using an external schema definition.DataWriteRequest.BuilderclearSchemaSpecifier()DataWriteRequest.BuilderclearTagUpdates()Tag update operations to be applied.DataWriteRequest.BuilderclearTenant()Tenant code for the requested operation, always required.DataWriteRequest.Builderclone()com.google.protobuf.ByteStringgetContent()The content of the dataset, encoded as per the "format" field.DataWriteRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetFormat()Format that will be used for uploading data.com.google.protobuf.ByteStringgetFormatBytes()Format that will be used for uploading data.org.finos.tracdap.metadata.TagSelectorgetPriorVersion()Prior object/tag version to use for update operations.org.finos.tracdap.metadata.TagSelector.BuildergetPriorVersionBuilder()Prior object/tag version to use for update operations.org.finos.tracdap.metadata.TagSelectorOrBuildergetPriorVersionOrBuilder()Prior object/tag version to use for update operations.org.finos.tracdap.metadata.SchemaDefinitiongetSchema()Specify the schema with an explicit schema definition.org.finos.tracdap.metadata.SchemaDefinition.BuildergetSchemaBuilder()Specify the schema with an explicit schema definition.org.finos.tracdap.metadata.TagSelectorgetSchemaId()Specify the schema using an external schema definition.org.finos.tracdap.metadata.TagSelector.BuildergetSchemaIdBuilder()Specify the schema using an external schema definition.org.finos.tracdap.metadata.TagSelectorOrBuildergetSchemaIdOrBuilder()Specify the schema using an external schema definition.org.finos.tracdap.metadata.SchemaDefinitionOrBuildergetSchemaOrBuilder()Specify the schema with an explicit schema definition.DataWriteRequest.SchemaSpecifierCasegetSchemaSpecifierCase()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.java.util.List<org.finos.tracdap.metadata.TagUpdate.Builder>getTagUpdatesBuilderList()Tag update operations to be applied.intgetTagUpdatesCount()Tag update operations to be applied.java.util.List<org.finos.tracdap.metadata.TagUpdate>getTagUpdatesList()Tag update operations to be applied.org.finos.tracdap.metadata.TagUpdateOrBuildergetTagUpdatesOrBuilder(int index)Tag update operations to be applied.java.util.List<? extends org.finos.tracdap.metadata.TagUpdateOrBuilder>getTagUpdatesOrBuilderList()Tag update operations to be applied.java.lang.StringgetTenant()Tenant code for the requested operation, always required.com.google.protobuf.ByteStringgetTenantBytes()Tenant code for the requested operation, always required.booleanhasPriorVersion()Prior object/tag version to use for update operations.booleanhasSchema()Specify the schema with an explicit schema definition.booleanhasSchemaId()Specify the schema using an external schema definition.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DataWriteRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DataWriteRequest.BuildermergeFrom(com.google.protobuf.Message other)DataWriteRequest.BuildermergeFrom(DataWriteRequest other)DataWriteRequest.BuildermergePriorVersion(org.finos.tracdap.metadata.TagSelector value)Prior object/tag version to use for update operations.DataWriteRequest.BuildermergeSchema(org.finos.tracdap.metadata.SchemaDefinition value)Specify the schema with an explicit schema definition.DataWriteRequest.BuildermergeSchemaId(org.finos.tracdap.metadata.TagSelector value)Specify the schema using an external schema definition.DataWriteRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DataWriteRequest.BuilderremoveTagUpdates(int index)Tag update operations to be applied.DataWriteRequest.BuildersetContent(com.google.protobuf.ByteString value)The content of the dataset, encoded as per the "format" field.DataWriteRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DataWriteRequest.BuildersetFormat(java.lang.String value)Format that will be used for uploading data.DataWriteRequest.BuildersetFormatBytes(com.google.protobuf.ByteString value)Format that will be used for uploading data.DataWriteRequest.BuildersetPriorVersion(org.finos.tracdap.metadata.TagSelector value)Prior object/tag version to use for update operations.DataWriteRequest.BuildersetPriorVersion(org.finos.tracdap.metadata.TagSelector.Builder builderForValue)Prior object/tag version to use for update operations.DataWriteRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)DataWriteRequest.BuildersetSchema(org.finos.tracdap.metadata.SchemaDefinition value)Specify the schema with an explicit schema definition.DataWriteRequest.BuildersetSchema(org.finos.tracdap.metadata.SchemaDefinition.Builder builderForValue)Specify the schema with an explicit schema definition.DataWriteRequest.BuildersetSchemaId(org.finos.tracdap.metadata.TagSelector value)Specify the schema using an external schema definition.DataWriteRequest.BuildersetSchemaId(org.finos.tracdap.metadata.TagSelector.Builder builderForValue)Specify the schema using an external schema definition.DataWriteRequest.BuildersetTagUpdates(int index, org.finos.tracdap.metadata.TagUpdate value)Tag update operations to be applied.DataWriteRequest.BuildersetTagUpdates(int index, org.finos.tracdap.metadata.TagUpdate.Builder builderForValue)Tag update operations to be applied.DataWriteRequest.BuildersetTenant(java.lang.String value)Tenant code for the requested operation, always required.DataWriteRequest.BuildersetTenantBytes(com.google.protobuf.ByteString value)Tenant code for the requested operation, always required.DataWriteRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
-
clear
public DataWriteRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
-
getDefaultInstanceForType
public DataWriteRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataWriteRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataWriteRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataWriteRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
-
setField
public DataWriteRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
-
clearField
public DataWriteRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
-
clearOneof
public DataWriteRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
-
addRepeatedField
public DataWriteRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
-
mergeFrom
public DataWriteRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataWriteRequest.Builder>
-
mergeFrom
public DataWriteRequest.Builder mergeFrom(DataWriteRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataWriteRequest.Builder>- Throws:
java.io.IOException
-
getSchemaSpecifierCase
public DataWriteRequest.SchemaSpecifierCase getSchemaSpecifierCase()
- Specified by:
getSchemaSpecifierCasein interfaceDataWriteRequestOrBuilder
-
clearSchemaSpecifier
public DataWriteRequest.Builder clearSchemaSpecifier()
-
getTenant
public java.lang.String 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
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:
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
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:
getPriorVersionOrBuilderin interfaceDataWriteRequestOrBuilder
-
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:
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
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:
getTagUpdatesOrBuilderin interfaceDataWriteRequestOrBuilder
-
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:
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
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:
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
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:
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
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:
getSchemaOrBuilderin interfaceDataWriteRequestOrBuilder
-
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:
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
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:
getContentin interfaceDataWriteRequestOrBuilder- 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
-
mergeUnknownFields
public final DataWriteRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataWriteRequest.Builder>
-
-