Class ExportDataRequest.Builder (0.144.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportDataRequest build()
Returns
TypeDescription
ExportDataRequest

buildPartial()

public ExportDataRequest buildPartial()
Returns
TypeDescription
ExportDataRequest

clear()

public ExportDataRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
ExportDataRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExportDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ExportDataRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportDataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ExportDataRequest.Builder

This builder for chaining.

clone()

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

The bytes for annotatedDataset.

getDefaultInstanceForType()

public ExportDataRequest getDefaultInstanceForType()
Returns
TypeDescription
ExportDataRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

Optional. Filter is not supported at this moment.

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

Returns
TypeDescription
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Filter is not supported at this moment.

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

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

Whether the outputConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExportDataRequest other)

public ExportDataRequest.Builder mergeFrom(ExportDataRequest other)
Parameter
NameDescription
otherExportDataRequest
Returns
TypeDescription
ExportDataRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ExportDataRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueOutputConfig
Returns
TypeDescription
ExportDataRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The annotatedDataset to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for annotatedDataset to set.

Returns
TypeDescription
ExportDataRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExportDataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The filter to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueOutputConfig
Returns
TypeDescription
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
NameDescription
builderForValueOutputConfig.Builder
Returns
TypeDescription
ExportDataRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The userEmailAddress to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for userEmailAddress to set.

Returns
TypeDescription
ExportDataRequest.Builder

This builder for chaining.