Class AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder (0.12.0)

public static final class AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder extends GeneratedMessageV3.Builder<AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder
Overrides

build()

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

buildPartial()

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

clear()

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder clear()
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder
Overrides

clearAnnotation()

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder clearAnnotation()

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 2;

Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder

clearField(Descriptors.FieldDescriptor field)

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder
Overrides

clearIngestionTimeMicros()

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder clearIngestionTimeMicros()

The ingestion time of the current annotation.

int64 ingestion_time_micros = 1;

Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder
Overrides

clone()

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder clone()
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder
Overrides

getAnnotation()

public Struct getAnnotation()

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 2;

Returns
Type Description
Struct

The annotation.

getAnnotationBuilder()

public Struct.Builder getAnnotationBuilder()

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 2;

Returns
Type Description
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIngestionTimeMicros()

public long getIngestionTimeMicros()

The ingestion time of the current annotation.

int64 ingestion_time_micros = 1;

Returns
Type Description
long

The ingestionTimeMicros.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnnotation(Struct value)

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder mergeAnnotation(Struct value)

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 2;

Parameter
Name Description
value Struct
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder

mergeFrom(AppPlatformCloudFunctionRequest.StructedInputAnnotation other)

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder mergeFrom(AppPlatformCloudFunctionRequest.StructedInputAnnotation other)
Parameter
Name Description
other AppPlatformCloudFunctionRequest.StructedInputAnnotation
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder
Overrides

setAnnotation(Struct value)

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder setAnnotation(Struct value)

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 2;

Parameter
Name Description
value Struct
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder

setAnnotation(Struct.Builder builderForValue)

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder setAnnotation(Struct.Builder builderForValue)

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder
Overrides

setIngestionTimeMicros(long value)

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder setIngestionTimeMicros(long value)

The ingestion time of the current annotation.

int64 ingestion_time_micros = 1;

Parameter
Name Description
value long

The ingestionTimeMicros to set.

Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder
Overrides