Class CloudStorageResult.Builder (4.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudStorageResult build()
Returns
TypeDescription
CloudStorageResult

buildPartial()

public CloudStorageResult buildPartial()
Returns
TypeDescription
CloudStorageResult

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CloudStorageResult getDefaultInstanceForType()
Returns
TypeDescription
CloudStorageResult

getDescriptorForType()

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

The bytes for srtFormatUri.

getUri()

public String getUri()

The Cloud Storage URI to which recognition results were written.

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The Cloud Storage URI to which recognition results were written.

string uri = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for vttFormatUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CloudStorageResult other)

public CloudStorageResult.Builder mergeFrom(CloudStorageResult other)
Parameter
NameDescription
otherCloudStorageResult
Returns
TypeDescription
CloudStorageResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public CloudStorageResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The srtFormatUri to set.

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

The bytes for srtFormatUri to set.

Returns
TypeDescription
CloudStorageResult.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudStorageResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The uri to set.

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

The bytes for uri to set.

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

The vttFormatUri to set.

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

The bytes for vttFormatUri to set.

Returns
TypeDescription
CloudStorageResult.Builder

This builder for chaining.