Interface ImportDataConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ImportDataConfig, ImportDataConfig.Builder

    public interface ImportDataConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasGcsSource

        boolean hasGcsSource()
         The Google Cloud Storage location for the input content.
         
        .google.cloud.aiplatform.v1beta1.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.v1beta1.GcsSource gcs_source = 1;
        Returns:
        The gcsSource.
      • getGcsSourceOrBuilder

        GcsSourceOrBuilder getGcsSourceOrBuilder()
         The Google Cloud Storage location for the input content.
         
        .google.cloud.aiplatform.v1beta1.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.v1beta1.ImportDataConfig.import_schema_uri],
         e.g. jsonl file.
         
        map<string, string> data_item_labels = 2;
      • containsDataItemLabels

        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;
      • getDataItemLabelsMap

        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;
      • getDataItemLabelsOrDefault

        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;
      • getDataItemLabelsOrThrow

        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;
      • 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.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;
      • containsAnnotationLabels

        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;
      • getAnnotationLabelsMap

        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;
      • getAnnotationLabelsOrDefault

        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;
      • getAnnotationLabelsOrThrow

        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;
      • 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.