public static final class IndexDatapoint.NumericRestriction extends com.google.protobuf.GeneratedMessageV3 implements IndexDatapoint.NumericRestrictionOrBuilder
This field allows restricts to be based on numeric comparisons rather than categorical tokens.Protobuf type
google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction| Modifier and Type | Class and Description |
|---|---|
static class |
IndexDatapoint.NumericRestriction.Builder
This field allows restricts to be based on numeric comparisons rather
than categorical tokens.
|
static class |
IndexDatapoint.NumericRestriction.Operator
Which comparison operator to use.
|
static class |
IndexDatapoint.NumericRestriction.ValueCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
NAMESPACE_FIELD_NUMBER |
static int |
OP_FIELD_NUMBER |
static int |
VALUE_DOUBLE_FIELD_NUMBER |
static int |
VALUE_FLOAT_FIELD_NUMBER |
static int |
VALUE_INT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static IndexDatapoint.NumericRestriction |
getDefaultInstance() |
IndexDatapoint.NumericRestriction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getNamespace()
The namespace of this restriction.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
The namespace of this restriction.
|
IndexDatapoint.NumericRestriction.Operator |
getOp()
This MUST be specified for queries and must NOT be specified for
datapoints.
|
int |
getOpValue()
This MUST be specified for queries and must NOT be specified for
datapoints.
|
com.google.protobuf.Parser<IndexDatapoint.NumericRestriction> |
getParserForType() |
int |
getSerializedSize() |
IndexDatapoint.NumericRestriction.ValueCase |
getValueCase() |
double |
getValueDouble()
Represents 64 bit float.
|
float |
getValueFloat()
Represents 32 bit float.
|
long |
getValueInt()
Represents 64 bit integer.
|
int |
hashCode() |
boolean |
hasValueDouble()
Represents 64 bit float.
|
boolean |
hasValueFloat()
Represents 32 bit float.
|
boolean |
hasValueInt()
Represents 64 bit integer.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static IndexDatapoint.NumericRestriction.Builder |
newBuilder() |
static IndexDatapoint.NumericRestriction.Builder |
newBuilder(IndexDatapoint.NumericRestriction prototype) |
IndexDatapoint.NumericRestriction.Builder |
newBuilderForType() |
protected IndexDatapoint.NumericRestriction.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static IndexDatapoint.NumericRestriction |
parseDelimitedFrom(InputStream input) |
static IndexDatapoint.NumericRestriction |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IndexDatapoint.NumericRestriction |
parseFrom(byte[] data) |
static IndexDatapoint.NumericRestriction |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IndexDatapoint.NumericRestriction |
parseFrom(ByteBuffer data) |
static IndexDatapoint.NumericRestriction |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IndexDatapoint.NumericRestriction |
parseFrom(com.google.protobuf.ByteString data) |
static IndexDatapoint.NumericRestriction |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IndexDatapoint.NumericRestriction |
parseFrom(com.google.protobuf.CodedInputStream input) |
static IndexDatapoint.NumericRestriction |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IndexDatapoint.NumericRestriction |
parseFrom(InputStream input) |
static IndexDatapoint.NumericRestriction |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<IndexDatapoint.NumericRestriction> |
parser() |
IndexDatapoint.NumericRestriction.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VALUE_INT_FIELD_NUMBER
public static final int VALUE_FLOAT_FIELD_NUMBER
public static final int VALUE_DOUBLE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
public static final int OP_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public IndexDatapoint.NumericRestriction.ValueCase getValueCase()
getValueCase in interface IndexDatapoint.NumericRestrictionOrBuilderpublic boolean hasValueInt()
Represents 64 bit integer.
int64 value_int = 2;hasValueInt in interface IndexDatapoint.NumericRestrictionOrBuilderpublic long getValueInt()
Represents 64 bit integer.
int64 value_int = 2;getValueInt in interface IndexDatapoint.NumericRestrictionOrBuilderpublic boolean hasValueFloat()
Represents 32 bit float.
float value_float = 3;hasValueFloat in interface IndexDatapoint.NumericRestrictionOrBuilderpublic float getValueFloat()
Represents 32 bit float.
float value_float = 3;getValueFloat in interface IndexDatapoint.NumericRestrictionOrBuilderpublic boolean hasValueDouble()
Represents 64 bit float.
double value_double = 4;hasValueDouble in interface IndexDatapoint.NumericRestrictionOrBuilderpublic double getValueDouble()
Represents 64 bit float.
double value_double = 4;getValueDouble in interface IndexDatapoint.NumericRestrictionOrBuilderpublic String getNamespace()
The namespace of this restriction. e.g.: cost.
string namespace = 1;getNamespace in interface IndexDatapoint.NumericRestrictionOrBuilderpublic com.google.protobuf.ByteString getNamespaceBytes()
The namespace of this restriction. e.g.: cost.
string namespace = 1;getNamespaceBytes in interface IndexDatapoint.NumericRestrictionOrBuilderpublic int getOpValue()
This MUST be specified for queries and must NOT be specified for datapoints.
.google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator op = 5;getOpValue in interface IndexDatapoint.NumericRestrictionOrBuilderpublic IndexDatapoint.NumericRestriction.Operator getOp()
This MUST be specified for queries and must NOT be specified for datapoints.
.google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator op = 5;getOp in interface IndexDatapoint.NumericRestrictionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static IndexDatapoint.NumericRestriction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IndexDatapoint.NumericRestriction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IndexDatapoint.NumericRestriction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IndexDatapoint.NumericRestriction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IndexDatapoint.NumericRestriction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IndexDatapoint.NumericRestriction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IndexDatapoint.NumericRestriction parseFrom(InputStream input) throws IOException
IOExceptionpublic static IndexDatapoint.NumericRestriction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static IndexDatapoint.NumericRestriction parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static IndexDatapoint.NumericRestriction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static IndexDatapoint.NumericRestriction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static IndexDatapoint.NumericRestriction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic IndexDatapoint.NumericRestriction.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static IndexDatapoint.NumericRestriction.Builder newBuilder()
public static IndexDatapoint.NumericRestriction.Builder newBuilder(IndexDatapoint.NumericRestriction prototype)
public IndexDatapoint.NumericRestriction.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected IndexDatapoint.NumericRestriction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static IndexDatapoint.NumericRestriction getDefaultInstance()
public static com.google.protobuf.Parser<IndexDatapoint.NumericRestriction> parser()
public com.google.protobuf.Parser<IndexDatapoint.NumericRestriction> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public IndexDatapoint.NumericRestriction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.