public static final class IndexDatapoint.NumericRestriction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IndexDatapoint.NumericRestriction.Builder> 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 | Method and Description |
|---|---|
IndexDatapoint.NumericRestriction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IndexDatapoint.NumericRestriction |
build() |
IndexDatapoint.NumericRestriction |
buildPartial() |
IndexDatapoint.NumericRestriction.Builder |
clear() |
IndexDatapoint.NumericRestriction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
IndexDatapoint.NumericRestriction.Builder |
clearNamespace()
The namespace of this restriction.
|
IndexDatapoint.NumericRestriction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
IndexDatapoint.NumericRestriction.Builder |
clearOp()
This MUST be specified for queries and must NOT be specified for
datapoints.
|
IndexDatapoint.NumericRestriction.Builder |
clearValue() |
IndexDatapoint.NumericRestriction.Builder |
clearValueDouble()
Represents 64 bit float.
|
IndexDatapoint.NumericRestriction.Builder |
clearValueFloat()
Represents 32 bit float.
|
IndexDatapoint.NumericRestriction.Builder |
clearValueInt()
Represents 64 bit integer.
|
IndexDatapoint.NumericRestriction.Builder |
clone() |
IndexDatapoint.NumericRestriction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
IndexDatapoint.NumericRestriction.ValueCase |
getValueCase() |
double |
getValueDouble()
Represents 64 bit float.
|
float |
getValueFloat()
Represents 32 bit float.
|
long |
getValueInt()
Represents 64 bit integer.
|
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() |
IndexDatapoint.NumericRestriction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
IndexDatapoint.NumericRestriction.Builder |
mergeFrom(IndexDatapoint.NumericRestriction other) |
IndexDatapoint.NumericRestriction.Builder |
mergeFrom(com.google.protobuf.Message other) |
IndexDatapoint.NumericRestriction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
IndexDatapoint.NumericRestriction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IndexDatapoint.NumericRestriction.Builder |
setNamespace(String value)
The namespace of this restriction.
|
IndexDatapoint.NumericRestriction.Builder |
setNamespaceBytes(com.google.protobuf.ByteString value)
The namespace of this restriction.
|
IndexDatapoint.NumericRestriction.Builder |
setOp(IndexDatapoint.NumericRestriction.Operator value)
This MUST be specified for queries and must NOT be specified for
datapoints.
|
IndexDatapoint.NumericRestriction.Builder |
setOpValue(int value)
This MUST be specified for queries and must NOT be specified for
datapoints.
|
IndexDatapoint.NumericRestriction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
IndexDatapoint.NumericRestriction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
IndexDatapoint.NumericRestriction.Builder |
setValueDouble(double value)
Represents 64 bit float.
|
IndexDatapoint.NumericRestriction.Builder |
setValueFloat(float value)
Represents 32 bit float.
|
IndexDatapoint.NumericRestriction.Builder |
setValueInt(long value)
Represents 64 bit integer.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IndexDatapoint.NumericRestriction.Builder>public IndexDatapoint.NumericRestriction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<IndexDatapoint.NumericRestriction.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<IndexDatapoint.NumericRestriction.Builder>public IndexDatapoint.NumericRestriction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic IndexDatapoint.NumericRestriction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic IndexDatapoint.NumericRestriction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic IndexDatapoint.NumericRestriction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<IndexDatapoint.NumericRestriction.Builder>public IndexDatapoint.NumericRestriction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexDatapoint.NumericRestriction.Builder>public IndexDatapoint.NumericRestriction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexDatapoint.NumericRestriction.Builder>public IndexDatapoint.NumericRestriction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IndexDatapoint.NumericRestriction.Builder>public IndexDatapoint.NumericRestriction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexDatapoint.NumericRestriction.Builder>public IndexDatapoint.NumericRestriction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IndexDatapoint.NumericRestriction.Builder>public IndexDatapoint.NumericRestriction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IndexDatapoint.NumericRestriction.Builder>public IndexDatapoint.NumericRestriction.Builder mergeFrom(IndexDatapoint.NumericRestriction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<IndexDatapoint.NumericRestriction.Builder>public IndexDatapoint.NumericRestriction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IndexDatapoint.NumericRestriction.Builder>IOExceptionpublic IndexDatapoint.NumericRestriction.ValueCase getValueCase()
getValueCase in interface IndexDatapoint.NumericRestrictionOrBuilderpublic IndexDatapoint.NumericRestriction.Builder clearValue()
public 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 IndexDatapoint.NumericRestriction.Builder setValueInt(long value)
Represents 64 bit integer.
int64 value_int = 2;value - The valueInt to set.public IndexDatapoint.NumericRestriction.Builder clearValueInt()
Represents 64 bit integer.
int64 value_int = 2;public 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 IndexDatapoint.NumericRestriction.Builder setValueFloat(float value)
Represents 32 bit float.
float value_float = 3;value - The valueFloat to set.public IndexDatapoint.NumericRestriction.Builder clearValueFloat()
Represents 32 bit float.
float value_float = 3;public 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 IndexDatapoint.NumericRestriction.Builder setValueDouble(double value)
Represents 64 bit float.
double value_double = 4;value - The valueDouble to set.public IndexDatapoint.NumericRestriction.Builder clearValueDouble()
Represents 64 bit float.
double value_double = 4;public 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 IndexDatapoint.NumericRestriction.Builder setNamespace(String value)
The namespace of this restriction. e.g.: cost.
string namespace = 1;value - The namespace to set.public IndexDatapoint.NumericRestriction.Builder clearNamespace()
The namespace of this restriction. e.g.: cost.
string namespace = 1;public IndexDatapoint.NumericRestriction.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
The namespace of this restriction. e.g.: cost.
string namespace = 1;value - The bytes for namespace to set.public 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.Builder setOpValue(int value)
This MUST be specified for queries and must NOT be specified for datapoints.
.google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator op = 5;value - The enum numeric value on the wire for op to set.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;getOp in interface IndexDatapoint.NumericRestrictionOrBuilderpublic IndexDatapoint.NumericRestriction.Builder setOp(IndexDatapoint.NumericRestriction.Operator value)
This MUST be specified for queries and must NOT be specified for datapoints.
.google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator op = 5;value - The op to set.public IndexDatapoint.NumericRestriction.Builder clearOp()
This MUST be specified for queries and must NOT be specified for datapoints.
.google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator op = 5;public final IndexDatapoint.NumericRestriction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IndexDatapoint.NumericRestriction.Builder>public final IndexDatapoint.NumericRestriction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IndexDatapoint.NumericRestriction.Builder>Copyright © 2023 Google LLC. All rights reserved.