Package com.google.cloud.aiplatform.v1
Interface IndexDatapoint.RestrictionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IndexDatapoint.Restriction,IndexDatapoint.Restriction.Builder
- Enclosing class:
- IndexDatapoint
public static interface IndexDatapoint.RestrictionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowList(int index) The attributes to allow in this namespace. e.g.: 'red'com.google.protobuf.ByteStringgetAllowListBytes(int index) The attributes to allow in this namespace. e.g.: 'red'intThe attributes to allow in this namespace. e.g.: 'red'The attributes to allow in this namespace. e.g.: 'red'getDenyList(int index) The attributes to deny in this namespace. e.g.: 'blue'com.google.protobuf.ByteStringgetDenyListBytes(int index) The attributes to deny in this namespace. e.g.: 'blue'intThe attributes to deny in this namespace. e.g.: 'blue'The attributes to deny in this namespace. e.g.: 'blue'The namespace of this restriction. e.g.: color.com.google.protobuf.ByteStringThe namespace of this restriction. e.g.: color.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNamespace
String getNamespace()The namespace of this restriction. e.g.: color.
string namespace = 1;- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()The namespace of this restriction. e.g.: color.
string namespace = 1;- Returns:
- The bytes for namespace.
-
getAllowListList
The attributes to allow in this namespace. e.g.: 'red'
repeated string allow_list = 2;- Returns:
- A list containing the allowList.
-
getAllowListCount
int getAllowListCount()The attributes to allow in this namespace. e.g.: 'red'
repeated string allow_list = 2;- Returns:
- The count of allowList.
-
getAllowList
The attributes to allow in this namespace. e.g.: 'red'
repeated string allow_list = 2;- Parameters:
index- The index of the element to return.- Returns:
- The allowList at the given index.
-
getAllowListBytes
com.google.protobuf.ByteString getAllowListBytes(int index) The attributes to allow in this namespace. e.g.: 'red'
repeated string allow_list = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowList at the given index.
-
getDenyListList
The attributes to deny in this namespace. e.g.: 'blue'
repeated string deny_list = 3;- Returns:
- A list containing the denyList.
-
getDenyListCount
int getDenyListCount()The attributes to deny in this namespace. e.g.: 'blue'
repeated string deny_list = 3;- Returns:
- The count of denyList.
-
getDenyList
The attributes to deny in this namespace. e.g.: 'blue'
repeated string deny_list = 3;- Parameters:
index- The index of the element to return.- Returns:
- The denyList at the given index.
-
getDenyListBytes
com.google.protobuf.ByteString getDenyListBytes(int index) The attributes to deny in this namespace. e.g.: 'blue'
repeated string deny_list = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the denyList at the given index.
-