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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
public BatchRecognizeTranscriptionMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchRecognizeTranscriptionMetadata build()
public BatchRecognizeTranscriptionMetadata buildPartial()
public BatchRecognizeTranscriptionMetadata.Builder clear()
Overrides
public BatchRecognizeTranscriptionMetadata.Builder clearError()
Error if one was encountered.
.google.rpc.Status error = 2;
public BatchRecognizeTranscriptionMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BatchRecognizeTranscriptionMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BatchRecognizeTranscriptionMetadata.Builder clearProgressPercent()
How much of the file has been transcribed so far.
int32 progress_percent = 1;
public BatchRecognizeTranscriptionMetadata.Builder clearUri()
The Cloud Storage URI to which recognition results will be written.
string uri = 3;
public BatchRecognizeTranscriptionMetadata.Builder clone()
Overrides
public BatchRecognizeTranscriptionMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 Cloud Storage URI to which recognition results will be written.
string uri = 3;
Returns |
Type |
Description |
String |
The uri.
|
public ByteString getUriBytes()
The Cloud Storage URI to which recognition results will be written.
string uri = 3;
Returns |
Type |
Description |
ByteString |
The bytes for uri.
|
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()
Overrides
public final boolean isInitialized()
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
|
public BatchRecognizeTranscriptionMetadata.Builder mergeFrom(BatchRecognizeTranscriptionMetadata other)
public BatchRecognizeTranscriptionMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchRecognizeTranscriptionMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final BatchRecognizeTranscriptionMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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
|
public BatchRecognizeTranscriptionMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
public BatchRecognizeTranscriptionMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BatchRecognizeTranscriptionMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BatchRecognizeTranscriptionMetadata.Builder setUri(String value)
The Cloud Storage URI to which recognition results will be written.
string uri = 3;
Parameter |
Name |
Description |
value |
String
The uri to set.
|
public BatchRecognizeTranscriptionMetadata.Builder setUriBytes(ByteString value)
The Cloud Storage URI to which recognition results will be written.
string uri = 3;
Parameter |
Name |
Description |
value |
ByteString
The bytes for uri to set.
|