Class AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder (0.40.0)

public static final class AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder extends GeneratedMessage.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

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AppPlatformCloudFunctionRequest.StructedInputAnnotation.Builder

Static Methods

getDescriptor()

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

Methods

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

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.

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 GeneratedMessage.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

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

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.