Package io.milvus.grpc
Class RowPolicy
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.RowPolicy
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RowPolicyOrBuilder,Serializable
public final class RowPolicy extends com.google.protobuf.GeneratedMessageV3 implements RowPolicyOrBuilder
Protobuf typemilvus.proto.milvus.RowPolicy- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRowPolicy.BuilderProtobuf typemilvus.proto.milvus.RowPolicy-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intACTIONS_FIELD_NUMBERstatic intCHECK_EXPR_FIELD_NUMBERstatic intCREATED_AT_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intPOLICY_NAME_FIELD_NUMBERstatic intROLES_FIELD_NUMBERstatic intUSING_EXPR_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)RowPolicyActiongetActions(int index)repeated .milvus.proto.milvus.RowPolicyAction actions = 2;intgetActionsCount()repeated .milvus.proto.milvus.RowPolicyAction actions = 2;List<RowPolicyAction>getActionsList()repeated .milvus.proto.milvus.RowPolicyAction actions = 2;intgetActionsValue(int index)repeated .milvus.proto.milvus.RowPolicyAction actions = 2;List<Integer>getActionsValueList()repeated .milvus.proto.milvus.RowPolicyAction actions = 2;StringgetCheckExpr()string check_expr = 5;com.google.protobuf.ByteStringgetCheckExprBytes()string check_expr = 5;longgetCreatedAt()int64 created_at = 7;static RowPolicygetDefaultInstance()RowPolicygetDefaultInstanceForType()StringgetDescription()string description = 6;com.google.protobuf.ByteStringgetDescriptionBytes()string description = 6;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<RowPolicy>getParserForType()StringgetPolicyName()string policy_name = 1;com.google.protobuf.ByteStringgetPolicyNameBytes()string policy_name = 1;StringgetRoles(int index)repeated string roles = 3;com.google.protobuf.ByteStringgetRolesBytes(int index)repeated string roles = 3;intgetRolesCount()repeated string roles = 3;com.google.protobuf.ProtocolStringListgetRolesList()repeated string roles = 3;intgetSerializedSize()StringgetUsingExpr()string using_expr = 4;com.google.protobuf.ByteStringgetUsingExprBytes()string using_expr = 4;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RowPolicy.BuildernewBuilder()static RowPolicy.BuildernewBuilder(RowPolicy prototype)RowPolicy.BuildernewBuilderForType()protected RowPolicy.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RowPolicyparseDelimitedFrom(InputStream input)static RowPolicyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RowPolicyparseFrom(byte[] data)static RowPolicyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RowPolicyparseFrom(com.google.protobuf.ByteString data)static RowPolicyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RowPolicyparseFrom(com.google.protobuf.CodedInputStream input)static RowPolicyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RowPolicyparseFrom(InputStream input)static RowPolicyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RowPolicyparseFrom(ByteBuffer data)static RowPolicyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RowPolicy>parser()RowPolicy.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
POLICY_NAME_FIELD_NUMBER
public static final int POLICY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIONS_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROLES_FIELD_NUMBER
public static final int ROLES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USING_EXPR_FIELD_NUMBER
public static final int USING_EXPR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHECK_EXPR_FIELD_NUMBER
public static final int CHECK_EXPR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATED_AT_FIELD_NUMBER
public static final int CREATED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getPolicyName
public String getPolicyName()
string policy_name = 1;- Specified by:
getPolicyNamein interfaceRowPolicyOrBuilder- Returns:
- The policyName.
-
getPolicyNameBytes
public com.google.protobuf.ByteString getPolicyNameBytes()
string policy_name = 1;- Specified by:
getPolicyNameBytesin interfaceRowPolicyOrBuilder- Returns:
- The bytes for policyName.
-
getActionsList
public List<RowPolicyAction> getActionsList()
repeated .milvus.proto.milvus.RowPolicyAction actions = 2;- Specified by:
getActionsListin interfaceRowPolicyOrBuilder- Returns:
- A list containing the actions.
-
getActionsCount
public int getActionsCount()
repeated .milvus.proto.milvus.RowPolicyAction actions = 2;- Specified by:
getActionsCountin interfaceRowPolicyOrBuilder- Returns:
- The count of actions.
-
getActions
public RowPolicyAction getActions(int index)
repeated .milvus.proto.milvus.RowPolicyAction actions = 2;- Specified by:
getActionsin interfaceRowPolicyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The actions at the given index.
-
getActionsValueList
public List<Integer> getActionsValueList()
repeated .milvus.proto.milvus.RowPolicyAction actions = 2;- Specified by:
getActionsValueListin interfaceRowPolicyOrBuilder- Returns:
- A list containing the enum numeric values on the wire for actions.
-
getActionsValue
public int getActionsValue(int index)
repeated .milvus.proto.milvus.RowPolicyAction actions = 2;- Specified by:
getActionsValuein interfaceRowPolicyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of actions at the given index.
-
getRolesList
public com.google.protobuf.ProtocolStringList getRolesList()
repeated string roles = 3;- Specified by:
getRolesListin interfaceRowPolicyOrBuilder- Returns:
- A list containing the roles.
-
getRolesCount
public int getRolesCount()
repeated string roles = 3;- Specified by:
getRolesCountin interfaceRowPolicyOrBuilder- Returns:
- The count of roles.
-
getRoles
public String getRoles(int index)
repeated string roles = 3;- Specified by:
getRolesin interfaceRowPolicyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The roles at the given index.
-
getRolesBytes
public com.google.protobuf.ByteString getRolesBytes(int index)
repeated string roles = 3;- Specified by:
getRolesBytesin interfaceRowPolicyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the roles at the given index.
-
getUsingExpr
public String getUsingExpr()
string using_expr = 4;- Specified by:
getUsingExprin interfaceRowPolicyOrBuilder- Returns:
- The usingExpr.
-
getUsingExprBytes
public com.google.protobuf.ByteString getUsingExprBytes()
string using_expr = 4;- Specified by:
getUsingExprBytesin interfaceRowPolicyOrBuilder- Returns:
- The bytes for usingExpr.
-
getCheckExpr
public String getCheckExpr()
string check_expr = 5;- Specified by:
getCheckExprin interfaceRowPolicyOrBuilder- Returns:
- The checkExpr.
-
getCheckExprBytes
public com.google.protobuf.ByteString getCheckExprBytes()
string check_expr = 5;- Specified by:
getCheckExprBytesin interfaceRowPolicyOrBuilder- Returns:
- The bytes for checkExpr.
-
getDescription
public String getDescription()
string description = 6;- Specified by:
getDescriptionin interfaceRowPolicyOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
string description = 6;- Specified by:
getDescriptionBytesin interfaceRowPolicyOrBuilder- Returns:
- The bytes for description.
-
getCreatedAt
public long getCreatedAt()
int64 created_at = 7;- Specified by:
getCreatedAtin interfaceRowPolicyOrBuilder- Returns:
- The createdAt.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RowPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RowPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RowPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RowPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RowPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RowPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RowPolicy parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RowPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RowPolicy parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RowPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RowPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RowPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RowPolicy.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RowPolicy.Builder newBuilder()
-
newBuilder
public static RowPolicy.Builder newBuilder(RowPolicy prototype)
-
toBuilder
public RowPolicy.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RowPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RowPolicy getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RowPolicy> parser()
-
getParserForType
public com.google.protobuf.Parser<RowPolicy> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RowPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-