Class AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder (0.4.0)

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AppPlatformCloudFunctionResponse.StructedOutputAnnotation.Builder
Overrides