Class AsyncAnnotateFileResponse (3.35.0)

public final class AsyncAnnotateFileResponse extends GeneratedMessageV3 implements AsyncAnnotateFileResponseOrBuilder

The response for a single offline file annotation request.

Protobuf type google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse

Static Fields

OUTPUT_CONFIG_FIELD_NUMBER

public static final int OUTPUT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AsyncAnnotateFileResponse getDefaultInstance()
Returns
TypeDescription
AsyncAnnotateFileResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AsyncAnnotateFileResponse.Builder newBuilder()
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder

newBuilder(AsyncAnnotateFileResponse prototype)

public static AsyncAnnotateFileResponse.Builder newBuilder(AsyncAnnotateFileResponse prototype)
Parameter
NameDescription
prototypeAsyncAnnotateFileResponse
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder

parseDelimitedFrom(InputStream input)

public static AsyncAnnotateFileResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AsyncAnnotateFileResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AsyncAnnotateFileResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsyncAnnotateFileResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AsyncAnnotateFileResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AsyncAnnotateFileResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AsyncAnnotateFileResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsyncAnnotateFileResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AsyncAnnotateFileResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AsyncAnnotateFileResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AsyncAnnotateFileResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsyncAnnotateFileResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AsyncAnnotateFileResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AsyncAnnotateFileResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AsyncAnnotateFileResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsyncAnnotateFileResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AsyncAnnotateFileResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AsyncAnnotateFileResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AsyncAnnotateFileResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsyncAnnotateFileResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AsyncAnnotateFileResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AsyncAnnotateFileResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AsyncAnnotateFileResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsyncAnnotateFileResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AsyncAnnotateFileResponse> parser()
Returns
TypeDescription
Parser<AsyncAnnotateFileResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AsyncAnnotateFileResponse getDefaultInstanceForType()
Returns
TypeDescription
AsyncAnnotateFileResponse

getOutputConfig()

public OutputConfig getOutputConfig()

The output location and metadata from AsyncAnnotateFileRequest.

.google.cloud.vision.v1p3beta1.OutputConfig output_config = 1;

Returns
TypeDescription
OutputConfig

The outputConfig.

getOutputConfigOrBuilder()

public OutputConfigOrBuilder getOutputConfigOrBuilder()

The output location and metadata from AsyncAnnotateFileRequest.

.google.cloud.vision.v1p3beta1.OutputConfig output_config = 1;

Returns
TypeDescription
OutputConfigOrBuilder

getParserForType()

public Parser<AsyncAnnotateFileResponse> getParserForType()
Returns
TypeDescription
Parser<AsyncAnnotateFileResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasOutputConfig()

public boolean hasOutputConfig()

The output location and metadata from AsyncAnnotateFileRequest.

.google.cloud.vision.v1p3beta1.OutputConfig output_config = 1;

Returns
TypeDescription
boolean

Whether the outputConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AsyncAnnotateFileResponse.Builder newBuilderForType()
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AsyncAnnotateFileResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AsyncAnnotateFileResponse.Builder toBuilder()
Returns
TypeDescription
AsyncAnnotateFileResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException