Class ToolNameMatchSpec.Builder (3.52.0)

public static final class ToolNameMatchSpec.Builder extends GeneratedMessageV3.Builder<ToolNameMatchSpec.Builder> implements ToolNameMatchSpecOrBuilder

Spec for tool name match metric.

Protobuf type google.cloud.aiplatform.v1.ToolNameMatchSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ToolNameMatchSpec build()
Returns
Type Description
ToolNameMatchSpec

buildPartial()

public ToolNameMatchSpec buildPartial()
Returns
Type Description
ToolNameMatchSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ToolNameMatchSpec getDefaultInstanceForType()
Returns
Type Description
ToolNameMatchSpec

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(ToolNameMatchSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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