Class AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder (0.40.0)

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

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder clear()
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder
Overrides

clearAnnotation()

public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder clearAnnotation()

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 1;

Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder

getAnnotation()

public Struct getAnnotation()

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 1;

Returns
Type Description
Struct

The annotation.

getAnnotationBuilder()

public Struct.Builder getAnnotationBuilder()

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 1;

Returns
Type Description
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnnotation(Struct value)

public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder mergeAnnotation(Struct value)

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 1;

Parameter
Name Description
value Struct
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder

mergeFrom(AppPlatformCloudFunctionResponse.StructedOutputAnnotation other)

public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder mergeFrom(AppPlatformCloudFunctionResponse.StructedOutputAnnotation other)
Parameter
Name Description
other AppPlatformCloudFunctionResponse.StructedOutputAnnotation
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder
Overrides

setAnnotation(Struct value)

public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder setAnnotation(Struct value)

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 1;

Parameter
Name Description
value Struct
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder

setAnnotation(Struct.Builder builderForValue)

public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder setAnnotation(Struct.Builder builderForValue)

The struct format of the actual annotation.

.google.protobuf.Struct annotation = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder