Class ToolParameterKVMatchSpec.Builder (3.84.0)

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

Spec for tool parameter key value match metric.

Protobuf type google.cloud.aiplatform.v1.ToolParameterKVMatchSpec

Static Methods

getDescriptor()

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

Methods

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

clearUseStrictStringMatch()

public ToolParameterKVMatchSpec.Builder clearUseStrictStringMatch()

Optional. Whether to use STRICT 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.

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 STRICT string match on parameter values.

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

Returns
Type Description
boolean

The useStrictStringMatch.

internalGetFieldAccessorTable()

protected GeneratedMessage.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

setUseStrictStringMatch(boolean value)

public ToolParameterKVMatchSpec.Builder setUseStrictStringMatch(boolean value)

Optional. Whether to use STRICT 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.