Class GcsOutputDestination.Builder (2.54.0)

public static final class GcsOutputDestination.Builder extends GeneratedMessageV3.Builder<GcsOutputDestination.Builder> implements GcsOutputDestinationOrBuilder

The Google Cloud Storage location for the output content.

Protobuf type google.cloud.translation.v3.GcsOutputDestination

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GcsOutputDestination build()
Returns
Type Description
GcsOutputDestination

buildPartial()

public GcsOutputDestination buildPartial()
Returns
Type Description
GcsOutputDestination

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputUriPrefix()

public GcsOutputDestination.Builder clearOutputUriPrefix()

Required. Google Cloud Storage URI to output directory. For example, gs://bucket/directory. The requesting user must have write permission to the bucket. The directory will be created if it doesn't exist.

string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GcsOutputDestination.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GcsOutputDestination getDefaultInstanceForType()
Returns
Type Description
GcsOutputDestination

getDescriptorForType()

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

getOutputUriPrefix()

public String getOutputUriPrefix()

Required. Google Cloud Storage URI to output directory. For example, gs://bucket/directory. The requesting user must have write permission to the bucket. The directory will be created if it doesn't exist.

string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The outputUriPrefix.

getOutputUriPrefixBytes()

public ByteString getOutputUriPrefixBytes()

Required. Google Cloud Storage URI to output directory. For example, gs://bucket/directory. The requesting user must have write permission to the bucket. The directory will be created if it doesn't exist.

string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for outputUriPrefix.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GcsOutputDestination other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOutputUriPrefix(String value)

public GcsOutputDestination.Builder setOutputUriPrefix(String value)

Required. Google Cloud Storage URI to output directory. For example, gs://bucket/directory. The requesting user must have write permission to the bucket. The directory will be created if it doesn't exist.

string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The outputUriPrefix to set.

Returns
Type Description
GcsOutputDestination.Builder

This builder for chaining.

setOutputUriPrefixBytes(ByteString value)

public GcsOutputDestination.Builder setOutputUriPrefixBytes(ByteString value)

Required. Google Cloud Storage URI to output directory. For example, gs://bucket/directory. The requesting user must have write permission to the bucket. The directory will be created if it doesn't exist.

string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for outputUriPrefix to set.

Returns
Type Description
GcsOutputDestination.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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