Class ToolParameterKeyMatchInput (3.43.0)

public final class ToolParameterKeyMatchInput extends GeneratedMessageV3 implements ToolParameterKeyMatchInputOrBuilder

Input for tool parameter key match metric.

Protobuf type google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchInput

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 ToolParameterKeyMatchInput getDefaultInstance()
Returns
Type Description
ToolParameterKeyMatchInput

getDescriptor()

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

newBuilder()

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

newBuilder(ToolParameterKeyMatchInput prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ToolParameterKeyMatchInput getDefaultInstanceForType()
Returns
Type Description
ToolParameterKeyMatchInput

getInstances(int index)

public ToolParameterKeyMatchInstance getInstances(int index)

Required. Repeated tool parameter key match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKeyMatchInstance

getInstancesCount()

public int getInstancesCount()

Required. Repeated tool parameter key match instances.

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

Returns
Type Description
int

getInstancesList()

public List<ToolParameterKeyMatchInstance> getInstancesList()

Required. Repeated tool parameter key match instances.

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

Returns
Type Description
List<ToolParameterKeyMatchInstance>

getInstancesOrBuilder(int index)

public ToolParameterKeyMatchInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated tool parameter key match instances.

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

Parameter
Name Description
index int
Returns
Type Description
ToolParameterKeyMatchInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends ToolParameterKeyMatchInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated tool parameter key match instances.

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

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchInstanceOrBuilder>

getMetricSpec()

public ToolParameterKeyMatchSpec getMetricSpec()

Required. Spec for tool parameter key match metric.

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

Returns
Type Description
ToolParameterKeyMatchSpec

The metricSpec.

getMetricSpecOrBuilder()

public ToolParameterKeyMatchSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for tool parameter key match metric.

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

Returns
Type Description
ToolParameterKeyMatchSpecOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for tool parameter key match metric.

.google.cloud.aiplatform.v1beta1.ToolParameterKeyMatchSpec 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 ToolParameterKeyMatchInput.Builder newBuilderForType()
Returns
Type Description
ToolParameterKeyMatchInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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