Class TCredentials

    • Constructor Detail

      • TCredentials

        public TCredentials()
      • TCredentials

        public TCredentials​(TCredentials other)
        Performs a deep copy on other.
    • Method Detail

      • getPrincipal

        public String getPrincipal()
      • unsetPrincipal

        public void unsetPrincipal()
      • isSetPrincipal

        public boolean isSetPrincipal()
        Returns true if field principal is set (has been assigned a value) and false otherwise
      • setPrincipalIsSet

        public void setPrincipalIsSet​(boolean value)
      • getTokenClassName

        public String getTokenClassName()
      • unsetTokenClassName

        public void unsetTokenClassName()
      • isSetTokenClassName

        public boolean isSetTokenClassName()
        Returns true if field tokenClassName is set (has been assigned a value) and false otherwise
      • setTokenClassNameIsSet

        public void setTokenClassNameIsSet​(boolean value)
      • getToken

        public byte[] getToken()
      • bufferForToken

        public ByteBuffer bufferForToken()
      • unsetToken

        public void unsetToken()
      • isSetToken

        public boolean isSetToken()
        Returns true if field token is set (has been assigned a value) and false otherwise
      • setTokenIsSet

        public void setTokenIsSet​(boolean value)
      • getInstanceId

        public String getInstanceId()
      • unsetInstanceId

        public void unsetInstanceId()
      • isSetInstanceId

        public boolean isSetInstanceId()
        Returns true if field instanceId is set (has been assigned a value) and false otherwise
      • setInstanceIdIsSet

        public void setInstanceIdIsSet​(boolean value)
      • isSet

        public boolean isSet​(TCredentials._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<TCredentials,​TCredentials._Fields>
      • 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