Class TranscriptOutputConfig.Builder (4.42.0)

public static final class TranscriptOutputConfig.Builder extends GeneratedMessageV3.Builder<TranscriptOutputConfig.Builder> implements TranscriptOutputConfigOrBuilder

Specifies an optional destination for the recognition results.

Protobuf type google.cloud.speech.v1p1beta1.TranscriptOutputConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TranscriptOutputConfig build()
Returns
Type Description
TranscriptOutputConfig

buildPartial()

public TranscriptOutputConfig buildPartial()
Returns
Type Description
TranscriptOutputConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcsUri()

public TranscriptOutputConfig.Builder clearGcsUri()

Specifies a Cloud Storage URI for the recognition results. Must be specified in the format: gs://bucket_name/object_name, and the bucket must already exist.

string gcs_uri = 1;

Returns
Type Description
TranscriptOutputConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputType()

public TranscriptOutputConfig.Builder clearOutputType()
Returns
Type Description
TranscriptOutputConfig.Builder

clone()

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

getDefaultInstanceForType()

public TranscriptOutputConfig getDefaultInstanceForType()
Returns
Type Description
TranscriptOutputConfig

getDescriptorForType()

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

getGcsUri()

public String getGcsUri()

Specifies a Cloud Storage URI for the recognition results. Must be specified in the format: gs://bucket_name/object_name, and the bucket must already exist.

string gcs_uri = 1;

Returns
Type Description
String

The gcsUri.

getGcsUriBytes()

public ByteString getGcsUriBytes()

Specifies a Cloud Storage URI for the recognition results. Must be specified in the format: gs://bucket_name/object_name, and the bucket must already exist.

string gcs_uri = 1;

Returns
Type Description
ByteString

The bytes for gcsUri.

getOutputTypeCase()

public TranscriptOutputConfig.OutputTypeCase getOutputTypeCase()
Returns
Type Description
TranscriptOutputConfig.OutputTypeCase

hasGcsUri()

public boolean hasGcsUri()

Specifies a Cloud Storage URI for the recognition results. Must be specified in the format: gs://bucket_name/object_name, and the bucket must already exist.

string gcs_uri = 1;

Returns
Type Description
boolean

Whether the gcsUri field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TranscriptOutputConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsUri(String value)

public TranscriptOutputConfig.Builder setGcsUri(String value)

Specifies a Cloud Storage URI for the recognition results. Must be specified in the format: gs://bucket_name/object_name, and the bucket must already exist.

string gcs_uri = 1;

Parameter
Name Description
value String

The gcsUri to set.

Returns
Type Description
TranscriptOutputConfig.Builder

This builder for chaining.

setGcsUriBytes(ByteString value)

public TranscriptOutputConfig.Builder setGcsUriBytes(ByteString value)

Specifies a Cloud Storage URI for the recognition results. Must be specified in the format: gs://bucket_name/object_name, and the bucket must already exist.

string gcs_uri = 1;

Parameter
Name Description
value ByteString

The bytes for gcsUri to set.

Returns
Type Description
TranscriptOutputConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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