Class TRoleResp

    • Method Detail

      • getRoleName

        public String getRoleName()
      • unsetRoleName

        public void unsetRoleName()
      • isSetRoleName

        public boolean isSetRoleName()
        Returns true if field roleName is set (has been assigned a value) and false otherwise
      • setRoleNameIsSet

        public void setRoleNameIsSet​(boolean value)
      • getPrivilegeListSize

        public int getPrivilegeListSize()
      • addToPrivilegeList

        public void addToPrivilegeList​(TPathPrivilege elem)
      • unsetPrivilegeList

        public void unsetPrivilegeList()
      • isSetPrivilegeList

        public boolean isSetPrivilegeList()
        Returns true if field privilegeList is set (has been assigned a value) and false otherwise
      • setPrivilegeListIsSet

        public void setPrivilegeListIsSet​(boolean value)
      • getSysPriSetSize

        public int getSysPriSetSize()
      • addToSysPriSet

        public void addToSysPriSet​(int elem)
      • getSysPriSet

        public Set<Integer> getSysPriSet()
      • unsetSysPriSet

        public void unsetSysPriSet()
      • isSetSysPriSet

        public boolean isSetSysPriSet()
        Returns true if field sysPriSet is set (has been assigned a value) and false otherwise
      • setSysPriSetIsSet

        public void setSysPriSetIsSet​(boolean value)
      • getSysPriSetGrantOptSize

        public int getSysPriSetGrantOptSize()
      • getSysPriSetGrantOptIterator

        public Iterator<Integer> getSysPriSetGrantOptIterator()
      • addToSysPriSetGrantOpt

        public void addToSysPriSetGrantOpt​(int elem)
      • getSysPriSetGrantOpt

        public Set<Integer> getSysPriSetGrantOpt()
      • setSysPriSetGrantOpt

        public TRoleResp setSysPriSetGrantOpt​(Set<Integer> sysPriSetGrantOpt)
      • unsetSysPriSetGrantOpt

        public void unsetSysPriSetGrantOpt()
      • isSetSysPriSetGrantOpt

        public boolean isSetSysPriSetGrantOpt()
        Returns true if field sysPriSetGrantOpt is set (has been assigned a value) and false otherwise
      • setSysPriSetGrantOptIsSet

        public void setSysPriSetGrantOptIsSet​(boolean value)
      • isSet

        public boolean isSet​(TRoleResp._Fields field)
        Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
        Specified by:
        isSet in interface org.apache.thrift.TBase<TRoleResp,​TRoleResp._Fields>
      • equals

        public boolean equals​(TRoleResp that)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException