Class OperatePrivilegeV2Request

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.milvus.grpc.OperatePrivilegeV2Request
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, OperatePrivilegeV2RequestOrBuilder, Serializable

public final class OperatePrivilegeV2Request extends com.google.protobuf.GeneratedMessageV3 implements OperatePrivilegeV2RequestOrBuilder
Protobuf type milvus.proto.milvus.OperatePrivilegeV2Request
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • hasBase

      public boolean hasBase()
       Not useful for now
       
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      hasBase in interface OperatePrivilegeV2RequestOrBuilder
      Returns:
      Whether the base field is set.
    • getBase

      public MsgBase getBase()
       Not useful for now
       
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      getBase in interface OperatePrivilegeV2RequestOrBuilder
      Returns:
      The base.
    • getBaseOrBuilder

      public MsgBaseOrBuilder getBaseOrBuilder()
       Not useful for now
       
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      getBaseOrBuilder in interface OperatePrivilegeV2RequestOrBuilder
    • hasRole

      public boolean hasRole()
       role
       
      .milvus.proto.milvus.RoleEntity role = 2;
      Specified by:
      hasRole in interface OperatePrivilegeV2RequestOrBuilder
      Returns:
      Whether the role field is set.
    • getRole

      public RoleEntity getRole()
       role
       
      .milvus.proto.milvus.RoleEntity role = 2;
      Specified by:
      getRole in interface OperatePrivilegeV2RequestOrBuilder
      Returns:
      The role.
    • getRoleOrBuilder

      public RoleEntityOrBuilder getRoleOrBuilder()
       role
       
      .milvus.proto.milvus.RoleEntity role = 2;
      Specified by:
      getRoleOrBuilder in interface OperatePrivilegeV2RequestOrBuilder
    • hasGrantor

      public boolean hasGrantor()
       privilege
       
      .milvus.proto.milvus.GrantorEntity grantor = 3;
      Specified by:
      hasGrantor in interface OperatePrivilegeV2RequestOrBuilder
      Returns:
      Whether the grantor field is set.
    • getGrantor

      public GrantorEntity getGrantor()
       privilege
       
      .milvus.proto.milvus.GrantorEntity grantor = 3;
      Specified by:
      getGrantor in interface OperatePrivilegeV2RequestOrBuilder
      Returns:
      The grantor.
    • getGrantorOrBuilder

      public GrantorEntityOrBuilder getGrantorOrBuilder()
       privilege
       
      .milvus.proto.milvus.GrantorEntity grantor = 3;
      Specified by:
      getGrantorOrBuilder in interface OperatePrivilegeV2RequestOrBuilder
    • getTypeValue

      public int getTypeValue()
       operation type
       
      .milvus.proto.milvus.OperatePrivilegeType type = 4;
      Specified by:
      getTypeValue in interface OperatePrivilegeV2RequestOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public OperatePrivilegeType getType()
       operation type
       
      .milvus.proto.milvus.OperatePrivilegeType type = 4;
      Specified by:
      getType in interface OperatePrivilegeV2RequestOrBuilder
      Returns:
      The type.
    • getDbName

      public String getDbName()
       db name
       
      string db_name = 5;
      Specified by:
      getDbName in interface OperatePrivilegeV2RequestOrBuilder
      Returns:
      The dbName.
    • getDbNameBytes

      public com.google.protobuf.ByteString getDbNameBytes()
       db name
       
      string db_name = 5;
      Specified by:
      getDbNameBytes in interface OperatePrivilegeV2RequestOrBuilder
      Returns:
      The bytes for dbName.
    • getCollectionName

      public String getCollectionName()
       collection name
       
      string collection_name = 6;
      Specified by:
      getCollectionName in interface OperatePrivilegeV2RequestOrBuilder
      Returns:
      The collectionName.
    • getCollectionNameBytes

      public com.google.protobuf.ByteString getCollectionNameBytes()
       collection name
       
      string collection_name = 6;
      Specified by:
      getCollectionNameBytes in interface OperatePrivilegeV2RequestOrBuilder
      Returns:
      The bytes for collectionName.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static OperatePrivilegeV2Request parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperatePrivilegeV2Request parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperatePrivilegeV2Request parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperatePrivilegeV2Request parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperatePrivilegeV2Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperatePrivilegeV2Request parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperatePrivilegeV2Request parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OperatePrivilegeV2Request parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OperatePrivilegeV2Request parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OperatePrivilegeV2Request parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OperatePrivilegeV2Request parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OperatePrivilegeV2Request parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public OperatePrivilegeV2Request.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static OperatePrivilegeV2Request.Builder newBuilder()
    • newBuilder

      public static OperatePrivilegeV2Request.Builder newBuilder(OperatePrivilegeV2Request prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected OperatePrivilegeV2Request.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static OperatePrivilegeV2Request getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<OperatePrivilegeV2Request> parser()
    • getParserForType

      public com.google.protobuf.Parser<OperatePrivilegeV2Request> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public OperatePrivilegeV2Request getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder