Class ExportDataRequest.Builder (0.175.0)

public static final class ExportDataRequest.Builder extends GeneratedMessageV3.Builder<ExportDataRequest.Builder> implements ExportDataRequestOrBuilder

Request message for ExportData API.

Protobuf type google.cloud.datalabeling.v1beta1.ExportDataRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportDataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportDataRequest.Builder
Overrides

build()

public ExportDataRequest build()
Returns
Type Description
ExportDataRequest

buildPartial()

public ExportDataRequest buildPartial()
Returns
Type Description
ExportDataRequest

clear()

public ExportDataRequest.Builder clear()
Returns
Type Description
ExportDataRequest.Builder
Overrides

clearAnnotatedDataset()

public ExportDataRequest.Builder clearAnnotatedDataset()

Required. Annotated dataset resource name. DataItem in Dataset and their annotations in specified annotated dataset will be exported. It's in format of projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}

string annotated_dataset = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExportDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportDataRequest.Builder
Overrides

clearFilter()

public ExportDataRequest.Builder clearFilter()

Optional. Filter is not supported at this moment.

string filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

clearName()

public ExportDataRequest.Builder clearName()

Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportDataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExportDataRequest.Builder
Overrides

clearOutputConfig()

public ExportDataRequest.Builder clearOutputConfig()

Required. Specify the output destination.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExportDataRequest.Builder

clearUserEmailAddress()

public ExportDataRequest.Builder clearUserEmailAddress()

Email of the user who started the export task and should be notified by email. If empty no notification will be sent.

string user_email_address = 5;

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

clone()

public ExportDataRequest.Builder clone()
Returns
Type Description
ExportDataRequest.Builder
Overrides

getAnnotatedDataset()

public String getAnnotatedDataset()

Required. Annotated dataset resource name. DataItem in Dataset and their annotations in specified annotated dataset will be exported. It's in format of projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}

string annotated_dataset = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The annotatedDataset.

getAnnotatedDatasetBytes()

public ByteString getAnnotatedDatasetBytes()

Required. Annotated dataset resource name. DataItem in Dataset and their annotations in specified annotated dataset will be exported. It's in format of projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}

string annotated_dataset = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for annotatedDataset.

getDefaultInstanceForType()

public ExportDataRequest getDefaultInstanceForType()
Returns
Type Description
ExportDataRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

Optional. Filter is not supported at this moment.

string filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Filter is not supported at this moment.

string filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getName()

public String getName()

Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getOutputConfig()

public OutputConfig getOutputConfig()

Required. Specify the output destination.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputConfig

The outputConfig.

getOutputConfigBuilder()

public OutputConfig.Builder getOutputConfigBuilder()

Required. Specify the output destination.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputConfig.Builder

getOutputConfigOrBuilder()

public OutputConfigOrBuilder getOutputConfigOrBuilder()

Required. Specify the output destination.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputConfigOrBuilder

getUserEmailAddress()

public String getUserEmailAddress()

Email of the user who started the export task and should be notified by email. If empty no notification will be sent.

string user_email_address = 5;

Returns
Type Description
String

The userEmailAddress.

getUserEmailAddressBytes()

public ByteString getUserEmailAddressBytes()

Email of the user who started the export task and should be notified by email. If empty no notification will be sent.

string user_email_address = 5;

Returns
Type Description
ByteString

The bytes for userEmailAddress.

hasOutputConfig()

public boolean hasOutputConfig()

Required. Specify the output destination.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the outputConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportDataRequest other)

public ExportDataRequest.Builder mergeFrom(ExportDataRequest other)
Parameter
Name Description
other ExportDataRequest
Returns
Type Description
ExportDataRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportDataRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportDataRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportDataRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportDataRequest.Builder
Overrides

mergeOutputConfig(OutputConfig value)

public ExportDataRequest.Builder mergeOutputConfig(OutputConfig value)

Required. Specify the output destination.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OutputConfig
Returns
Type Description
ExportDataRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportDataRequest.Builder
Overrides

setAnnotatedDataset(String value)

public ExportDataRequest.Builder setAnnotatedDataset(String value)

Required. Annotated dataset resource name. DataItem in Dataset and their annotations in specified annotated dataset will be exported. It's in format of projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}

string annotated_dataset = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The annotatedDataset to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

setAnnotatedDatasetBytes(ByteString value)

public ExportDataRequest.Builder setAnnotatedDatasetBytes(ByteString value)

Required. Annotated dataset resource name. DataItem in Dataset and their annotations in specified annotated dataset will be exported. It's in format of projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}

string annotated_dataset = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for annotatedDataset to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportDataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportDataRequest.Builder
Overrides

setFilter(String value)

public ExportDataRequest.Builder setFilter(String value)

Optional. Filter is not supported at this moment.

string filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ExportDataRequest.Builder setFilterBytes(ByteString value)

Optional. Filter is not supported at this moment.

string filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

setName(String value)

public ExportDataRequest.Builder setName(String value)

Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExportDataRequest.Builder setNameBytes(ByteString value)

Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

setOutputConfig(OutputConfig value)

public ExportDataRequest.Builder setOutputConfig(OutputConfig value)

Required. Specify the output destination.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OutputConfig
Returns
Type Description
ExportDataRequest.Builder

setOutputConfig(OutputConfig.Builder builderForValue)

public ExportDataRequest.Builder setOutputConfig(OutputConfig.Builder builderForValue)

Required. Specify the output destination.

.google.cloud.datalabeling.v1beta1.OutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue OutputConfig.Builder
Returns
Type Description
ExportDataRequest.Builder

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

public ExportDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportDataRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportDataRequest.Builder
Overrides

setUserEmailAddress(String value)

public ExportDataRequest.Builder setUserEmailAddress(String value)

Email of the user who started the export task and should be notified by email. If empty no notification will be sent.

string user_email_address = 5;

Parameter
Name Description
value String

The userEmailAddress to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

setUserEmailAddressBytes(ByteString value)

public ExportDataRequest.Builder setUserEmailAddressBytes(ByteString value)

Email of the user who started the export task and should be notified by email. If empty no notification will be sent.

string user_email_address = 5;

Parameter
Name Description
value ByteString

The bytes for userEmailAddress to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.