Class TranscriptOutputConfig.Builder (4.6.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.v1.TranscriptOutputConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TranscriptOutputConfig build()
Returns
TypeDescription
TranscriptOutputConfig

buildPartial()

public TranscriptOutputConfig buildPartial()
Returns
TypeDescription
TranscriptOutputConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public TranscriptOutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
TranscriptOutputConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputType()

public TranscriptOutputConfig.Builder clearOutputType()
Returns
TypeDescription
TranscriptOutputConfig.Builder

clone()

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

getDefaultInstanceForType()

public TranscriptOutputConfig getDefaultInstanceForType()
Returns
TypeDescription
TranscriptOutputConfig

getDescriptorForType()

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

The bytes for gcsUri.

getOutputTypeCase()

public TranscriptOutputConfig.OutputTypeCase getOutputTypeCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the gcsUri field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TranscriptOutputConfig other)

public TranscriptOutputConfig.Builder mergeFrom(TranscriptOutputConfig other)
Parameter
NameDescription
otherTranscriptOutputConfig
Returns
TypeDescription
TranscriptOutputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The gcsUri to set.

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

The bytes for gcsUri to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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