public static final class BatchRecognizeTranscriptionMetadata.Builder extends GeneratedMessageV3.Builder<BatchRecognizeTranscriptionMetadata.Builder> implements BatchRecognizeTranscriptionMetadataOrBuilder
Metadata about transcription for a single file (for example, progress
percent).
Protobuf type google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public BatchRecognizeTranscriptionMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public BatchRecognizeTranscriptionMetadata build()
Returns
public BatchRecognizeTranscriptionMetadata buildPartial()
Returns
public BatchRecognizeTranscriptionMetadata.Builder clear()
Returns
Overrides
public BatchRecognizeTranscriptionMetadata.Builder clearError()
Error if one was encountered.
.google.rpc.Status error = 2;
Returns
public BatchRecognizeTranscriptionMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public BatchRecognizeTranscriptionMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public BatchRecognizeTranscriptionMetadata.Builder clearProgressPercent()
How much of the file has been transcribed so far.
int32 progress_percent = 1;
Returns
public BatchRecognizeTranscriptionMetadata.Builder clearUri()
The GCS URI to which recognition results will be written.
string uri = 3;
Returns
public BatchRecognizeTranscriptionMetadata.Builder clone()
Returns
Overrides
public BatchRecognizeTranscriptionMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Error if one was encountered.
.google.rpc.Status error = 2;
Returns
Type | Description |
com.google.rpc.Status | The error.
|
public Status.Builder getErrorBuilder()
Error if one was encountered.
.google.rpc.Status error = 2;
Returns
Type | Description |
com.google.rpc.Status.Builder | |
public StatusOrBuilder getErrorOrBuilder()
Error if one was encountered.
.google.rpc.Status error = 2;
Returns
Type | Description |
com.google.rpc.StatusOrBuilder | |
public int getProgressPercent()
How much of the file has been transcribed so far.
int32 progress_percent = 1;
Returns
Type | Description |
int | The progressPercent.
|
The GCS URI to which recognition results will be written.
string uri = 3;
Returns
public ByteString getUriBytes()
The GCS URI to which recognition results will be written.
string uri = 3;
Returns
public boolean hasError()
Error if one was encountered.
.google.rpc.Status error = 2;
Returns
Type | Description |
boolean | Whether the error field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public BatchRecognizeTranscriptionMetadata.Builder mergeError(Status value)
Error if one was encountered.
.google.rpc.Status error = 2;
Parameter
Name | Description |
value | com.google.rpc.Status
|
Returns
public BatchRecognizeTranscriptionMetadata.Builder mergeFrom(BatchRecognizeTranscriptionMetadata other)
Parameter
Returns
public BatchRecognizeTranscriptionMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public BatchRecognizeTranscriptionMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final BatchRecognizeTranscriptionMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public BatchRecognizeTranscriptionMetadata.Builder setError(Status value)
Error if one was encountered.
.google.rpc.Status error = 2;
Parameter
Name | Description |
value | com.google.rpc.Status
|
Returns
public BatchRecognizeTranscriptionMetadata.Builder setError(Status.Builder builderForValue)
Error if one was encountered.
.google.rpc.Status error = 2;
Parameter
Name | Description |
builderForValue | com.google.rpc.Status.Builder
|
Returns
public BatchRecognizeTranscriptionMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public BatchRecognizeTranscriptionMetadata.Builder setProgressPercent(int value)
How much of the file has been transcribed so far.
int32 progress_percent = 1;
Parameter
Name | Description |
value | int
The progressPercent to set.
|
Returns
public BatchRecognizeTranscriptionMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final BatchRecognizeTranscriptionMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public BatchRecognizeTranscriptionMetadata.Builder setUri(String value)
The GCS URI to which recognition results will be written.
string uri = 3;
Parameter
Name | Description |
value | String
The uri to set.
|
Returns
public BatchRecognizeTranscriptionMetadata.Builder setUriBytes(ByteString value)
The GCS URI to which recognition results will be written.
string uri = 3;
Parameter
Name | Description |
value | ByteString
The bytes for uri to set.
|
Returns