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.v1beta1.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.v1beta1.ImportDataConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ImportDataConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ImportDataConfig
build()
ImportDataConfig
buildPartial()
ImportDataConfig.Builder
clear()
ImportDataConfig.Builder
clearAnnotationLabels()
ImportDataConfig.Builder
clearDataItemLabels()
ImportDataConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ImportDataConfig.Builder
clearGcsSource()
The Google Cloud Storage location for the input content.ImportDataConfig.Builder
clearImportSchemaUri()
Required.ImportDataConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ImportDataConfig.Builder
clearSource()
ImportDataConfig.Builder
clone()
boolean
containsAnnotationLabels(String key)
Labels that will be applied to newly imported Annotations.boolean
containsDataItemLabels(String key)
Labels that will be applied to newly imported DataItems.Map<String,String>
getAnnotationLabels()
Deprecated.int
getAnnotationLabelsCount()
Labels that will be applied to newly imported Annotations.Map<String,String>
getAnnotationLabelsMap()
Labels that will be applied to newly imported Annotations.String
getAnnotationLabelsOrDefault(String key, String defaultValue)
Labels that will be applied to newly imported Annotations.String
getAnnotationLabelsOrThrow(String key)
Labels that will be applied to newly imported Annotations.Map<String,String>
getDataItemLabels()
Deprecated.int
getDataItemLabelsCount()
Labels that will be applied to newly imported DataItems.Map<String,String>
getDataItemLabelsMap()
Labels that will be applied to newly imported DataItems.String
getDataItemLabelsOrDefault(String key, String defaultValue)
Labels that will be applied to newly imported DataItems.String
getDataItemLabelsOrThrow(String key)
Labels that will be applied to newly imported DataItems.ImportDataConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
GcsSource
getGcsSource()
The Google Cloud Storage location for the input content.GcsSource.Builder
getGcsSourceBuilder()
The Google Cloud Storage location for the input content.GcsSourceOrBuilder
getGcsSourceOrBuilder()
The Google Cloud Storage location for the input content.String
getImportSchemaUri()
Required.com.google.protobuf.ByteString
getImportSchemaUriBytes()
Required.Map<String,String>
getMutableAnnotationLabels()
Deprecated.Map<String,String>
getMutableDataItemLabels()
Deprecated.ImportDataConfig.SourceCase
getSourceCase()
boolean
hasGcsSource()
The Google Cloud Storage location for the input content.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
ImportDataConfig.Builder
mergeFrom(ImportDataConfig other)
ImportDataConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ImportDataConfig.Builder
mergeFrom(com.google.protobuf.Message other)
ImportDataConfig.Builder
mergeGcsSource(GcsSource value)
The Google Cloud Storage location for the input content.ImportDataConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ImportDataConfig.Builder
putAllAnnotationLabels(Map<String,String> values)
Labels that will be applied to newly imported Annotations.ImportDataConfig.Builder
putAllDataItemLabels(Map<String,String> values)
Labels that will be applied to newly imported DataItems.ImportDataConfig.Builder
putAnnotationLabels(String key, String value)
Labels that will be applied to newly imported Annotations.ImportDataConfig.Builder
putDataItemLabels(String key, String value)
Labels that will be applied to newly imported DataItems.ImportDataConfig.Builder
removeAnnotationLabels(String key)
Labels that will be applied to newly imported Annotations.ImportDataConfig.Builder
removeDataItemLabels(String key)
Labels that will be applied to newly imported DataItems.ImportDataConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ImportDataConfig.Builder
setGcsSource(GcsSource value)
The Google Cloud Storage location for the input content.ImportDataConfig.Builder
setGcsSource(GcsSource.Builder builderForValue)
The Google Cloud Storage location for the input content.ImportDataConfig.Builder
setImportSchemaUri(String value)
Required.ImportDataConfig.Builder
setImportSchemaUriBytes(com.google.protobuf.ByteString value)
Required.ImportDataConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ImportDataConfig.Builder
setUnknownFields(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
clear
public ImportDataConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
getDefaultInstanceForType
public ImportDataConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ImportDataConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ImportDataConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ImportDataConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
setField
public ImportDataConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
clearField
public ImportDataConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
clearOneof
public ImportDataConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
setRepeatedField
public ImportDataConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
addRepeatedField
public ImportDataConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
mergeFrom
public ImportDataConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ImportDataConfig.Builder>
-
mergeFrom
public ImportDataConfig.Builder mergeFrom(ImportDataConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ImportDataConfig.Builder>
- Throws:
IOException
-
getSourceCase
public ImportDataConfig.SourceCase getSourceCase()
- Specified by:
getSourceCase
in interfaceImportDataConfigOrBuilder
-
clearSource
public ImportDataConfig.Builder clearSource()
-
hasGcsSource
public boolean hasGcsSource()
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
- Specified by:
hasGcsSource
in interfaceImportDataConfigOrBuilder
- Returns:
- Whether the gcsSource field is set.
-
getGcsSource
public GcsSource getGcsSource()
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
- Specified by:
getGcsSource
in interfaceImportDataConfigOrBuilder
- Returns:
- The gcsSource.
-
setGcsSource
public ImportDataConfig.Builder setGcsSource(GcsSource value)
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
-
setGcsSource
public ImportDataConfig.Builder setGcsSource(GcsSource.Builder builderForValue)
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
-
mergeGcsSource
public ImportDataConfig.Builder mergeGcsSource(GcsSource value)
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
-
clearGcsSource
public ImportDataConfig.Builder clearGcsSource()
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
-
getGcsSourceBuilder
public GcsSource.Builder getGcsSourceBuilder()
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
-
getGcsSourceOrBuilder
public GcsSourceOrBuilder getGcsSourceOrBuilder()
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;
- Specified by:
getGcsSourceOrBuilder
in interfaceImportDataConfigOrBuilder
-
getDataItemLabelsCount
public int getDataItemLabelsCount()
Description copied from interface:ImportDataConfigOrBuilder
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.v1beta1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;
- Specified by:
getDataItemLabelsCount
in 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.v1beta1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;
- Specified by:
containsDataItemLabels
in interfaceImportDataConfigOrBuilder
-
getDataItemLabels
@Deprecated public Map<String,String> getDataItemLabels()
Deprecated.UsegetDataItemLabelsMap()
instead.- Specified by:
getDataItemLabels
in 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.v1beta1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;
- Specified by:
getDataItemLabelsMap
in 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.v1beta1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;
- Specified by:
getDataItemLabelsOrDefault
in 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.v1beta1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;
- Specified by:
getDataItemLabelsOrThrow
in 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.v1beta1.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.v1beta1.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.v1beta1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2;
-
getAnnotationLabelsCount
public int getAnnotationLabelsCount()
Description copied from interface:ImportDataConfigOrBuilder
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.v1beta1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1beta1.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.v1beta1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> annotation_labels = 3;
- Specified by:
getAnnotationLabelsCount
in 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.v1beta1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1beta1.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.v1beta1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> annotation_labels = 3;
- Specified by:
containsAnnotationLabels
in interfaceImportDataConfigOrBuilder
-
getAnnotationLabels
@Deprecated public Map<String,String> getAnnotationLabels()
Deprecated.UsegetAnnotationLabelsMap()
instead.- Specified by:
getAnnotationLabels
in 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.v1beta1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1beta1.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.v1beta1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> annotation_labels = 3;
- Specified by:
getAnnotationLabelsMap
in 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.v1beta1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1beta1.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.v1beta1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> annotation_labels = 3;
- Specified by:
getAnnotationLabelsOrDefault
in 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.v1beta1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1beta1.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.v1beta1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> annotation_labels = 3;
- Specified by:
getAnnotationLabelsOrThrow
in 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.v1beta1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1beta1.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.v1beta1.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.v1beta1.Annotation.payload], [payload_schema_uri][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] and all of their [labels][google.cloud.aiplatform.v1beta1.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.v1beta1.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:
getImportSchemaUri
in 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:
getImportSchemaUriBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
mergeUnknownFields
public final ImportDataConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ImportDataConfig.Builder>
-
-