- 3.84.0 (latest)
- 3.83.0
- 3.82.0
- 3.81.0
- 3.79.0
- 3.77.0
- 3.76.0
- 3.75.0
- 3.74.0
- 3.73.0
- 3.71.0
- 3.69.0
- 3.68.0
- 3.65.0
- 3.64.0
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class ImportDataConfig.Builder extends GeneratedMessage.Builder<ImportDataConfig.Builder> implements ImportDataConfigOrBuilderDescribes 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 type google.cloud.aiplatform.v1.ImportDataConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportDataConfig.BuilderImplements
ImportDataConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ImportDataConfig build()| Returns | |
|---|---|
| Type | Description |
ImportDataConfig |
|
buildPartial()
public ImportDataConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportDataConfig |
|
clear()
public ImportDataConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
clearAnnotationLabels()
public ImportDataConfig.Builder clearAnnotationLabels()| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
clearDataItemLabels()
public ImportDataConfig.Builder clearDataItemLabels()| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
clearGcsSource()
public ImportDataConfig.Builder clearGcsSource()The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
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.
string import_schema_uri = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
This builder for chaining. |
clearSource()
public ImportDataConfig.Builder clearSource()| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
containsAnnotationLabels(String key)
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, payload_schema_uri and all of their labels are the same. These labels will be overridden by Annotation labels specified inside index file referenced by import_schema_uri, e.g. jsonl file.
map<string, string> annotation_labels = 3;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsDataItemLabels(String key)
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, e.g. jsonl file.
map<string, string> data_item_labels = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAnnotationLabels() (deprecated)
public Map<String,String> getAnnotationLabels()Use #getAnnotationLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getAnnotationLabelsCount()
public int getAnnotationLabelsCount()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, payload_schema_uri and all of their labels are the same. These labels will be overridden by Annotation labels specified inside index file referenced by import_schema_uri, e.g. jsonl file.
map<string, string> annotation_labels = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
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, payload_schema_uri and all of their labels are the same. These labels will be overridden by Annotation labels specified inside index file referenced by import_schema_uri, e.g. jsonl file.
map<string, string> annotation_labels = 3;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getAnnotationLabelsOrDefault(String key, String defaultValue)
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, payload_schema_uri and all of their labels are the same. These labels will be overridden by Annotation labels specified inside index file referenced by import_schema_uri, e.g. jsonl file.
map<string, string> annotation_labels = 3;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getAnnotationLabelsOrThrow(String key)
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, payload_schema_uri and all of their labels are the same. These labels will be overridden by Annotation labels specified inside index file referenced by import_schema_uri, e.g. jsonl file.
map<string, string> annotation_labels = 3;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getDataItemLabels() (deprecated)
public Map<String,String> getDataItemLabels()Use #getDataItemLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getDataItemLabelsCount()
public int getDataItemLabelsCount()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, e.g. jsonl file.
map<string, string> data_item_labels = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
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, e.g. jsonl file.
map<string, string> data_item_labels = 2;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getDataItemLabelsOrDefault(String key, String defaultValue)
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, e.g. jsonl file.
map<string, string> data_item_labels = 2;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getDataItemLabelsOrThrow(String key)
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, e.g. jsonl file.
map<string, string> data_item_labels = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getDefaultInstanceForType()
public ImportDataConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportDataConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGcsSource()
public GcsSource getGcsSource()The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;
| Returns | |
|---|---|
| Type | Description |
GcsSource |
The gcsSource. |
getGcsSourceBuilder()
public GcsSource.Builder getGcsSourceBuilder()The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;
| Returns | |
|---|---|
| Type | Description |
GcsSource.Builder |
|
getGcsSourceOrBuilder()
public GcsSourceOrBuilder getGcsSourceOrBuilder()The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;
| Returns | |
|---|---|
| Type | Description |
GcsSourceOrBuilder |
|
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.
string import_schema_uri = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The importSchemaUri. |
getImportSchemaUriBytes()
public 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.
string import_schema_uri = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for importSchemaUri. |
getMutableAnnotationLabels() (deprecated)
public Map<String,String> getMutableAnnotationLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMutableDataItemLabels() (deprecated)
public Map<String,String> getMutableDataItemLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getSourceCase()
public ImportDataConfig.SourceCase getSourceCase()| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.SourceCase |
|
hasGcsSource()
public boolean hasGcsSource()The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gcsSource field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImportDataConfig other)
public ImportDataConfig.Builder mergeFrom(ImportDataConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportDataConfig |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportDataConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportDataConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
mergeGcsSource(GcsSource value)
public ImportDataConfig.Builder mergeGcsSource(GcsSource value)The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
GcsSource |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
putAllAnnotationLabels(Map<String,String> values)
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, payload_schema_uri and all of their labels are the same. These labels will be overridden by Annotation labels specified inside index file referenced by import_schema_uri, e.g. jsonl file.
map<string, string> annotation_labels = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
putAllDataItemLabels(Map<String,String> values)
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, e.g. jsonl file.
map<string, string> data_item_labels = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
putAnnotationLabels(String key, String value)
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, payload_schema_uri and all of their labels are the same. These labels will be overridden by Annotation labels specified inside index file referenced by import_schema_uri, e.g. jsonl file.
map<string, string> annotation_labels = 3;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
putDataItemLabels(String key, String value)
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, e.g. jsonl file.
map<string, string> data_item_labels = 2;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
removeAnnotationLabels(String key)
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, payload_schema_uri and all of their labels are the same. These labels will be overridden by Annotation labels specified inside index file referenced by import_schema_uri, e.g. jsonl file.
map<string, string> annotation_labels = 3;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
removeDataItemLabels(String key)
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, e.g. jsonl file.
map<string, string> data_item_labels = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
setGcsSource(GcsSource value)
public ImportDataConfig.Builder setGcsSource(GcsSource value)The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
GcsSource |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
setGcsSource(GcsSource.Builder builderForValue)
public ImportDataConfig.Builder setGcsSource(GcsSource.Builder builderForValue)The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GcsSource.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
|
setImportSchemaUri(String value)
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.
string import_schema_uri = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe importSchemaUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
This builder for chaining. |
setImportSchemaUriBytes(ByteString value)
public ImportDataConfig.Builder setImportSchemaUriBytes(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.
string import_schema_uri = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for importSchemaUri to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataConfig.Builder |
This builder for chaining. |