Class ToolCallValidSpec.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ToolCallValidSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ToolCallValidSpec.Builder
Overrides

build()

public ToolCallValidSpec build()
Returns
TypeDescription
ToolCallValidSpec

buildPartial()

public ToolCallValidSpec buildPartial()
Returns
TypeDescription
ToolCallValidSpec

clear()

public ToolCallValidSpec.Builder clear()
Returns
TypeDescription
ToolCallValidSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ToolCallValidSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ToolCallValidSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ToolCallValidSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ToolCallValidSpec.Builder
Overrides

clone()

public ToolCallValidSpec.Builder clone()
Returns
TypeDescription
ToolCallValidSpec.Builder
Overrides

getDefaultInstanceForType()

public ToolCallValidSpec getDefaultInstanceForType()
Returns
TypeDescription
ToolCallValidSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ToolCallValidSpec other)

public ToolCallValidSpec.Builder mergeFrom(ToolCallValidSpec other)
Parameter
NameDescription
otherToolCallValidSpec
Returns
TypeDescription
ToolCallValidSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ToolCallValidSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolCallValidSpec.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ToolCallValidSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ToolCallValidSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ToolCallValidSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ToolCallValidSpec.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ToolCallValidSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ToolCallValidSpec.Builder
Overrides

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

public ToolCallValidSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ToolCallValidSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ToolCallValidSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ToolCallValidSpec.Builder
Overrides