Class AppPlatformCloudFunctionRequest.StructedInputAnnotation (0.5.0)

public static final class AppPlatformCloudFunctionRequest.StructedInputAnnotation extends GeneratedMessageV3 implements AppPlatformCloudFunctionRequest.StructedInputAnnotationOrBuilder

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

Protobuf type google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AppPlatformCloudFunctionRequest.StructedInputAnnotation

Static Fields

ANNOTATION_FIELD_NUMBER

public static final int ANNOTATION_FIELD_NUMBER
Field Value
Type Description
int

INGESTION_TIME_MICROS_FIELD_NUMBER

public static final int INGESTION_TIME_MICROS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AppPlatformCloudFunctionRequest.StructedInputAnnotation getDefaultInstance()
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation

getDescriptor()

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

newBuilder()

public static AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder newBuilder()
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder

newBuilder(AppPlatformCloudFunctionRequest.StructedInputAnnotation prototype)

public static AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder newBuilder(AppPlatformCloudFunctionRequest.StructedInputAnnotation prototype)
Parameter
Name Description
prototype AppPlatformCloudFunctionRequest.StructedInputAnnotation
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder

parseDelimitedFrom(InputStream input)

public static AppPlatformCloudFunctionRequest.StructedInputAnnotation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AppPlatformCloudFunctionRequest.StructedInputAnnotation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AppPlatformCloudFunctionRequest.StructedInputAnnotation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AppPlatformCloudFunctionRequest.StructedInputAnnotation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AppPlatformCloudFunctionRequest.StructedInputAnnotation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AppPlatformCloudFunctionRequest.StructedInputAnnotation> parser()
Returns
Type Description
Parser<StructedInputAnnotation>

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 = 2;

Returns
Type Description
Struct

The annotation.

getAnnotationOrBuilder()

public StructOrBuilder getAnnotationOrBuilder()

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 2;

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public AppPlatformCloudFunctionRequest.StructedInputAnnotation getDefaultInstanceForType()
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation

getIngestionTimeMicros()

public long getIngestionTimeMicros()

The ingestion time of the current annotation.

int64 ingestion_time_micros = 1;

Returns
Type Description
long

The ingestionTimeMicros.

getParserForType()

public Parser<AppPlatformCloudFunctionRequest.StructedInputAnnotation> getParserForType()
Returns
Type Description
Parser<StructedInputAnnotation>
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 = 2;

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 AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder newBuilderForType()
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder toBuilder()
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder

writeTo(CodedOutputStream output)

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