Class ToolParameterKVMatchInput (3.53.0)

public final class ToolParameterKVMatchInput extends GeneratedMessageV3 implements ToolParameterKVMatchInputOrBuilder

Input for tool parameter key value match metric.

Protobuf type google.cloud.aiplatform.v1.ToolParameterKVMatchInput

Static Fields

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
Type Description
int

METRIC_SPEC_FIELD_NUMBER

public static final int METRIC_SPEC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ToolParameterKVMatchInput getDefaultInstance()
Returns
Type Description
ToolParameterKVMatchInput

getDescriptor()

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

newBuilder()

public static ToolParameterKVMatchInput.Builder newBuilder()
Returns
Type Description
ToolParameterKVMatchInput.Builder

newBuilder(ToolParameterKVMatchInput prototype)

public static ToolParameterKVMatchInput.Builder newBuilder(ToolParameterKVMatchInput prototype)
Parameter
Name Description
prototype ToolParameterKVMatchInput
Returns
Type Description
ToolParameterKVMatchInput.Builder

parseDelimitedFrom(InputStream input)

public static ToolParameterKVMatchInput parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ToolParameterKVMatchInput
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolParameterKVMatchInput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ToolParameterKVMatchInput
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ToolParameterKVMatchInput parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ToolParameterKVMatchInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ToolParameterKVMatchInput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ToolParameterKVMatchInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ToolParameterKVMatchInput parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ToolParameterKVMatchInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ToolParameterKVMatchInput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ToolParameterKVMatchInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ToolParameterKVMatchInput parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ToolParameterKVMatchInput
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolParameterKVMatchInput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ToolParameterKVMatchInput
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ToolParameterKVMatchInput parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ToolParameterKVMatchInput
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolParameterKVMatchInput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ToolParameterKVMatchInput
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ToolParameterKVMatchInput parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ToolParameterKVMatchInput
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ToolParameterKVMatchInput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ToolParameterKVMatchInput
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ToolParameterKVMatchInput> parser()
Returns
Type Description
Parser<ToolParameterKVMatchInput>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ToolParameterKVMatchInput getDefaultInstanceForType()
Returns
Type Description
ToolParameterKVMatchInput

getInstances(int index)

public ToolParameterKVMatchInstance getInstances(int index)

Required. Repeated tool parameter key value match instances.

repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKVMatchInstance

getInstancesCount()

public int getInstancesCount()

Required. Repeated tool parameter key value match instances.

repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getInstancesList()

public List<ToolParameterKVMatchInstance> getInstancesList()

Required. Repeated tool parameter key value match instances.

repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<ToolParameterKVMatchInstance>

getInstancesOrBuilder(int index)

public ToolParameterKVMatchInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated tool parameter key value match instances.

repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKVMatchInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends ToolParameterKVMatchInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated tool parameter key value match instances.

repeated .google.cloud.aiplatform.v1.ToolParameterKVMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.ToolParameterKVMatchInstanceOrBuilder>

getMetricSpec()

public ToolParameterKVMatchSpec getMetricSpec()

Required. Spec for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolParameterKVMatchSpec

The metricSpec.

getMetricSpecOrBuilder()

public ToolParameterKVMatchSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ToolParameterKVMatchSpecOrBuilder

getParserForType()

public Parser<ToolParameterKVMatchInput> getParserForType()
Returns
Type Description
Parser<ToolParameterKVMatchInput>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for tool parameter key value match metric.

.google.cloud.aiplatform.v1.ToolParameterKVMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the metricSpec field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ToolParameterKVMatchInput.Builder newBuilderForType()
Returns
Type Description
ToolParameterKVMatchInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ToolParameterKVMatchInput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ToolParameterKVMatchInput.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ToolParameterKVMatchInput.Builder toBuilder()
Returns
Type Description
ToolParameterKVMatchInput.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException