Class ToolNameMatchInput (3.40.0)

public final class ToolNameMatchInput extends GeneratedMessageV3 implements ToolNameMatchInputOrBuilder

Input for tool name match metric.

Protobuf type google.cloud.aiplatform.v1beta1.ToolNameMatchInput

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 ToolNameMatchInput getDefaultInstance()
Returns
TypeDescription
ToolNameMatchInput

getDescriptor()

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

newBuilder()

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

newBuilder(ToolNameMatchInput prototype)

public static ToolNameMatchInput.Builder newBuilder(ToolNameMatchInput prototype)
Parameter
NameDescription
prototypeToolNameMatchInput
Returns
TypeDescription
ToolNameMatchInput.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ToolNameMatchInput getDefaultInstanceForType()
Returns
TypeDescription
ToolNameMatchInput

getInstances(int index)

public ToolNameMatchInstance getInstances(int index)

Required. Repeated tool name match instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolNameMatchInstance

getInstancesCount()

public int getInstancesCount()

Required. Repeated tool name match instances.

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

Returns
TypeDescription
int

getInstancesList()

public List<ToolNameMatchInstance> getInstancesList()

Required. Repeated tool name match instances.

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

Returns
TypeDescription
List<ToolNameMatchInstance>

getInstancesOrBuilder(int index)

public ToolNameMatchInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated tool name match instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ToolNameMatchInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends ToolNameMatchInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated tool name match instances.

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

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

getMetricSpec()

public ToolNameMatchSpec getMetricSpec()

Required. Spec for tool name match metric.

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

Returns
TypeDescription
ToolNameMatchSpec

The metricSpec.

getMetricSpecOrBuilder()

public ToolNameMatchSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for tool name match metric.

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

Returns
TypeDescription
ToolNameMatchSpecOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for tool name match metric.

.google.cloud.aiplatform.v1beta1.ToolNameMatchSpec 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 ToolNameMatchInput.Builder newBuilderForType()
Returns
TypeDescription
ToolNameMatchInput.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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