public static final class IndexDatapoint.NumericRestriction extends 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int NAMESPACE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int OP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VALUE_DOUBLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VALUE_FLOAT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int VALUE_INT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static IndexDatapoint.NumericRestriction getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static IndexDatapoint.NumericRestriction.Builder newBuilder()
public static IndexDatapoint.NumericRestriction.Builder newBuilder(IndexDatapoint.NumericRestriction prototype)
public static IndexDatapoint.NumericRestriction parseDelimitedFrom(InputStream input)
public static IndexDatapoint.NumericRestriction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IndexDatapoint.NumericRestriction parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static IndexDatapoint.NumericRestriction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IndexDatapoint.NumericRestriction parseFrom(ByteString data)
public static IndexDatapoint.NumericRestriction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IndexDatapoint.NumericRestriction parseFrom(CodedInputStream input)
public static IndexDatapoint.NumericRestriction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IndexDatapoint.NumericRestriction parseFrom(InputStream input)
public static IndexDatapoint.NumericRestriction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IndexDatapoint.NumericRestriction parseFrom(ByteBuffer data)
public static IndexDatapoint.NumericRestriction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<IndexDatapoint.NumericRestriction> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public IndexDatapoint.NumericRestriction getDefaultInstanceForType()
public String getNamespace()
The namespace of this restriction. e.g.: cost.
string namespace = 1;
Returns |
---|
Type | Description |
String | The namespace.
|
public ByteString getNamespaceBytes()
The namespace of this restriction. e.g.: cost.
string namespace = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for namespace.
|
public 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;
This MUST be specified for queries and must NOT be specified for
datapoints.
.google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator op = 5;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for op.
|
public Parser<IndexDatapoint.NumericRestriction> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public IndexDatapoint.NumericRestriction.ValueCase getValueCase()
public double getValueDouble()
Represents 64 bit float.
double value_double = 4;
Returns |
---|
Type | Description |
double | The valueDouble.
|
public float getValueFloat()
Represents 32 bit float.
float value_float = 3;
Returns |
---|
Type | Description |
float | The valueFloat.
|
public long getValueInt()
Represents 64 bit integer.
int64 value_int = 2;
Returns |
---|
Type | Description |
long | The valueInt.
|
public boolean hasValueDouble()
Represents 64 bit float.
double value_double = 4;
Returns |
---|
Type | Description |
boolean | Whether the valueDouble field is set.
|
public boolean hasValueFloat()
Represents 32 bit float.
float value_float = 3;
Returns |
---|
Type | Description |
boolean | Whether the valueFloat field is set.
|
public boolean hasValueInt()
Represents 64 bit integer.
int64 value_int = 2;
Returns |
---|
Type | Description |
boolean | Whether the valueInt field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public IndexDatapoint.NumericRestriction.Builder newBuilderForType()
protected IndexDatapoint.NumericRestriction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public IndexDatapoint.NumericRestriction.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides