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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ToolParameterKVMatchSpec build()
Returns
TypeDescription
ToolParameterKVMatchSpec

buildPartial()

public ToolParameterKVMatchSpec buildPartial()
Returns
TypeDescription
ToolParameterKVMatchSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ToolParameterKVMatchSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ToolParameterKVMatchSpec.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ToolParameterKVMatchSpec getDefaultInstanceForType()
Returns
TypeDescription
ToolParameterKVMatchSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The useStrictStringMatch.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ToolParameterKVMatchSpec other)

public ToolParameterKVMatchSpec.Builder mergeFrom(ToolParameterKVMatchSpec other)
Parameter
NameDescription
otherToolParameterKVMatchSpec
Returns
TypeDescription
ToolParameterKVMatchSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ToolParameterKVMatchSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The useStrictStringMatch to set.

Returns
TypeDescription
ToolParameterKVMatchSpec.Builder

This builder for chaining.