- 4.50.0 (latest)
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.0.0
- 2.6.1
- 2.5.9
- 2.4.0
- 2.3.0
- 2.2.15
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchRecognizeFileResult.BuilderImplements
BatchRecognizeFileResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchRecognizeFileResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
build()
public BatchRecognizeFileResult build()
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult |
buildPartial()
public BatchRecognizeFileResult buildPartial()
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult |
clear()
public BatchRecognizeFileResult.Builder clear()
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
clearError()
public BatchRecognizeFileResult.Builder clearError()
Error if one was encountered.
.google.rpc.Status error = 2;
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
clearField(Descriptors.FieldDescriptor field)
public BatchRecognizeFileResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchRecognizeFileResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
clearUri()
public BatchRecognizeFileResult.Builder clearUri()
The GCS URI to which recognition results were written.
string uri = 1;
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder | This builder for chaining. |
clone()
public BatchRecognizeFileResult.Builder clone()
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
getDefaultInstanceForType()
public BatchRecognizeFileResult getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult |
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 |
getUri()
public String 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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
mergeFrom(BatchRecognizeFileResult other)
public BatchRecognizeFileResult.Builder mergeFrom(BatchRecognizeFileResult other)
Parameter | |
---|---|
Name | Description |
other | BatchRecognizeFileResult |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchRecognizeFileResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BatchRecognizeFileResult.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchRecognizeFileResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
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 |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
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 |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BatchRecognizeFileResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchRecognizeFileResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchRecognizeFileResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder |
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. |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder | This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
BatchRecognizeFileResult.Builder | This builder for chaining. |