public static final class BatchRecognizeFileResult.Builder extends GeneratedMessageV3.Builder<BatchRecognizeFileResult.Builder> implements BatchRecognizeFileResultOrBuilder
Final results for a single file.
Protobuf type google.cloud.speech.v2.BatchRecognizeFileResult
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchRecognizeFileResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BatchRecognizeFileResult build()
buildPartial()
public BatchRecognizeFileResult buildPartial()
clear()
public BatchRecognizeFileResult.Builder clear()
Overrides
clearError()
public BatchRecognizeFileResult.Builder clearError()
Error if one was encountered.
.google.rpc.Status error = 2;
clearField(Descriptors.FieldDescriptor field)
public BatchRecognizeFileResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchRecognizeFileResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUri()
public BatchRecognizeFileResult.Builder clearUri()
The GCS URI to which recognition results were written.
string uri = 1;
clone()
public BatchRecognizeFileResult.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchRecognizeFileResult getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 | |
getUri()
The GCS URI to which recognition results were written.
string uri = 1;
Returns |
---|
Type | Description |
String | The uri.
|
getUriBytes()
public ByteString getUriBytes()
The GCS URI to which recognition results were written.
string uri = 1;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeError(Status value)
public BatchRecognizeFileResult.Builder mergeError(Status value)
Error if one was encountered.
.google.rpc.Status error = 2;
Parameter |
---|
Name | Description |
value | com.google.rpc.Status
|
mergeFrom(BatchRecognizeFileResult other)
public BatchRecognizeFileResult.Builder mergeFrom(BatchRecognizeFileResult other)
public BatchRecognizeFileResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchRecognizeFileResult.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchRecognizeFileResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setError(Status value)
public BatchRecognizeFileResult.Builder setError(Status value)
Error if one was encountered.
.google.rpc.Status error = 2;
Parameter |
---|
Name | Description |
value | com.google.rpc.Status
|
setError(Status.Builder builderForValue)
public BatchRecognizeFileResult.Builder setError(Status.Builder builderForValue)
Error if one was encountered.
.google.rpc.Status error = 2;
Parameter |
---|
Name | Description |
builderForValue | com.google.rpc.Status.Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchRecognizeFileResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchRecognizeFileResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchRecognizeFileResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUri(String value)
public BatchRecognizeFileResult.Builder setUri(String value)
The GCS URI to which recognition results were written.
string uri = 1;
Parameter |
---|
Name | Description |
value | String
The uri to set.
|
setUriBytes(ByteString value)
public BatchRecognizeFileResult.Builder setUriBytes(ByteString value)
The GCS URI to which recognition results were written.
string uri = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for uri to set.
|