public static final class BatchRecognizeTranscriptionMetadata.Builder extends GeneratedMessage.Builder<BatchRecognizeTranscriptionMetadata.Builder> implements BatchRecognizeTranscriptionMetadataOrBuilderMetadata about transcription for a single file (for example, progress percent).
Protobuf type google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchRecognizeTranscriptionMetadata.BuilderImplements
BatchRecognizeTranscriptionMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BatchRecognizeTranscriptionMetadata build()| Returns | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata |
|
buildPartial()
public BatchRecognizeTranscriptionMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata |
|
clear()
public BatchRecognizeTranscriptionMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata.Builder |
|
clearError()
public BatchRecognizeTranscriptionMetadata.Builder clearError()Error if one was encountered.
.google.rpc.Status error = 2;
| Returns | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata.Builder |
|
clearProgressPercent()
public BatchRecognizeTranscriptionMetadata.Builder clearProgressPercent()How much of the file has been transcribed so far.
int32 progress_percent = 1;
| Returns | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata.Builder |
This builder for chaining. |
clearUri()
public BatchRecognizeTranscriptionMetadata.Builder clearUri()The Cloud Storage URI to which recognition results will be written.
string uri = 3;
| Returns | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public BatchRecognizeTranscriptionMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getError()
public Status getError()Error if one was encountered.
.google.rpc.Status error = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status |
The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()Error if one was encountered.
.google.rpc.Status error = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status.Builder |
|
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()Error if one was encountered.
.google.rpc.Status error = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.StatusOrBuilder |
|
getProgressPercent()
public int getProgressPercent()How much of the file has been transcribed so far.
int32 progress_percent = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The progressPercent. |
getUri()
public String getUri()The Cloud Storage URI to which recognition results will be written.
string uri = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
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. |
hasError()
public boolean hasError()Error if one was encountered.
.google.rpc.Status error = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the error field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeError(Status value)
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 | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata.Builder |
|
mergeFrom(BatchRecognizeTranscriptionMetadata other)
public BatchRecognizeTranscriptionMetadata.Builder mergeFrom(BatchRecognizeTranscriptionMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchRecognizeTranscriptionMetadata |
| Returns | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchRecognizeTranscriptionMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchRecognizeTranscriptionMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata.Builder |
|
setError(Status value)
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 | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata.Builder |
|
setError(Status.Builder builderForValue)
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 | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata.Builder |
|
setProgressPercent(int value)
public BatchRecognizeTranscriptionMetadata.Builder setProgressPercent(int value)How much of the file has been transcribed so far.
int32 progress_percent = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe progressPercent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata.Builder |
This builder for chaining. |
setUri(String value)
public BatchRecognizeTranscriptionMetadata.Builder setUri(String value)The Cloud Storage URI to which recognition results will be written.
string uri = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public BatchRecognizeTranscriptionMetadata.Builder setUriBytes(ByteString value)The Cloud Storage URI to which recognition results will be written.
string uri = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
BatchRecognizeTranscriptionMetadata.Builder |
This builder for chaining. |