Class CreateRowPolicyRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRowPolicyRequest.Builder>
      • clear

        public CreateRowPolicyRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRowPolicyRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRowPolicyRequest.Builder>
      • getDefaultInstanceForType

        public CreateRowPolicyRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CreateRowPolicyRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CreateRowPolicyRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public CreateRowPolicyRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRowPolicyRequest.Builder>
      • clearField

        public CreateRowPolicyRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRowPolicyRequest.Builder>
      • clearOneof

        public CreateRowPolicyRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRowPolicyRequest.Builder>
      • setRepeatedField

        public CreateRowPolicyRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRowPolicyRequest.Builder>
      • addRepeatedField

        public CreateRowPolicyRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRowPolicyRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRowPolicyRequest.Builder>
      • mergeFrom

        public CreateRowPolicyRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateRowPolicyRequest.Builder>
        Throws:
        IOException
      • getBaseBuilder

        public MsgBase.Builder getBaseBuilder()
        .milvus.proto.common.MsgBase base = 1;
      • setDbNameBytes

        public CreateRowPolicyRequest.Builder setDbNameBytes​(com.google.protobuf.ByteString value)
        string db_name = 2;
        Parameters:
        value - The bytes for dbName to set.
        Returns:
        This builder for chaining.
      • setCollectionName

        public CreateRowPolicyRequest.Builder setCollectionName​(String value)
        string collection_name = 3;
        Parameters:
        value - The collectionName to set.
        Returns:
        This builder for chaining.
      • setCollectionNameBytes

        public CreateRowPolicyRequest.Builder setCollectionNameBytes​(com.google.protobuf.ByteString value)
        string collection_name = 3;
        Parameters:
        value - The bytes for collectionName to set.
        Returns:
        This builder for chaining.
      • setPolicyName

        public CreateRowPolicyRequest.Builder setPolicyName​(String value)
        string policy_name = 4;
        Parameters:
        value - The policyName to set.
        Returns:
        This builder for chaining.
      • setPolicyNameBytes

        public CreateRowPolicyRequest.Builder setPolicyNameBytes​(com.google.protobuf.ByteString value)
        string policy_name = 4;
        Parameters:
        value - The bytes for policyName to set.
        Returns:
        This builder for chaining.
      • getActionsCount

        public int getActionsCount()
         actions this policy controls
         
        repeated .milvus.proto.milvus.RowPolicyAction actions = 5;
        Specified by:
        getActionsCount in interface CreateRowPolicyRequestOrBuilder
        Returns:
        The count of actions.
      • getActions

        public RowPolicyAction getActions​(int index)
         actions this policy controls
         
        repeated .milvus.proto.milvus.RowPolicyAction actions = 5;
        Specified by:
        getActions in interface CreateRowPolicyRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The actions at the given index.
      • setActions

        public CreateRowPolicyRequest.Builder setActions​(int index,
                                                         RowPolicyAction value)
         actions this policy controls
         
        repeated .milvus.proto.milvus.RowPolicyAction actions = 5;
        Parameters:
        index - The index to set the value at.
        value - The actions to set.
        Returns:
        This builder for chaining.
      • addActions

        public CreateRowPolicyRequest.Builder addActions​(RowPolicyAction value)
         actions this policy controls
         
        repeated .milvus.proto.milvus.RowPolicyAction actions = 5;
        Parameters:
        value - The actions to add.
        Returns:
        This builder for chaining.
      • addAllActions

        public CreateRowPolicyRequest.Builder addAllActions​(Iterable<? extends RowPolicyAction> values)
         actions this policy controls
         
        repeated .milvus.proto.milvus.RowPolicyAction actions = 5;
        Parameters:
        values - The actions to add.
        Returns:
        This builder for chaining.
      • clearActions

        public CreateRowPolicyRequest.Builder clearActions()
         actions this policy controls
         
        repeated .milvus.proto.milvus.RowPolicyAction actions = 5;
        Returns:
        This builder for chaining.
      • getActionsValueList

        public List<Integer> getActionsValueList()
         actions this policy controls
         
        repeated .milvus.proto.milvus.RowPolicyAction actions = 5;
        Specified by:
        getActionsValueList in interface CreateRowPolicyRequestOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for actions.
      • getActionsValue

        public int getActionsValue​(int index)
         actions this policy controls
         
        repeated .milvus.proto.milvus.RowPolicyAction actions = 5;
        Specified by:
        getActionsValue in interface CreateRowPolicyRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of actions at the given index.
      • setActionsValue

        public CreateRowPolicyRequest.Builder setActionsValue​(int index,
                                                              int value)
         actions this policy controls
         
        repeated .milvus.proto.milvus.RowPolicyAction actions = 5;
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for actions to set.
        Returns:
        This builder for chaining.
      • addActionsValue

        public CreateRowPolicyRequest.Builder addActionsValue​(int value)
         actions this policy controls
         
        repeated .milvus.proto.milvus.RowPolicyAction actions = 5;
        Parameters:
        value - The enum numeric value on the wire for actions to add.
        Returns:
        This builder for chaining.
      • addAllActionsValue

        public CreateRowPolicyRequest.Builder addAllActionsValue​(Iterable<Integer> values)
         actions this policy controls
         
        repeated .milvus.proto.milvus.RowPolicyAction actions = 5;
        Parameters:
        values - The enum numeric values on the wire for actions to add.
        Returns:
        This builder for chaining.
      • getRolesList

        public com.google.protobuf.ProtocolStringList getRolesList()
         role names that this policy applies to
         
        repeated string roles = 6;
        Specified by:
        getRolesList in interface CreateRowPolicyRequestOrBuilder
        Returns:
        A list containing the roles.
      • getRoles

        public String getRoles​(int index)
         role names that this policy applies to
         
        repeated string roles = 6;
        Specified by:
        getRoles in interface CreateRowPolicyRequestOrBuilder
        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)
         role names that this policy applies to
         
        repeated string roles = 6;
        Specified by:
        getRolesBytes in interface CreateRowPolicyRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the roles at the given index.
      • setRoles

        public CreateRowPolicyRequest.Builder setRoles​(int index,
                                                       String value)
         role names that this policy applies to
         
        repeated string roles = 6;
        Parameters:
        index - The index to set the value at.
        value - The roles to set.
        Returns:
        This builder for chaining.
      • addRoles

        public CreateRowPolicyRequest.Builder addRoles​(String value)
         role names that this policy applies to
         
        repeated string roles = 6;
        Parameters:
        value - The roles to add.
        Returns:
        This builder for chaining.
      • addAllRoles

        public CreateRowPolicyRequest.Builder addAllRoles​(Iterable<String> values)
         role names that this policy applies to
         
        repeated string roles = 6;
        Parameters:
        values - The roles to add.
        Returns:
        This builder for chaining.
      • clearRoles

        public CreateRowPolicyRequest.Builder clearRoles()
         role names that this policy applies to
         
        repeated string roles = 6;
        Returns:
        This builder for chaining.
      • addRolesBytes

        public CreateRowPolicyRequest.Builder addRolesBytes​(com.google.protobuf.ByteString value)
         role names that this policy applies to
         
        repeated string roles = 6;
        Parameters:
        value - The bytes of the roles to add.
        Returns:
        This builder for chaining.
      • getUsingExprBytes

        public com.google.protobuf.ByteString getUsingExprBytes()
         expression for filtering data during queries
         
        string using_expr = 7;
        Specified by:
        getUsingExprBytes in interface CreateRowPolicyRequestOrBuilder
        Returns:
        The bytes for usingExpr.
      • setUsingExpr

        public CreateRowPolicyRequest.Builder setUsingExpr​(String value)
         expression for filtering data during queries
         
        string using_expr = 7;
        Parameters:
        value - The usingExpr to set.
        Returns:
        This builder for chaining.
      • clearUsingExpr

        public CreateRowPolicyRequest.Builder clearUsingExpr()
         expression for filtering data during queries
         
        string using_expr = 7;
        Returns:
        This builder for chaining.
      • setUsingExprBytes

        public CreateRowPolicyRequest.Builder setUsingExprBytes​(com.google.protobuf.ByteString value)
         expression for filtering data during queries
         
        string using_expr = 7;
        Parameters:
        value - The bytes for usingExpr to set.
        Returns:
        This builder for chaining.
      • getCheckExprBytes

        public com.google.protobuf.ByteString getCheckExprBytes()
         expression for validating data during mutations
         
        string check_expr = 8;
        Specified by:
        getCheckExprBytes in interface CreateRowPolicyRequestOrBuilder
        Returns:
        The bytes for checkExpr.
      • setCheckExpr

        public CreateRowPolicyRequest.Builder setCheckExpr​(String value)
         expression for validating data during mutations
         
        string check_expr = 8;
        Parameters:
        value - The checkExpr to set.
        Returns:
        This builder for chaining.
      • clearCheckExpr

        public CreateRowPolicyRequest.Builder clearCheckExpr()
         expression for validating data during mutations
         
        string check_expr = 8;
        Returns:
        This builder for chaining.
      • setCheckExprBytes

        public CreateRowPolicyRequest.Builder setCheckExprBytes​(com.google.protobuf.ByteString value)
         expression for validating data during mutations
         
        string check_expr = 8;
        Parameters:
        value - The bytes for checkExpr to set.
        Returns:
        This builder for chaining.
      • setDescription

        public CreateRowPolicyRequest.Builder setDescription​(String value)
         optional description
         
        string description = 9;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public CreateRowPolicyRequest.Builder clearDescription()
         optional description
         
        string description = 9;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public CreateRowPolicyRequest.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         optional description
         
        string description = 9;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final CreateRowPolicyRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRowPolicyRequest.Builder>
      • mergeUnknownFields

        public final CreateRowPolicyRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateRowPolicyRequest.Builder>