Class ToolParameterKeyMatchInput (3.40.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
TypeDescription
int

METRIC_SPEC_FIELD_NUMBER

public static final int METRIC_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ToolParameterKeyMatchInput getDefaultInstance()
Returns
TypeDescription
ToolParameterKeyMatchInput

getDescriptor()

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

newBuilder()

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

newBuilder(ToolParameterKeyMatchInput prototype)

public static ToolParameterKeyMatchInput.Builder newBuilder(ToolParameterKeyMatchInput prototype)
Parameter
NameDescription
prototypeToolParameterKeyMatchInput
Returns
TypeDescription
ToolParameterKeyMatchInput.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ToolParameterKeyMatchInput getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ToolParameterKeyMatchSpecOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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 ToolParameterKeyMatchInput.Builder newBuilderForType()
Returns
TypeDescription
ToolParameterKeyMatchInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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