Class ToolCallValidSpec.Builder (3.56.0)

public static final class ToolCallValidSpec.Builder extends GeneratedMessageV3.Builder<ToolCallValidSpec.Builder> implements ToolCallValidSpecOrBuilder

Spec for tool call valid metric.

Protobuf type google.cloud.aiplatform.v1beta1.ToolCallValidSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ToolCallValidSpec build()
Returns
Type Description
ToolCallValidSpec

buildPartial()

public ToolCallValidSpec buildPartial()
Returns
Type Description
ToolCallValidSpec

clear()

public ToolCallValidSpec.Builder clear()
Returns
Type Description
ToolCallValidSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ToolCallValidSpec.Builder clone()
Returns
Type Description
ToolCallValidSpec.Builder
Overrides

getDefaultInstanceForType()

public ToolCallValidSpec getDefaultInstanceForType()
Returns
Type Description
ToolCallValidSpec

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ToolCallValidSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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