Class ExportDataConfig.Builder (3.41.0)

public static final class ExportDataConfig.Builder extends GeneratedMessageV3.Builder<ExportDataConfig.Builder> 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 Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportDataConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportDataConfig.Builder
Overrides

build()

public ExportDataConfig build()
Returns
TypeDescription
ExportDataConfig

buildPartial()

public ExportDataConfig buildPartial()
Returns
TypeDescription
ExportDataConfig

clear()

public ExportDataConfig.Builder clear()
Returns
TypeDescription
ExportDataConfig.Builder
Overrides

clearAnnotationSchemaUri()

public ExportDataConfig.Builder clearAnnotationSchemaUri()

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
TypeDescription
ExportDataConfig.Builder

This builder for chaining.

clearAnnotationsFilter()

public ExportDataConfig.Builder clearAnnotationsFilter()

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
TypeDescription
ExportDataConfig.Builder

This builder for chaining.

clearDestination()

public ExportDataConfig.Builder clearDestination()
Returns
TypeDescription
ExportDataConfig.Builder

clearExportUse()

public ExportDataConfig.Builder clearExportUse()

Indicates the usage of the exported files.

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

Returns
TypeDescription
ExportDataConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExportDataConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExportDataConfig.Builder
Overrides

clearFilterSplit()

public ExportDataConfig.Builder clearFilterSplit()

Split based on the provided filters for each set.

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

Returns
TypeDescription
ExportDataConfig.Builder

clearFractionSplit()

public ExportDataConfig.Builder clearFractionSplit()

Split based on fractions defining the size of each set.

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

Returns
TypeDescription
ExportDataConfig.Builder

clearGcsDestination()

public ExportDataConfig.Builder clearGcsDestination()

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
TypeDescription
ExportDataConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportDataConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExportDataConfig.Builder
Overrides

clearSavedQueryId()

public ExportDataConfig.Builder clearSavedQueryId()

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
TypeDescription
ExportDataConfig.Builder

This builder for chaining.

clearSplit()

public ExportDataConfig.Builder clearSplit()
Returns
TypeDescription
ExportDataConfig.Builder

clone()

public ExportDataConfig.Builder clone()
Returns
TypeDescription
ExportDataConfig.Builder
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for annotationsFilter.

getDefaultInstanceForType()

public ExportDataConfig getDefaultInstanceForType()
Returns
TypeDescription
ExportDataConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationCase()

public ExportDataConfig.DestinationCase getDestinationCase()
Returns
TypeDescription
ExportDataConfig.DestinationCase

getExportUse()

public ExportDataConfig.ExportUse getExportUse()

Indicates the usage of the exported files.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ExportFilterSplit

The filterSplit.

getFilterSplitBuilder()

public ExportFilterSplit.Builder getFilterSplitBuilder()

Split based on the provided filters for each set.

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

Returns
TypeDescription
ExportFilterSplit.Builder

getFilterSplitOrBuilder()

public ExportFilterSplitOrBuilder getFilterSplitOrBuilder()

Split based on the provided filters for each set.

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

Returns
TypeDescription
ExportFilterSplitOrBuilder

getFractionSplit()

public ExportFractionSplit getFractionSplit()

Split based on fractions defining the size of each set.

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

Returns
TypeDescription
ExportFractionSplit

The fractionSplit.

getFractionSplitBuilder()

public ExportFractionSplit.Builder getFractionSplitBuilder()

Split based on fractions defining the size of each set.

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

Returns
TypeDescription
ExportFractionSplit.Builder

getFractionSplitOrBuilder()

public ExportFractionSplitOrBuilder getFractionSplitOrBuilder()

Split based on fractions defining the size of each set.

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

Returns
TypeDescription
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
TypeDescription
GcsDestination

The gcsDestination.

getGcsDestinationBuilder()

public GcsDestination.Builder getGcsDestinationBuilder()

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
TypeDescription
GcsDestination.Builder

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
TypeDescription
GcsDestinationOrBuilder

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
TypeDescription
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
TypeDescription
ByteString

The bytes for savedQueryId.

getSplitCase()

public ExportDataConfig.SplitCase getSplitCase()
Returns
TypeDescription
ExportDataConfig.SplitCase

hasFilterSplit()

public boolean hasFilterSplit()

Split based on the provided filters for each set.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the gcsDestination field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFilterSplit(ExportFilterSplit value)

public ExportDataConfig.Builder mergeFilterSplit(ExportFilterSplit value)

Split based on the provided filters for each set.

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

Parameter
NameDescription
valueExportFilterSplit
Returns
TypeDescription
ExportDataConfig.Builder

mergeFractionSplit(ExportFractionSplit value)

public ExportDataConfig.Builder mergeFractionSplit(ExportFractionSplit value)

Split based on fractions defining the size of each set.

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

Parameter
NameDescription
valueExportFractionSplit
Returns
TypeDescription
ExportDataConfig.Builder

mergeFrom(ExportDataConfig other)

public ExportDataConfig.Builder mergeFrom(ExportDataConfig other)
Parameter
NameDescription
otherExportDataConfig
Returns
TypeDescription
ExportDataConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportDataConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportDataConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ExportDataConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExportDataConfig.Builder
Overrides

mergeGcsDestination(GcsDestination value)

public ExportDataConfig.Builder mergeGcsDestination(GcsDestination value)

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;

Parameter
NameDescription
valueGcsDestination
Returns
TypeDescription
ExportDataConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportDataConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportDataConfig.Builder
Overrides

setAnnotationSchemaUri(String value)

public ExportDataConfig.Builder setAnnotationSchemaUri(String value)

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;

Parameter
NameDescription
valueString

The annotationSchemaUri to set.

Returns
TypeDescription
ExportDataConfig.Builder

This builder for chaining.

setAnnotationSchemaUriBytes(ByteString value)

public ExportDataConfig.Builder setAnnotationSchemaUriBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for annotationSchemaUri to set.

Returns
TypeDescription
ExportDataConfig.Builder

This builder for chaining.

setAnnotationsFilter(String value)

public ExportDataConfig.Builder setAnnotationsFilter(String value)

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;

Parameter
NameDescription
valueString

The annotationsFilter to set.

Returns
TypeDescription
ExportDataConfig.Builder

This builder for chaining.

setAnnotationsFilterBytes(ByteString value)

public ExportDataConfig.Builder setAnnotationsFilterBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for annotationsFilter to set.

Returns
TypeDescription
ExportDataConfig.Builder

This builder for chaining.

setExportUse(ExportDataConfig.ExportUse value)

public ExportDataConfig.Builder setExportUse(ExportDataConfig.ExportUse value)

Indicates the usage of the exported files.

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

Parameter
NameDescription
valueExportDataConfig.ExportUse

The exportUse to set.

Returns
TypeDescription
ExportDataConfig.Builder

This builder for chaining.

setExportUseValue(int value)

public ExportDataConfig.Builder setExportUseValue(int value)

Indicates the usage of the exported files.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for exportUse to set.

Returns
TypeDescription
ExportDataConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportDataConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExportDataConfig.Builder
Overrides

setFilterSplit(ExportFilterSplit value)

public ExportDataConfig.Builder setFilterSplit(ExportFilterSplit value)

Split based on the provided filters for each set.

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

Parameter
NameDescription
valueExportFilterSplit
Returns
TypeDescription
ExportDataConfig.Builder

setFilterSplit(ExportFilterSplit.Builder builderForValue)

public ExportDataConfig.Builder setFilterSplit(ExportFilterSplit.Builder builderForValue)

Split based on the provided filters for each set.

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

Parameter
NameDescription
builderForValueExportFilterSplit.Builder
Returns
TypeDescription
ExportDataConfig.Builder

setFractionSplit(ExportFractionSplit value)

public ExportDataConfig.Builder setFractionSplit(ExportFractionSplit value)

Split based on fractions defining the size of each set.

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

Parameter
NameDescription
valueExportFractionSplit
Returns
TypeDescription
ExportDataConfig.Builder

setFractionSplit(ExportFractionSplit.Builder builderForValue)

public ExportDataConfig.Builder setFractionSplit(ExportFractionSplit.Builder builderForValue)

Split based on fractions defining the size of each set.

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

Parameter
NameDescription
builderForValueExportFractionSplit.Builder
Returns
TypeDescription
ExportDataConfig.Builder

setGcsDestination(GcsDestination value)

public ExportDataConfig.Builder setGcsDestination(GcsDestination value)

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;

Parameter
NameDescription
valueGcsDestination
Returns
TypeDescription
ExportDataConfig.Builder

setGcsDestination(GcsDestination.Builder builderForValue)

public ExportDataConfig.Builder setGcsDestination(GcsDestination.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueGcsDestination.Builder
Returns
TypeDescription
ExportDataConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExportDataConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExportDataConfig.Builder
Overrides

setSavedQueryId(String value)

public ExportDataConfig.Builder setSavedQueryId(String value)

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;

Parameter
NameDescription
valueString

The savedQueryId to set.

Returns
TypeDescription
ExportDataConfig.Builder

This builder for chaining.

setSavedQueryIdBytes(ByteString value)

public ExportDataConfig.Builder setSavedQueryIdBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for savedQueryId to set.

Returns
TypeDescription
ExportDataConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportDataConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExportDataConfig.Builder
Overrides