public final class BatchRecognizeFileResult extends GeneratedMessageV3 implements BatchRecognizeFileResultOrBuilder
Final results for a single file.
Protobuf type google.cloud.speech.v2.BatchRecognizeFileResult
Static Fields
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static BatchRecognizeFileResult getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BatchRecognizeFileResult.Builder newBuilder()
newBuilder(BatchRecognizeFileResult prototype)
public static BatchRecognizeFileResult.Builder newBuilder(BatchRecognizeFileResult prototype)
public static BatchRecognizeFileResult parseDelimitedFrom(InputStream input)
public static BatchRecognizeFileResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BatchRecognizeFileResult parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchRecognizeFileResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BatchRecognizeFileResult parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchRecognizeFileResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchRecognizeFileResult parseFrom(CodedInputStream input)
public static BatchRecognizeFileResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchRecognizeFileResult parseFrom(InputStream input)
public static BatchRecognizeFileResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BatchRecognizeFileResult parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchRecognizeFileResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BatchRecognizeFileResult> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public BatchRecognizeFileResult getDefaultInstanceForType()
getError()
Error if one was encountered.
.google.rpc.Status error = 2;
Returns |
---|
Type | Description |
com.google.rpc.Status | The error.
|
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Error if one was encountered.
.google.rpc.Status error = 2;
Returns |
---|
Type | Description |
com.google.rpc.StatusOrBuilder | |
getParserForType()
public Parser<BatchRecognizeFileResult> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BatchRecognizeFileResult.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchRecognizeFileResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public BatchRecognizeFileResult.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides