Class GcsOutputConfig.Builder (4.31.0)

public static final class GcsOutputConfig.Builder extends GeneratedMessageV3.Builder<GcsOutputConfig.Builder> implements GcsOutputConfigOrBuilder

Output configurations for Cloud Storage.

Protobuf type google.cloud.speech.v2.GcsOutputConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GcsOutputConfig build()
Returns
TypeDescription
GcsOutputConfig

buildPartial()

public GcsOutputConfig buildPartial()
Returns
TypeDescription
GcsOutputConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public GcsOutputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GcsOutputConfig.Builder
Overrides

clearUri()

public GcsOutputConfig.Builder clearUri()

The Cloud Storage URI prefix with which recognition results will be written.

string uri = 1;

Returns
TypeDescription
GcsOutputConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GcsOutputConfig getDefaultInstanceForType()
Returns
TypeDescription
GcsOutputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUri()

public String getUri()

The Cloud Storage URI prefix with which recognition results will be written.

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The Cloud Storage URI prefix with which recognition results will be written.

string uri = 1;

Returns
TypeDescription
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GcsOutputConfig other)

public GcsOutputConfig.Builder mergeFrom(GcsOutputConfig other)
Parameter
NameDescription
otherGcsOutputConfig
Returns
TypeDescription
GcsOutputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public GcsOutputConfig.Builder setUri(String value)

The Cloud Storage URI prefix with which recognition results will be written.

string uri = 1;

Parameter
NameDescription
valueString

The uri to set.

Returns
TypeDescription
GcsOutputConfig.Builder

This builder for chaining.

setUriBytes(ByteString value)

public GcsOutputConfig.Builder setUriBytes(ByteString value)

The Cloud Storage URI prefix with which recognition results will be written.

string uri = 1;

Parameter
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
GcsOutputConfig.Builder

This builder for chaining.