Class ExportDataRequest.Builder (2.18.0)

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

Request message for AutoMl.ExportData.

Protobuf type google.cloud.automl.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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ExportDataRequest.Builder clearName()

Required. The resource name of the dataset.

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. The desired output location.

.google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ExportDataRequest.Builder

clone()

public ExportDataRequest.Builder clone()
Returns
TypeDescription
ExportDataRequest.Builder
Overrides

getDefaultInstanceForType()

public ExportDataRequest getDefaultInstanceForType()
Returns
TypeDescription
ExportDataRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the dataset.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the dataset.

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

Returns
TypeDescription
ByteString

The bytes for name.

getOutputConfig()

public OutputConfig getOutputConfig()

Required. The desired output location.

.google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
OutputConfig

The outputConfig.

getOutputConfigBuilder()

public OutputConfig.Builder getOutputConfigBuilder()

Required. The desired output location.

.google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
OutputConfig.Builder

getOutputConfigOrBuilder()

public OutputConfigOrBuilder getOutputConfigOrBuilder()

Required. The desired output location.

.google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
OutputConfigOrBuilder

hasOutputConfig()

public boolean hasOutputConfig()

Required. The desired output location.

.google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.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. The desired output location.

.google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ExportDataRequest.Builder setName(String value)

Required. The resource name of the dataset.

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. The resource name of the dataset.

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. The desired output location.

.google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueOutputConfig
Returns
TypeDescription
ExportDataRequest.Builder

setOutputConfig(OutputConfig.Builder builderForValue)

public ExportDataRequest.Builder setOutputConfig(OutputConfig.Builder builderForValue)

Required. The desired output location.

.google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.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