Class ToolParameterKVMatchSpec.Builder (3.45.0)

public static final class ToolParameterKVMatchSpec.Builder extends GeneratedMessageV3.Builder<ToolParameterKVMatchSpec.Builder> implements ToolParameterKVMatchSpecOrBuilder

Spec for tool parameter key value match metric.

Protobuf type google.cloud.aiplatform.v1beta1.ToolParameterKVMatchSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ToolParameterKVMatchSpec build()
Returns
Type Description
ToolParameterKVMatchSpec

buildPartial()

public ToolParameterKVMatchSpec buildPartial()
Returns
Type Description
ToolParameterKVMatchSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUseStrictStringMatch()

public ToolParameterKVMatchSpec.Builder clearUseStrictStringMatch()

Optional. Whether to use STRCIT string match on parameter values.

bool use_strict_string_match = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ToolParameterKVMatchSpec.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ToolParameterKVMatchSpec getDefaultInstanceForType()
Returns
Type Description
ToolParameterKVMatchSpec

getDescriptorForType()

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

getUseStrictStringMatch()

public boolean getUseStrictStringMatch()

Optional. Whether to use STRCIT string match on parameter values.

bool use_strict_string_match = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The useStrictStringMatch.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ToolParameterKVMatchSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUseStrictStringMatch(boolean value)

public ToolParameterKVMatchSpec.Builder setUseStrictStringMatch(boolean value)

Optional. Whether to use STRCIT string match on parameter values.

bool use_strict_string_match = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The useStrictStringMatch to set.

Returns
Type Description
ToolParameterKVMatchSpec.Builder

This builder for chaining.