public final class ImportDataConfig extends com.google.protobuf.GeneratedMessageV3 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 type
google.cloud.aiplatform.v1.ImportDataConfig| Modifier and Type | Class and Description |
|---|---|
static class |
ImportDataConfig.Builder
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.
|
static class |
ImportDataConfig.SourceCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANNOTATION_LABELS_FIELD_NUMBER |
static int |
DATA_ITEM_LABELS_FIELD_NUMBER |
static int |
GCS_SOURCE_FIELD_NUMBER |
static int |
IMPORT_SCHEMA_URI_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean |
equals(Object obj) |
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.
|
static ImportDataConfig |
getDefaultInstance() |
ImportDataConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
GcsSource |
getGcsSource()
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.
|
com.google.protobuf.Parser<ImportDataConfig> |
getParserForType() |
int |
getSerializedSize() |
ImportDataConfig.SourceCase |
getSourceCase() |
boolean |
hasGcsSource()
The Google Cloud Storage location for the input content.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static ImportDataConfig.Builder |
newBuilder() |
static ImportDataConfig.Builder |
newBuilder(ImportDataConfig prototype) |
ImportDataConfig.Builder |
newBuilderForType() |
protected ImportDataConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ImportDataConfig |
parseDelimitedFrom(InputStream input) |
static ImportDataConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportDataConfig |
parseFrom(byte[] data) |
static ImportDataConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportDataConfig |
parseFrom(ByteBuffer data) |
static ImportDataConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportDataConfig |
parseFrom(com.google.protobuf.ByteString data) |
static ImportDataConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportDataConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ImportDataConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportDataConfig |
parseFrom(InputStream input) |
static ImportDataConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ImportDataConfig> |
parser() |
ImportDataConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int GCS_SOURCE_FIELD_NUMBER
public static final int DATA_ITEM_LABELS_FIELD_NUMBER
public static final int ANNOTATION_LABELS_FIELD_NUMBER
public static final int IMPORT_SCHEMA_URI_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ImportDataConfig.SourceCase getSourceCase()
getSourceCase in interface ImportDataConfigOrBuilderpublic boolean hasGcsSource()
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;hasGcsSource in interface ImportDataConfigOrBuilderpublic GcsSource getGcsSource()
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;getGcsSource in interface ImportDataConfigOrBuilderpublic GcsSourceOrBuilder getGcsSourceOrBuilder()
The Google Cloud Storage location for the input content.
.google.cloud.aiplatform.v1.GcsSource gcs_source = 1;getGcsSourceOrBuilder in interface ImportDataConfigOrBuilderpublic int getDataItemLabelsCount()
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;getDataItemLabelsCount in interface ImportDataConfigOrBuilderpublic 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;containsDataItemLabels in interface ImportDataConfigOrBuilder@Deprecated public Map<String,String> getDataItemLabels()
getDataItemLabelsMap() instead.getDataItemLabels in interface ImportDataConfigOrBuilderpublic 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;getDataItemLabelsMap in interface ImportDataConfigOrBuilderpublic 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;getDataItemLabelsOrDefault in interface ImportDataConfigOrBuilderpublic 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;getDataItemLabelsOrThrow in interface ImportDataConfigOrBuilderpublic int getAnnotationLabelsCount()
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;getAnnotationLabelsCount in interface ImportDataConfigOrBuilderpublic 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;containsAnnotationLabels in interface ImportDataConfigOrBuilder@Deprecated public Map<String,String> getAnnotationLabels()
getAnnotationLabelsMap() instead.getAnnotationLabels in interface ImportDataConfigOrBuilderpublic 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;getAnnotationLabelsMap in interface ImportDataConfigOrBuilderpublic 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;getAnnotationLabelsOrDefault in interface ImportDataConfigOrBuilderpublic 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;getAnnotationLabelsOrThrow in interface ImportDataConfigOrBuilderpublic 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];getImportSchemaUri in interface ImportDataConfigOrBuilderpublic 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];getImportSchemaUriBytes in interface ImportDataConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ImportDataConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportDataConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportDataConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportDataConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportDataConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportDataConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportDataConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static ImportDataConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportDataConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ImportDataConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportDataConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ImportDataConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ImportDataConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ImportDataConfig.Builder newBuilder()
public static ImportDataConfig.Builder newBuilder(ImportDataConfig prototype)
public ImportDataConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ImportDataConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ImportDataConfig getDefaultInstance()
public static com.google.protobuf.Parser<ImportDataConfig> parser()
public com.google.protobuf.Parser<ImportDataConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ImportDataConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.