Class AppPlatformCloudFunctionResponse.StructedOutputAnnotation (0.9.0)

public static final class AppPlatformCloudFunctionResponse.StructedOutputAnnotation extends GeneratedMessageV3 implements AppPlatformCloudFunctionResponse.StructedOutputAnnotationOrBuilder

A general annotation message that uses struct format to represent different concrete annotation protobufs.

Protobuf type google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.StructedOutputAnnotation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AppPlatformCloudFunctionResponse.StructedOutputAnnotation

Static Fields

ANNOTATION_FIELD_NUMBER

public static final int ANNOTATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation getDefaultInstance()
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder newBuilder()
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder

newBuilder(AppPlatformCloudFunctionResponse.StructedOutputAnnotation prototype)

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder newBuilder(AppPlatformCloudFunctionResponse.StructedOutputAnnotation prototype)
Parameter
Name Description
prototype AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder

parseDelimitedFrom(InputStream input)

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AppPlatformCloudFunctionResponse.StructedOutputAnnotation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AppPlatformCloudFunctionResponse.StructedOutputAnnotation> parser()
Returns
Type Description
Parser<StructedOutputAnnotation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAnnotation()

public Struct getAnnotation()

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 1;

Returns
Type Description
Struct

The annotation.

getAnnotationOrBuilder()

public StructOrBuilder getAnnotationOrBuilder()

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 1;

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public AppPlatformCloudFunctionResponse.StructedOutputAnnotation getDefaultInstanceForType()
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation

getParserForType()

public Parser<AppPlatformCloudFunctionResponse.StructedOutputAnnotation> getParserForType()
Returns
Type Description
Parser<StructedOutputAnnotation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAnnotation()

public boolean hasAnnotation()

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 1;

Returns
Type Description
boolean

Whether the annotation field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder newBuilderForType()
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder toBuilder()
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException