Package com.google.cloud.aiplatform.v1
Interface ImportDataConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImportDataConfig,ImportDataConfig.Builder
@Generated
public interface ImportDataConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanLabels that will be applied to newly imported Annotations.booleanLabels that will be applied to newly imported DataItems.Deprecated.intLabels that will be applied to newly imported Annotations.Labels that will be applied to newly imported Annotations.getAnnotationLabelsOrDefault(String key, String defaultValue) Labels that will be applied to newly imported Annotations.Labels that will be applied to newly imported Annotations.Deprecated.intLabels that will be applied to newly imported DataItems.Labels that will be applied to newly imported DataItems.getDataItemLabelsOrDefault(String key, String defaultValue) Labels that will be applied to newly imported DataItems.Labels that will be applied to newly imported DataItems.The Google Cloud Storage location for the input content.The Google Cloud Storage location for the input content.Required.com.google.protobuf.ByteStringRequired.booleanThe Google Cloud Storage location for the input content.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasGcsSource
boolean hasGcsSource()The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;- Returns:
- Whether the gcsSource field is set.
-
getGcsSource
GcsSource getGcsSource()The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;- Returns:
- The gcsSource.
-
getGcsSourceOrBuilder
GcsSourceOrBuilder getGcsSourceOrBuilder()The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1; -
getDataItemLabelsCount
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][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], e.g. jsonl file.
map<string, string> data_item_labels = 2; -
containsDataItemLabels
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; -
getDataItemLabels
Deprecated.UsegetDataItemLabelsMap()instead. -
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; -
getDataItemLabelsOrDefault
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; -
getDataItemLabelsOrThrow
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
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][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; -
containsAnnotationLabels
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; -
getAnnotationLabels
Deprecated.UsegetAnnotationLabelsMap()instead. -
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; -
getAnnotationLabelsOrDefault
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; -
getAnnotationLabelsOrThrow
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
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];- Returns:
- The importSchemaUri.
-
getImportSchemaUriBytes
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];- Returns:
- The bytes for importSchemaUri.
-
getSourceCase
ImportDataConfig.SourceCase getSourceCase()
-