Class CloudStorageResult.Builder (4.50.0)

public static final class CloudStorageResult.Builder extends GeneratedMessageV3.Builder<CloudStorageResult.Builder> implements CloudStorageResultOrBuilder

Final results written to Cloud Storage.

Protobuf type google.cloud.speech.v2.CloudStorageResult

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudStorageResult build()
Returns
Type Description
CloudStorageResult

buildPartial()

public CloudStorageResult buildPartial()
Returns
Type Description
CloudStorageResult

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSrtFormatUri()

public CloudStorageResult.Builder clearSrtFormatUri()

The Cloud Storage URI to which recognition results were written as SRT formatted captions. This is populated only when SRT output is requested.

string srt_format_uri = 3;

Returns
Type Description
CloudStorageResult.Builder

This builder for chaining.

clearUri()

public CloudStorageResult.Builder clearUri()

The Cloud Storage URI to which recognition results were written.

string uri = 1;

Returns
Type Description
CloudStorageResult.Builder

This builder for chaining.

clearVttFormatUri()

public CloudStorageResult.Builder clearVttFormatUri()

The Cloud Storage URI to which recognition results were written as VTT formatted captions. This is populated only when VTT output is requested.

string vtt_format_uri = 2;

Returns
Type Description
CloudStorageResult.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CloudStorageResult getDefaultInstanceForType()
Returns
Type Description
CloudStorageResult

getDescriptorForType()

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

getSrtFormatUri()

public String getSrtFormatUri()

The Cloud Storage URI to which recognition results were written as SRT formatted captions. This is populated only when SRT output is requested.

string srt_format_uri = 3;

Returns
Type Description
String

The srtFormatUri.

getSrtFormatUriBytes()

public ByteString getSrtFormatUriBytes()

The Cloud Storage URI to which recognition results were written as SRT formatted captions. This is populated only when SRT output is requested.

string srt_format_uri = 3;

Returns
Type Description
ByteString

The bytes for srtFormatUri.

getUri()

public String getUri()

The Cloud Storage URI to which recognition results were written.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The Cloud Storage URI to which recognition results were written.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

getVttFormatUri()

public String getVttFormatUri()

The Cloud Storage URI to which recognition results were written as VTT formatted captions. This is populated only when VTT output is requested.

string vtt_format_uri = 2;

Returns
Type Description
String

The vttFormatUri.

getVttFormatUriBytes()

public ByteString getVttFormatUriBytes()

The Cloud Storage URI to which recognition results were written as VTT formatted captions. This is populated only when VTT output is requested.

string vtt_format_uri = 2;

Returns
Type Description
ByteString

The bytes for vttFormatUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CloudStorageResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSrtFormatUri(String value)

public CloudStorageResult.Builder setSrtFormatUri(String value)

The Cloud Storage URI to which recognition results were written as SRT formatted captions. This is populated only when SRT output is requested.

string srt_format_uri = 3;

Parameter
Name Description
value String

The srtFormatUri to set.

Returns
Type Description
CloudStorageResult.Builder

This builder for chaining.

setSrtFormatUriBytes(ByteString value)

public CloudStorageResult.Builder setSrtFormatUriBytes(ByteString value)

The Cloud Storage URI to which recognition results were written as SRT formatted captions. This is populated only when SRT output is requested.

string srt_format_uri = 3;

Parameter
Name Description
value ByteString

The bytes for srtFormatUri to set.

Returns
Type Description
CloudStorageResult.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public CloudStorageResult.Builder setUri(String value)

The Cloud Storage URI to which recognition results were written.

string uri = 1;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
CloudStorageResult.Builder

This builder for chaining.

setUriBytes(ByteString value)

public CloudStorageResult.Builder setUriBytes(ByteString value)

The Cloud Storage URI to which recognition results were written.

string uri = 1;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
CloudStorageResult.Builder

This builder for chaining.

setVttFormatUri(String value)

public CloudStorageResult.Builder setVttFormatUri(String value)

The Cloud Storage URI to which recognition results were written as VTT formatted captions. This is populated only when VTT output is requested.

string vtt_format_uri = 2;

Parameter
Name Description
value String

The vttFormatUri to set.

Returns
Type Description
CloudStorageResult.Builder

This builder for chaining.

setVttFormatUriBytes(ByteString value)

public CloudStorageResult.Builder setVttFormatUriBytes(ByteString value)

The Cloud Storage URI to which recognition results were written as VTT formatted captions. This is populated only when VTT output is requested.

string vtt_format_uri = 2;

Parameter
Name Description
value ByteString

The bytes for vttFormatUri to set.

Returns
Type Description
CloudStorageResult.Builder

This builder for chaining.