public static final class IndexDatapoint.Restriction extends com.google.protobuf.GeneratedMessageV3 implements IndexDatapoint.RestrictionOrBuilder
Restriction of a datapoint which describe its attributes(tokens) from each of several attribute categories(namespaces).Protobuf type
google.cloud.aiplatform.v1.IndexDatapoint.Restriction| Modifier and Type | Class and Description |
|---|---|
static class |
IndexDatapoint.Restriction.Builder
Restriction of a datapoint which describe its attributes(tokens) from each
of several attribute categories(namespaces).
|
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 |
ALLOW_LIST_FIELD_NUMBER |
static int |
DENY_LIST_FIELD_NUMBER |
static int |
NAMESPACE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAllowList(int index)
The attributes to allow in this namespace.
|
com.google.protobuf.ByteString |
getAllowListBytes(int index)
The attributes to allow in this namespace.
|
int |
getAllowListCount()
The attributes to allow in this namespace.
|
com.google.protobuf.ProtocolStringList |
getAllowListList()
The attributes to allow in this namespace.
|
static IndexDatapoint.Restriction |
getDefaultInstance() |
IndexDatapoint.Restriction |
getDefaultInstanceForType() |
String |
getDenyList(int index)
The attributes to deny in this namespace.
|
com.google.protobuf.ByteString |
getDenyListBytes(int index)
The attributes to deny in this namespace.
|
int |
getDenyListCount()
The attributes to deny in this namespace.
|
com.google.protobuf.ProtocolStringList |
getDenyListList()
The attributes to deny in this namespace.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getNamespace()
The namespace of this restriction.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
The namespace of this restriction.
|
com.google.protobuf.Parser<IndexDatapoint.Restriction> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static IndexDatapoint.Restriction.Builder |
newBuilder() |
static IndexDatapoint.Restriction.Builder |
newBuilder(IndexDatapoint.Restriction prototype) |
IndexDatapoint.Restriction.Builder |
newBuilderForType() |
protected IndexDatapoint.Restriction.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static IndexDatapoint.Restriction |
parseDelimitedFrom(InputStream input) |
static IndexDatapoint.Restriction |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IndexDatapoint.Restriction |
parseFrom(byte[] data) |
static IndexDatapoint.Restriction |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IndexDatapoint.Restriction |
parseFrom(ByteBuffer data) |
static IndexDatapoint.Restriction |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IndexDatapoint.Restriction |
parseFrom(com.google.protobuf.ByteString data) |
static IndexDatapoint.Restriction |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IndexDatapoint.Restriction |
parseFrom(com.google.protobuf.CodedInputStream input) |
static IndexDatapoint.Restriction |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IndexDatapoint.Restriction |
parseFrom(InputStream input) |
static IndexDatapoint.Restriction |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<IndexDatapoint.Restriction> |
parser() |
IndexDatapoint.Restriction.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 NAMESPACE_FIELD_NUMBER
public static final int ALLOW_LIST_FIELD_NUMBER
public static final int DENY_LIST_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 String getNamespace()
The namespace of this restriction. e.g.: color.
string namespace = 1;getNamespace in interface IndexDatapoint.RestrictionOrBuilderpublic com.google.protobuf.ByteString getNamespaceBytes()
The namespace of this restriction. e.g.: color.
string namespace = 1;getNamespaceBytes in interface IndexDatapoint.RestrictionOrBuilderpublic com.google.protobuf.ProtocolStringList getAllowListList()
The attributes to allow in this namespace. e.g.: 'red'
repeated string allow_list = 2;getAllowListList in interface IndexDatapoint.RestrictionOrBuilderpublic int getAllowListCount()
The attributes to allow in this namespace. e.g.: 'red'
repeated string allow_list = 2;getAllowListCount in interface IndexDatapoint.RestrictionOrBuilderpublic String getAllowList(int index)
The attributes to allow in this namespace. e.g.: 'red'
repeated string allow_list = 2;getAllowList in interface IndexDatapoint.RestrictionOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getAllowListBytes(int index)
The attributes to allow in this namespace. e.g.: 'red'
repeated string allow_list = 2;getAllowListBytes in interface IndexDatapoint.RestrictionOrBuilderindex - The index of the value to return.public com.google.protobuf.ProtocolStringList getDenyListList()
The attributes to deny in this namespace. e.g.: 'blue'
repeated string deny_list = 3;getDenyListList in interface IndexDatapoint.RestrictionOrBuilderpublic int getDenyListCount()
The attributes to deny in this namespace. e.g.: 'blue'
repeated string deny_list = 3;getDenyListCount in interface IndexDatapoint.RestrictionOrBuilderpublic String getDenyList(int index)
The attributes to deny in this namespace. e.g.: 'blue'
repeated string deny_list = 3;getDenyList in interface IndexDatapoint.RestrictionOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getDenyListBytes(int index)
The attributes to deny in this namespace. e.g.: 'blue'
repeated string deny_list = 3;getDenyListBytes in interface IndexDatapoint.RestrictionOrBuilderindex - The index of the value to return.public 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.Restriction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IndexDatapoint.Restriction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IndexDatapoint.Restriction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IndexDatapoint.Restriction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IndexDatapoint.Restriction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IndexDatapoint.Restriction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IndexDatapoint.Restriction parseFrom(InputStream input) throws IOException
IOExceptionpublic static IndexDatapoint.Restriction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static IndexDatapoint.Restriction parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static IndexDatapoint.Restriction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static IndexDatapoint.Restriction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static IndexDatapoint.Restriction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic IndexDatapoint.Restriction.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static IndexDatapoint.Restriction.Builder newBuilder()
public static IndexDatapoint.Restriction.Builder newBuilder(IndexDatapoint.Restriction prototype)
public IndexDatapoint.Restriction.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected IndexDatapoint.Restriction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static IndexDatapoint.Restriction getDefaultInstance()
public static com.google.protobuf.Parser<IndexDatapoint.Restriction> parser()
public com.google.protobuf.Parser<IndexDatapoint.Restriction> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public IndexDatapoint.Restriction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.