Class GcsOutputDestination.Builder (2.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GcsOutputDestination build()
Returns
TypeDescription
GcsOutputDestination

buildPartial()

public GcsOutputDestination buildPartial()
Returns
TypeDescription
GcsOutputDestination

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GcsOutputDestination getDefaultInstanceForType()
Returns
TypeDescription
GcsOutputDestination

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for outputUriPrefix.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GcsOutputDestination other)

public GcsOutputDestination.Builder mergeFrom(GcsOutputDestination other)
Parameter
NameDescription
otherGcsOutputDestination
Returns
TypeDescription
GcsOutputDestination.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The outputUriPrefix to set.

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

The bytes for outputUriPrefix to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GcsOutputDestination.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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