Class ExactMatchInput (3.40.0)

public final class ExactMatchInput extends GeneratedMessageV3 implements ExactMatchInputOrBuilder

Input for exact match metric.

Protobuf type google.cloud.aiplatform.v1beta1.ExactMatchInput

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

getDescriptor()

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

newBuilder()

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

newBuilder(ExactMatchInput prototype)

public static ExactMatchInput.Builder newBuilder(ExactMatchInput prototype)
Parameter
NameDescription
prototypeExactMatchInput
Returns
TypeDescription
ExactMatchInput.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ExactMatchInput getDefaultInstanceForType()
Returns
TypeDescription
ExactMatchInput

getInstances(int index)

public ExactMatchInstance getInstances(int index)

Required. Repeated exact match instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ExactMatchInstance

getInstancesCount()

public int getInstancesCount()

Required. Repeated exact match instances.

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

Returns
TypeDescription
int

getInstancesList()

public List<ExactMatchInstance> getInstancesList()

Required. Repeated exact match instances.

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

Returns
TypeDescription
List<ExactMatchInstance>

getInstancesOrBuilder(int index)

public ExactMatchInstanceOrBuilder getInstancesOrBuilder(int index)

Required. Repeated exact match instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ExactMatchInstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends ExactMatchInstanceOrBuilder> getInstancesOrBuilderList()

Required. Repeated exact match instances.

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

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

getMetricSpec()

public ExactMatchSpec getMetricSpec()

Required. Spec for exact match metric.

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

Returns
TypeDescription
ExactMatchSpec

The metricSpec.

getMetricSpecOrBuilder()

public ExactMatchSpecOrBuilder getMetricSpecOrBuilder()

Required. Spec for exact match metric.

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

Returns
TypeDescription
ExactMatchSpecOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasMetricSpec()

public boolean hasMetricSpec()

Required. Spec for exact match metric.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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