Package io.milvus.grpc
Interface CreateRowPolicyRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateRowPolicyRequest,CreateRowPolicyRequest.Builder
public interface CreateRowPolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RowPolicyActiongetActions(int index)actions this policy controlsintgetActionsCount()actions this policy controlsList<RowPolicyAction>getActionsList()actions this policy controlsintgetActionsValue(int index)actions this policy controlsList<Integer>getActionsValueList()actions this policy controlsMsgBasegetBase().milvus.proto.common.MsgBase base = 1;MsgBaseOrBuildergetBaseOrBuilder().milvus.proto.common.MsgBase base = 1;StringgetCheckExpr()expression for validating data during mutationscom.google.protobuf.ByteStringgetCheckExprBytes()expression for validating data during mutationsStringgetCollectionName()string collection_name = 3;com.google.protobuf.ByteStringgetCollectionNameBytes()string collection_name = 3;StringgetDbName()string db_name = 2;com.google.protobuf.ByteStringgetDbNameBytes()string db_name = 2;StringgetDescription()optional descriptioncom.google.protobuf.ByteStringgetDescriptionBytes()optional descriptionStringgetPolicyName()string policy_name = 4;com.google.protobuf.ByteStringgetPolicyNameBytes()string policy_name = 4;StringgetRoles(int index)role names that this policy applies tocom.google.protobuf.ByteStringgetRolesBytes(int index)role names that this policy applies tointgetRolesCount()role names that this policy applies toList<String>getRolesList()role names that this policy applies toStringgetUsingExpr()expression for filtering data during queriescom.google.protobuf.ByteStringgetUsingExprBytes()expression for filtering data during queriesbooleanhasBase().milvus.proto.common.MsgBase base = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBase
boolean hasBase()
.milvus.proto.common.MsgBase base = 1;- Returns:
- Whether the base field is set.
-
getBase
MsgBase getBase()
.milvus.proto.common.MsgBase base = 1;- Returns:
- The base.
-
getBaseOrBuilder
MsgBaseOrBuilder getBaseOrBuilder()
.milvus.proto.common.MsgBase base = 1;
-
getDbName
String getDbName()
string db_name = 2;- Returns:
- The dbName.
-
getDbNameBytes
com.google.protobuf.ByteString getDbNameBytes()
string db_name = 2;- Returns:
- The bytes for dbName.
-
getCollectionName
String getCollectionName()
string collection_name = 3;- Returns:
- The collectionName.
-
getCollectionNameBytes
com.google.protobuf.ByteString getCollectionNameBytes()
string collection_name = 3;- Returns:
- The bytes for collectionName.
-
getPolicyName
String getPolicyName()
string policy_name = 4;- Returns:
- The policyName.
-
getPolicyNameBytes
com.google.protobuf.ByteString getPolicyNameBytes()
string policy_name = 4;- Returns:
- The bytes for policyName.
-
getActionsList
List<RowPolicyAction> getActionsList()
actions this policy controls
repeated .milvus.proto.milvus.RowPolicyAction actions = 5;- Returns:
- A list containing the actions.
-
getActionsCount
int getActionsCount()
actions this policy controls
repeated .milvus.proto.milvus.RowPolicyAction actions = 5;- Returns:
- The count of actions.
-
getActions
RowPolicyAction getActions(int index)
actions this policy controls
repeated .milvus.proto.milvus.RowPolicyAction actions = 5;- Parameters:
index- The index of the element to return.- Returns:
- The actions at the given index.
-
getActionsValueList
List<Integer> getActionsValueList()
actions this policy controls
repeated .milvus.proto.milvus.RowPolicyAction actions = 5;- Returns:
- A list containing the enum numeric values on the wire for actions.
-
getActionsValue
int getActionsValue(int index)
actions this policy controls
repeated .milvus.proto.milvus.RowPolicyAction actions = 5;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of actions at the given index.
-
getRolesList
List<String> getRolesList()
role names that this policy applies to
repeated string roles = 6;- Returns:
- A list containing the roles.
-
getRolesCount
int getRolesCount()
role names that this policy applies to
repeated string roles = 6;- Returns:
- The count of roles.
-
getRoles
String getRoles(int index)
role names that this policy applies to
repeated string roles = 6;- Parameters:
index- The index of the element to return.- Returns:
- The roles at the given index.
-
getRolesBytes
com.google.protobuf.ByteString getRolesBytes(int index)
role names that this policy applies to
repeated string roles = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the roles at the given index.
-
getUsingExpr
String getUsingExpr()
expression for filtering data during queries
string using_expr = 7;- Returns:
- The usingExpr.
-
getUsingExprBytes
com.google.protobuf.ByteString getUsingExprBytes()
expression for filtering data during queries
string using_expr = 7;- Returns:
- The bytes for usingExpr.
-
getCheckExpr
String getCheckExpr()
expression for validating data during mutations
string check_expr = 8;- Returns:
- The checkExpr.
-
getCheckExprBytes
com.google.protobuf.ByteString getCheckExprBytes()
expression for validating data during mutations
string check_expr = 8;- Returns:
- The bytes for checkExpr.
-
getDescription
String getDescription()
optional description
string description = 9;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
optional description
string description = 9;- Returns:
- The bytes for description.
-
-