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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAllowList(int index)The attributes to allow in this namespace.com.google.protobuf.ByteStringgetAllowListBytes(int index)The attributes to allow in this namespace.intgetAllowListCount()The attributes to allow in this namespace.List<String>getAllowListList()The attributes to allow in this namespace.StringgetDenyList(int index)The attributes to deny in this namespace.com.google.protobuf.ByteStringgetDenyListBytes(int index)The attributes to deny in this namespace.intgetDenyListCount()The attributes to deny in this namespace.List<String>getDenyListList()The attributes to deny in this namespace.StringgetNamespace()The namespace of this restriction.com.google.protobuf.ByteStringgetNamespaceBytes()The namespace of this restriction.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNamespace
String getNamespace()
The namespace of this restriction. eg: color.
string namespace = 1;- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()
The namespace of this restriction. eg: color.
string namespace = 1;- Returns:
- The bytes for namespace.
-
getAllowListList
List<String> getAllowListList()
The attributes to allow in this namespace. eg: 'red'
repeated string allow_list = 2;- Returns:
- A list containing the allowList.
-
getAllowListCount
int getAllowListCount()
The attributes to allow in this namespace. eg: 'red'
repeated string allow_list = 2;- Returns:
- The count of allowList.
-
getAllowList
String getAllowList(int index)
The attributes to allow in this namespace. eg: '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. eg: '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
List<String> getDenyListList()
The attributes to deny in this namespace. eg: 'blue'
repeated string deny_list = 3;- Returns:
- A list containing the denyList.
-
getDenyListCount
int getDenyListCount()
The attributes to deny in this namespace. eg: 'blue'
repeated string deny_list = 3;- Returns:
- The count of denyList.
-
getDenyList
String getDenyList(int index)
The attributes to deny in this namespace. eg: '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. eg: '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.
-
-