Class ToolParameterKVMatchInput (3.41.0)

public final class ToolParameterKVMatchInput extends GeneratedMessageV3 implements ToolParameterKVMatchInputOrBuilder

Input for tool parameter key value match metric.

Protobuf type google.cloud.aiplatform.v1beta1.ToolParameterKVMatchInput

Static Fields

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
TypeDescription
int

METRIC_SPEC_FIELD_NUMBER

public static final int METRIC_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ToolParameterKVMatchInput getDefaultInstance()
Returns
TypeDescription
ToolParameterKVMatchInput

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ToolParameterKVMatchInput.Builder newBuilder()
Returns
TypeDescription
ToolParameterKVMatchInput.Builder

newBuilder(ToolParameterKVMatchInput prototype)

public static ToolParameterKVMatchInput.Builder newBuilder(ToolParameterKVMatchInput prototype)
Parameter
NameDescription
prototypeToolParameterKVMatchInput
Returns
TypeDescription
ToolParameterKVMatchInput.Builder

parseDelimitedFrom(InputStream input)

public static ToolParameterKVMatchInput parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ToolParameterKVMatchInput
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolParameterKVMatchInput parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolParameterKVMatchInput
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ToolParameterKVMatchInput parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ToolParameterKVMatchInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ToolParameterKVMatchInput parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolParameterKVMatchInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ToolParameterKVMatchInput parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ToolParameterKVMatchInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ToolParameterKVMatchInput parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolParameterKVMatchInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ToolParameterKVMatchInput parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ToolParameterKVMatchInput
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolParameterKVMatchInput parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolParameterKVMatchInput
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ToolParameterKVMatchInput parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ToolParameterKVMatchInput
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ToolParameterKVMatchInput parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolParameterKVMatchInput
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ToolParameterKVMatchInput parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ToolParameterKVMatchInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ToolParameterKVMatchInput parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ToolParameterKVMatchInput
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ToolParameterKVMatchInput> parser()
Returns
TypeDescription
Parser<ToolParameterKVMatchInput>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ToolParameterKVMatchInput getDefaultInstanceForType()
Returns
TypeDescription
ToolParameterKVMatchInput

getInstances(int index)

public ToolParameterKVMatchInstance getInstances(int index)

Required. Repeated tool parameter key value match instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolParameterKVMatchInstance

getInstancesCount()

public int getInstancesCount()

Required. Repeated tool parameter key value match instances.

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

Returns
TypeDescription
int

getInstancesList()

public List<ToolParameterKVMatchInstance> getInstancesList()

Required. Repeated tool parameter key value match instances.

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

Returns
TypeDescription
List<ToolParameterKVMatchInstance>

getInstancesOrBuilder(int index)

public ToolParameterKVMatchInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated tool parameter key value match instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolParameterKVMatchInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends ToolParameterKVMatchInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated tool parameter key value match instances.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.ToolParameterKVMatchInstanceOrBuilder>

getMetricSpec()

public ToolParameterKVMatchSpec getMetricSpec()

Required. Spec for tool parameter key value match metric.

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

Returns
TypeDescription
ToolParameterKVMatchSpec

The metricSpec.

getMetricSpecOrBuilder()

public ToolParameterKVMatchSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for tool parameter key value match metric.

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

Returns
TypeDescription
ToolParameterKVMatchSpecOrBuilder

getParserForType()

public Parser<ToolParameterKVMatchInput> getParserForType()
Returns
TypeDescription
Parser<ToolParameterKVMatchInput>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for tool parameter key value match metric.

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

Returns
TypeDescription
boolean

Whether the metricSpec field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ToolParameterKVMatchInput.Builder newBuilderForType()
Returns
TypeDescription
ToolParameterKVMatchInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ToolParameterKVMatchInput.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ToolParameterKVMatchInput.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ToolParameterKVMatchInput.Builder toBuilder()
Returns
TypeDescription
ToolParameterKVMatchInput.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException