Package com.google.cloud.aiplatform.v1
Class ImportDataConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
- com.google.cloud.aiplatform.v1.ImportDataConfig.Builder
-
- All Implemented Interfaces:
ImportDataConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportDataConfig
public static final class ImportDataConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder> implements ImportDataConfigOrBuilder
Describes the location from where we import data into a Dataset, together with the labels that will be applied to the DataItems and the Annotations.
Protobuf typegoogle.cloud.aiplatform.v1.ImportDataConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ImportDataConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ImportDataConfigbuild()ImportDataConfigbuildPartial()ImportDataConfig.Builderclear()ImportDataConfig.BuilderclearAnnotationLabels()ImportDataConfig.BuilderclearDataItemLabels()ImportDataConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ImportDataConfig.BuilderclearGcsSource()The Google Cloud Storage location for the input content.ImportDataConfig.BuilderclearImportSchemaUri()Required.ImportDataConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ImportDataConfig.BuilderclearSource()ImportDataConfig.Builderclone()booleancontainsAnnotationLabels(String key)Labels that will be applied to newly imported Annotations.booleancontainsDataItemLabels(String key)Labels that will be applied to newly imported DataItems.Map<String,String>getAnnotationLabels()Deprecated.intgetAnnotationLabelsCount()Labels that will be applied to newly imported Annotations.Map<String,String>getAnnotationLabelsMap()Labels that will be applied to newly imported Annotations.StringgetAnnotationLabelsOrDefault(String key, String defaultValue)Labels that will be applied to newly imported Annotations.StringgetAnnotationLabelsOrThrow(String key)Labels that will be applied to newly imported Annotations.Map<String,String>getDataItemLabels()Deprecated.intgetDataItemLabelsCount()Labels that will be applied to newly imported DataItems.Map<String,String>getDataItemLabelsMap()Labels that will be applied to newly imported DataItems.StringgetDataItemLabelsOrDefault(String key, String defaultValue)Labels that will be applied to newly imported DataItems.StringgetDataItemLabelsOrThrow(String key)Labels that will be applied to newly imported DataItems.ImportDataConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()GcsSourcegetGcsSource()The Google Cloud Storage location for the input content.GcsSource.BuildergetGcsSourceBuilder()The Google Cloud Storage location for the input content.GcsSourceOrBuildergetGcsSourceOrBuilder()The Google Cloud Storage location for the input content.StringgetImportSchemaUri()Required.com.google.protobuf.ByteStringgetImportSchemaUriBytes()Required.Map<String,String>getMutableAnnotationLabels()Deprecated.Map<String,String>getMutableDataItemLabels()Deprecated.ImportDataConfig.SourceCasegetSourceCase()booleanhasGcsSource()The Google Cloud Storage location for the input content.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()ImportDataConfig.BuildermergeFrom(ImportDataConfig other)ImportDataConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ImportDataConfig.BuildermergeFrom(com.google.protobuf.Message other)ImportDataConfig.BuildermergeGcsSource(GcsSource value)The Google Cloud Storage location for the input content.ImportDataConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ImportDataConfig.BuilderputAllAnnotationLabels(Map<String,String> values)Labels that will be applied to newly imported Annotations.ImportDataConfig.BuilderputAllDataItemLabels(Map<String,String> values)Labels that will be applied to newly imported DataItems.ImportDataConfig.BuilderputAnnotationLabels(String key, String value)Labels that will be applied to newly imported Annotations.ImportDataConfig.BuilderputDataItemLabels(String key, String value)Labels that will be applied to newly imported DataItems.ImportDataConfig.BuilderremoveAnnotationLabels(String key)Labels that will be applied to newly imported Annotations.ImportDataConfig.BuilderremoveDataItemLabels(String key)Labels that will be applied to newly imported DataItems.ImportDataConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ImportDataConfig.BuildersetGcsSource(GcsSource value)The Google Cloud Storage location for the input content.ImportDataConfig.BuildersetGcsSource(GcsSource.Builder builderForValue)The Google Cloud Storage location for the input content.ImportDataConfig.BuildersetImportSchemaUri(String value)Required.ImportDataConfig.BuildersetImportSchemaUriBytes(com.google.protobuf.ByteString value)Required.ImportDataConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ImportDataConfig.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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
clear
public ImportDataConfig.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<ImportDataConfig.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<ImportDataConfig.Builder>
-
getDefaultInstanceForType
public ImportDataConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ImportDataConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ImportDataConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ImportDataConfig.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<ImportDataConfig.Builder>
-
setField
public ImportDataConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
clearField
public ImportDataConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
clearOneof
public ImportDataConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
setRepeatedField
public ImportDataConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
addRepeatedField
public ImportDataConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
mergeFrom
public ImportDataConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportDataConfig.Builder>
-
mergeFrom
public ImportDataConfig.Builder mergeFrom(ImportDataConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
mergeFrom
public ImportDataConfig.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<ImportDataConfig.Builder>- Throws:
IOException
-
getSourceCase
public ImportDataConfig.SourceCase getSourceCase()
- Specified by:
getSourceCasein interfaceImportDataConfigOrBuilder
-
clearSource
public ImportDataConfig.Builder clearSource()
-
hasGcsSource
public boolean hasGcsSource()
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;- Specified by:
hasGcsSourcein interfaceImportDataConfigOrBuilder- Returns:
- Whether the gcsSource field is set.
-
getGcsSource
public GcsSource getGcsSource()
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;- Specified by:
getGcsSourcein interfaceImportDataConfigOrBuilder- Returns:
- The gcsSource.
-
setGcsSource
public ImportDataConfig.Builder setGcsSource(GcsSource value)
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;
-
setGcsSource
public ImportDataConfig.Builder setGcsSource(GcsSource.Builder builderForValue)
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;
-
mergeGcsSource
public ImportDataConfig.Builder mergeGcsSource(GcsSource value)
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;
-
clearGcsSource
public ImportDataConfig.Builder clearGcsSource()
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;
-
getGcsSourceBuilder
public GcsSource.Builder getGcsSourceBuilder()
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;
-
getGcsSourceOrBuilder
public GcsSourceOrBuilder getGcsSourceOrBuilder()
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;- Specified by:
getGcsSourceOrBuilderin interfaceImportDataConfigOrBuilder
-
getDataItemLabelsCount
public int getDataItemLabelsCount()
Description copied from interface:ImportDataConfigOrBuilderLabels that will be applied to newly imported DataItems. If an identical DataItem as one being imported already exists in the Dataset, then these labels will be appended to these of the already existing one, and if labels with identical key is imported before, the old label value will be overwritten. If two DataItems are identical in the same import data operation, the labels will be combined and if key collision happens in this case, one of the values will be picked randomly. Two DataItems are considered identical if their content bytes are identical (e.g. image bytes or pdf bytes). These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;- Specified by:
getDataItemLabelsCountin interfaceImportDataConfigOrBuilder
-
containsDataItemLabels
public boolean containsDataItemLabels(String key)
Labels that will be applied to newly imported DataItems. If an identical DataItem as one being imported already exists in the Dataset, then these labels will be appended to these of the already existing one, and if labels with identical key is imported before, the old label value will be overwritten. If two DataItems are identical in the same import data operation, the labels will be combined and if key collision happens in this case, one of the values will be picked randomly. Two DataItems are considered identical if their content bytes are identical (e.g. image bytes or pdf bytes). These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;- Specified by:
containsDataItemLabelsin interfaceImportDataConfigOrBuilder
-
getDataItemLabels
@Deprecated public Map<String,String> getDataItemLabels()
Deprecated.UsegetDataItemLabelsMap()instead.- Specified by:
getDataItemLabelsin interfaceImportDataConfigOrBuilder
-
getDataItemLabelsMap
public Map<String,String> getDataItemLabelsMap()
Labels that will be applied to newly imported DataItems. If an identical DataItem as one being imported already exists in the Dataset, then these labels will be appended to these of the already existing one, and if labels with identical key is imported before, the old label value will be overwritten. If two DataItems are identical in the same import data operation, the labels will be combined and if key collision happens in this case, one of the values will be picked randomly. Two DataItems are considered identical if their content bytes are identical (e.g. image bytes or pdf bytes). These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;- Specified by:
getDataItemLabelsMapin interfaceImportDataConfigOrBuilder
-
getDataItemLabelsOrDefault
public String getDataItemLabelsOrDefault(String key, String defaultValue)
Labels that will be applied to newly imported DataItems. If an identical DataItem as one being imported already exists in the Dataset, then these labels will be appended to these of the already existing one, and if labels with identical key is imported before, the old label value will be overwritten. If two DataItems are identical in the same import data operation, the labels will be combined and if key collision happens in this case, one of the values will be picked randomly. Two DataItems are considered identical if their content bytes are identical (e.g. image bytes or pdf bytes). These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;- Specified by:
getDataItemLabelsOrDefaultin interfaceImportDataConfigOrBuilder
-
getDataItemLabelsOrThrow
public String getDataItemLabelsOrThrow(String key)
Labels that will be applied to newly imported DataItems. If an identical DataItem as one being imported already exists in the Dataset, then these labels will be appended to these of the already existing one, and if labels with identical key is imported before, the old label value will be overwritten. If two DataItems are identical in the same import data operation, the labels will be combined and if key collision happens in this case, one of the values will be picked randomly. Two DataItems are considered identical if their content bytes are identical (e.g. image bytes or pdf bytes). These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;- Specified by:
getDataItemLabelsOrThrowin interfaceImportDataConfigOrBuilder
-
clearDataItemLabels
public ImportDataConfig.Builder clearDataItemLabels()
-
removeDataItemLabels
public ImportDataConfig.Builder removeDataItemLabels(String key)
Labels that will be applied to newly imported DataItems. If an identical DataItem as one being imported already exists in the Dataset, then these labels will be appended to these of the already existing one, and if labels with identical key is imported before, the old label value will be overwritten. If two DataItems are identical in the same import data operation, the labels will be combined and if key collision happens in this case, one of the values will be picked randomly. Two DataItems are considered identical if their content bytes are identical (e.g. image bytes or pdf bytes). These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;
-
getMutableDataItemLabels
@Deprecated public Map<String,String> getMutableDataItemLabels()
Deprecated.Use alternate mutation accessors instead.
-
putDataItemLabels
public ImportDataConfig.Builder putDataItemLabels(String key, String value)
Labels that will be applied to newly imported DataItems. If an identical DataItem as one being imported already exists in the Dataset, then these labels will be appended to these of the already existing one, and if labels with identical key is imported before, the old label value will be overwritten. If two DataItems are identical in the same import data operation, the labels will be combined and if key collision happens in this case, one of the values will be picked randomly. Two DataItems are considered identical if their content bytes are identical (e.g. image bytes or pdf bytes). These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;
-
putAllDataItemLabels
public ImportDataConfig.Builder putAllDataItemLabels(Map<String,String> values)
Labels that will be applied to newly imported DataItems. If an identical DataItem as one being imported already exists in the Dataset, then these labels will be appended to these of the already existing one, and if labels with identical key is imported before, the old label value will be overwritten. If two DataItems are identical in the same import data operation, the labels will be combined and if key collision happens in this case, one of the values will be picked randomly. Two DataItems are considered identical if their content bytes are identical (e.g. image bytes or pdf bytes). These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;
-
getAnnotationLabelsCount
public int getAnnotationLabelsCount()
Description copied from interface:ImportDataConfigOrBuilderLabels that will be applied to newly imported Annotations. If two Annotations are identical, one of them will be deduped. Two Annotations are considered identical if their [payload][google.cloud.aiplatform.v1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1.Annotation.labels] are the same. These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> annotation_labels = 3;- Specified by:
getAnnotationLabelsCountin interfaceImportDataConfigOrBuilder
-
containsAnnotationLabels
public boolean containsAnnotationLabels(String key)
Labels that will be applied to newly imported Annotations. If two Annotations are identical, one of them will be deduped. Two Annotations are considered identical if their [payload][google.cloud.aiplatform.v1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1.Annotation.labels] are the same. These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> annotation_labels = 3;- Specified by:
containsAnnotationLabelsin interfaceImportDataConfigOrBuilder
-
getAnnotationLabels
@Deprecated public Map<String,String> getAnnotationLabels()
Deprecated.UsegetAnnotationLabelsMap()instead.- Specified by:
getAnnotationLabelsin interfaceImportDataConfigOrBuilder
-
getAnnotationLabelsMap
public Map<String,String> getAnnotationLabelsMap()
Labels that will be applied to newly imported Annotations. If two Annotations are identical, one of them will be deduped. Two Annotations are considered identical if their [payload][google.cloud.aiplatform.v1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1.Annotation.labels] are the same. These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> annotation_labels = 3;- Specified by:
getAnnotationLabelsMapin interfaceImportDataConfigOrBuilder
-
getAnnotationLabelsOrDefault
public String getAnnotationLabelsOrDefault(String key, String defaultValue)
Labels that will be applied to newly imported Annotations. If two Annotations are identical, one of them will be deduped. Two Annotations are considered identical if their [payload][google.cloud.aiplatform.v1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1.Annotation.labels] are the same. These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> annotation_labels = 3;- Specified by:
getAnnotationLabelsOrDefaultin interfaceImportDataConfigOrBuilder
-
getAnnotationLabelsOrThrow
public String getAnnotationLabelsOrThrow(String key)
Labels that will be applied to newly imported Annotations. If two Annotations are identical, one of them will be deduped. Two Annotations are considered identical if their [payload][google.cloud.aiplatform.v1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1.Annotation.labels] are the same. These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> annotation_labels = 3;- Specified by:
getAnnotationLabelsOrThrowin interfaceImportDataConfigOrBuilder
-
clearAnnotationLabels
public ImportDataConfig.Builder clearAnnotationLabels()
-
removeAnnotationLabels
public ImportDataConfig.Builder removeAnnotationLabels(String key)
Labels that will be applied to newly imported Annotations. If two Annotations are identical, one of them will be deduped. Two Annotations are considered identical if their [payload][google.cloud.aiplatform.v1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1.Annotation.labels] are the same. These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> annotation_labels = 3;
-
getMutableAnnotationLabels
@Deprecated public Map<String,String> getMutableAnnotationLabels()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotationLabels
public ImportDataConfig.Builder putAnnotationLabels(String key, String value)
Labels that will be applied to newly imported Annotations. If two Annotations are identical, one of them will be deduped. Two Annotations are considered identical if their [payload][google.cloud.aiplatform.v1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1.Annotation.labels] are the same. These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> annotation_labels = 3;
-
putAllAnnotationLabels
public ImportDataConfig.Builder putAllAnnotationLabels(Map<String,String> values)
Labels that will be applied to newly imported Annotations. If two Annotations are identical, one of them will be deduped. Two Annotations are considered identical if their [payload][google.cloud.aiplatform.v1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1.Annotation.labels] are the same. These labels will be overridden by Annotation labels specified inside index file referenced by [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> annotation_labels = 3;
-
getImportSchemaUri
public String getImportSchemaUri()
Required. Points to a YAML file stored on Google Cloud Storage describing the import format. Validation will be done against the schema. The schema is defined as an [OpenAPI 3.0.2 Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
string import_schema_uri = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getImportSchemaUriin interfaceImportDataConfigOrBuilder- Returns:
- The importSchemaUri.
-
getImportSchemaUriBytes
public com.google.protobuf.ByteString getImportSchemaUriBytes()
Required. Points to a YAML file stored on Google Cloud Storage describing the import format. Validation will be done against the schema. The schema is defined as an [OpenAPI 3.0.2 Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
string import_schema_uri = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getImportSchemaUriBytesin interfaceImportDataConfigOrBuilder- Returns:
- The bytes for importSchemaUri.
-
setImportSchemaUri
public ImportDataConfig.Builder setImportSchemaUri(String value)
Required. Points to a YAML file stored on Google Cloud Storage describing the import format. Validation will be done against the schema. The schema is defined as an [OpenAPI 3.0.2 Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
string import_schema_uri = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The importSchemaUri to set.- Returns:
- This builder for chaining.
-
clearImportSchemaUri
public ImportDataConfig.Builder clearImportSchemaUri()
Required. Points to a YAML file stored on Google Cloud Storage describing the import format. Validation will be done against the schema. The schema is defined as an [OpenAPI 3.0.2 Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
string import_schema_uri = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setImportSchemaUriBytes
public ImportDataConfig.Builder setImportSchemaUriBytes(com.google.protobuf.ByteString value)
Required. Points to a YAML file stored on Google Cloud Storage describing the import format. Validation will be done against the schema. The schema is defined as an [OpenAPI 3.0.2 Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
string import_schema_uri = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for importSchemaUri to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ImportDataConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
mergeUnknownFields
public final ImportDataConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
-