Class ExportDataConfig (3.54.0)

public final class ExportDataConfig extends GeneratedMessageV3 implements ExportDataConfigOrBuilder

Describes what part of the Dataset is to be exported, the destination of the export and how to export.

Protobuf type google.cloud.aiplatform.v1.ExportDataConfig

Static Fields

ANNOTATIONS_FILTER_FIELD_NUMBER

public static final int ANNOTATIONS_FILTER_FIELD_NUMBER
Field Value
Type Description
int

ANNOTATION_SCHEMA_URI_FIELD_NUMBER

public static final int ANNOTATION_SCHEMA_URI_FIELD_NUMBER
Field Value
Type Description
int

EXPORT_USE_FIELD_NUMBER

public static final int EXPORT_USE_FIELD_NUMBER
Field Value
Type Description
int

FILTER_SPLIT_FIELD_NUMBER

public static final int FILTER_SPLIT_FIELD_NUMBER
Field Value
Type Description
int

FRACTION_SPLIT_FIELD_NUMBER

public static final int FRACTION_SPLIT_FIELD_NUMBER
Field Value
Type Description
int

GCS_DESTINATION_FIELD_NUMBER

public static final int GCS_DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

SAVED_QUERY_ID_FIELD_NUMBER

public static final int SAVED_QUERY_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportDataConfig getDefaultInstance()
Returns
Type Description
ExportDataConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ExportDataConfig.Builder newBuilder()
Returns
Type Description
ExportDataConfig.Builder

newBuilder(ExportDataConfig prototype)

public static ExportDataConfig.Builder newBuilder(ExportDataConfig prototype)
Parameter
Name Description
prototype ExportDataConfig
Returns
Type Description
ExportDataConfig.Builder

parseDelimitedFrom(InputStream input)

public static ExportDataConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportDataConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportDataConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportDataConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExportDataConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExportDataConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportDataConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportDataConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportDataConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExportDataConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportDataConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportDataConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportDataConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExportDataConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportDataConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportDataConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExportDataConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportDataConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportDataConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportDataConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExportDataConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExportDataConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportDataConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportDataConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExportDataConfig> parser()
Returns
Type Description
Parser<ExportDataConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnnotationSchemaUri()

public String getAnnotationSchemaUri()

The Cloud Storage URI that points to a YAML file describing the annotation schema. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with metadata of the Dataset specified by [dataset_id][].

Only used for custom training data export use cases. Only applicable to Datasets that have DataItems and Annotations.

Only Annotations that both match this schema and belong to DataItems not ignored by the split method are used in respectively training, validation or test role, depending on the role of the DataItem they are on.

When used in conjunction with annotations_filter, the Annotations used for training are filtered by both annotations_filter and annotation_schema_uri.

string annotation_schema_uri = 12;

Returns
Type Description
String

The annotationSchemaUri.

getAnnotationSchemaUriBytes()

public ByteString getAnnotationSchemaUriBytes()

The Cloud Storage URI that points to a YAML file describing the annotation schema. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with metadata of the Dataset specified by [dataset_id][].

Only used for custom training data export use cases. Only applicable to Datasets that have DataItems and Annotations.

Only Annotations that both match this schema and belong to DataItems not ignored by the split method are used in respectively training, validation or test role, depending on the role of the DataItem they are on.

When used in conjunction with annotations_filter, the Annotations used for training are filtered by both annotations_filter and annotation_schema_uri.

string annotation_schema_uri = 12;

Returns
Type Description
ByteString

The bytes for annotationSchemaUri.

getAnnotationsFilter()

public String getAnnotationsFilter()

An expression for filtering what part of the Dataset is to be exported. Only Annotations that match this filter will be exported. The filter syntax is the same as in ListAnnotations.

string annotations_filter = 2;

Returns
Type Description
String

The annotationsFilter.

getAnnotationsFilterBytes()

public ByteString getAnnotationsFilterBytes()

An expression for filtering what part of the Dataset is to be exported. Only Annotations that match this filter will be exported. The filter syntax is the same as in ListAnnotations.

string annotations_filter = 2;

Returns
Type Description
ByteString

The bytes for annotationsFilter.

getDefaultInstanceForType()

public ExportDataConfig getDefaultInstanceForType()
Returns
Type Description
ExportDataConfig

getDestinationCase()

public ExportDataConfig.DestinationCase getDestinationCase()
Returns
Type Description
ExportDataConfig.DestinationCase

getExportUse()

public ExportDataConfig.ExportUse getExportUse()

Indicates the usage of the exported files.

.google.cloud.aiplatform.v1.ExportDataConfig.ExportUse export_use = 4;

Returns
Type Description
ExportDataConfig.ExportUse

The exportUse.

getExportUseValue()

public int getExportUseValue()

Indicates the usage of the exported files.

.google.cloud.aiplatform.v1.ExportDataConfig.ExportUse export_use = 4;

Returns
Type Description
int

The enum numeric value on the wire for exportUse.

getFilterSplit()

public ExportFilterSplit getFilterSplit()

Split based on the provided filters for each set.

.google.cloud.aiplatform.v1.ExportFilterSplit filter_split = 7;

Returns
Type Description
ExportFilterSplit

The filterSplit.

getFilterSplitOrBuilder()

public ExportFilterSplitOrBuilder getFilterSplitOrBuilder()

Split based on the provided filters for each set.

.google.cloud.aiplatform.v1.ExportFilterSplit filter_split = 7;

Returns
Type Description
ExportFilterSplitOrBuilder

getFractionSplit()

public ExportFractionSplit getFractionSplit()

Split based on fractions defining the size of each set.

.google.cloud.aiplatform.v1.ExportFractionSplit fraction_split = 5;

Returns
Type Description
ExportFractionSplit

The fractionSplit.

getFractionSplitOrBuilder()

public ExportFractionSplitOrBuilder getFractionSplitOrBuilder()

Split based on fractions defining the size of each set.

.google.cloud.aiplatform.v1.ExportFractionSplit fraction_split = 5;

Returns
Type Description
ExportFractionSplitOrBuilder

getGcsDestination()

public GcsDestination getGcsDestination()

The Google Cloud Storage location where the output is to be written to. In the given directory a new directory will be created with name: export-data-<dataset-display-name>-<timestamp-of-export-call> where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export output will be written into that directory. Inside that directory, annotations with the same schema will be grouped into sub directories which are named with the corresponding annotations' schema title. Inside these sub directories, a schema.yaml will be created to describe the output format.

.google.cloud.aiplatform.v1.GcsDestination gcs_destination = 1;

Returns
Type Description
GcsDestination

The gcsDestination.

getGcsDestinationOrBuilder()

public GcsDestinationOrBuilder getGcsDestinationOrBuilder()

The Google Cloud Storage location where the output is to be written to. In the given directory a new directory will be created with name: export-data-<dataset-display-name>-<timestamp-of-export-call> where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export output will be written into that directory. Inside that directory, annotations with the same schema will be grouped into sub directories which are named with the corresponding annotations' schema title. Inside these sub directories, a schema.yaml will be created to describe the output format.

.google.cloud.aiplatform.v1.GcsDestination gcs_destination = 1;

Returns
Type Description
GcsDestinationOrBuilder

getParserForType()

public Parser<ExportDataConfig> getParserForType()
Returns
Type Description
Parser<ExportDataConfig>
Overrides

getSavedQueryId()

public String getSavedQueryId()

The ID of a SavedQuery (annotation set) under the Dataset specified by [dataset_id][] used for filtering Annotations for training.

Only used for custom training data export use cases. Only applicable to Datasets that have SavedQueries.

Only Annotations that are associated with this SavedQuery are used in respectively training. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both saved_query_id and annotations_filter.

Only one of saved_query_id and annotation_schema_uri should be specified as both of them represent the same thing: problem type.

string saved_query_id = 11;

Returns
Type Description
String

The savedQueryId.

getSavedQueryIdBytes()

public ByteString getSavedQueryIdBytes()

The ID of a SavedQuery (annotation set) under the Dataset specified by [dataset_id][] used for filtering Annotations for training.

Only used for custom training data export use cases. Only applicable to Datasets that have SavedQueries.

Only Annotations that are associated with this SavedQuery are used in respectively training. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both saved_query_id and annotations_filter.

Only one of saved_query_id and annotation_schema_uri should be specified as both of them represent the same thing: problem type.

string saved_query_id = 11;

Returns
Type Description
ByteString

The bytes for savedQueryId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSplitCase()

public ExportDataConfig.SplitCase getSplitCase()
Returns
Type Description
ExportDataConfig.SplitCase

hasFilterSplit()

public boolean hasFilterSplit()

Split based on the provided filters for each set.

.google.cloud.aiplatform.v1.ExportFilterSplit filter_split = 7;

Returns
Type Description
boolean

Whether the filterSplit field is set.

hasFractionSplit()

public boolean hasFractionSplit()

Split based on fractions defining the size of each set.

.google.cloud.aiplatform.v1.ExportFractionSplit fraction_split = 5;

Returns
Type Description
boolean

Whether the fractionSplit field is set.

hasGcsDestination()

public boolean hasGcsDestination()

The Google Cloud Storage location where the output is to be written to. In the given directory a new directory will be created with name: export-data-<dataset-display-name>-<timestamp-of-export-call> where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export output will be written into that directory. Inside that directory, annotations with the same schema will be grouped into sub directories which are named with the corresponding annotations' schema title. Inside these sub directories, a schema.yaml will be created to describe the output format.

.google.cloud.aiplatform.v1.GcsDestination gcs_destination = 1;

Returns
Type Description
boolean

Whether the gcsDestination field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExportDataConfig.Builder newBuilderForType()
Returns
Type Description
ExportDataConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportDataConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExportDataConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExportDataConfig.Builder toBuilder()
Returns
Type Description
ExportDataConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException