public static class Cassandra.login_result extends java.lang.Object implements org.apache.thrift.TBase<Cassandra.login_result,Cassandra.login_result._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Cassandra.login_result>
Modifier and Type | Class and Description |
---|---|
static class |
Cassandra.login_result._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
AuthenticationException |
authnx |
AuthorizationException |
authzx |
static java.util.Map<Cassandra.login_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
login_result() |
login_result(AuthenticationException authnx,
AuthorizationException authzx) |
login_result(Cassandra.login_result other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Cassandra.login_result other) |
Cassandra.login_result |
deepCopy() |
boolean |
equals(Cassandra.login_result that) |
boolean |
equals(java.lang.Object that) |
Cassandra.login_result._Fields |
fieldForId(int fieldId) |
AuthenticationException |
getAuthnx() |
AuthorizationException |
getAuthzx() |
java.lang.Object |
getFieldValue(Cassandra.login_result._Fields field) |
int |
hashCode() |
boolean |
isSet(Cassandra.login_result._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAuthnx()
Returns true if field authnx is set (has been assigned a value) and false otherwise
|
boolean |
isSetAuthzx()
Returns true if field authzx is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Cassandra.login_result |
setAuthnx(AuthenticationException authnx) |
void |
setAuthnxIsSet(boolean value) |
Cassandra.login_result |
setAuthzx(AuthorizationException authzx) |
void |
setAuthzxIsSet(boolean value) |
void |
setFieldValue(Cassandra.login_result._Fields field,
java.lang.Object value) |
java.lang.String |
toString() |
void |
unsetAuthnx() |
void |
unsetAuthzx() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public AuthenticationException authnx
public AuthorizationException authzx
public static final java.util.Map<Cassandra.login_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public login_result()
public login_result(AuthenticationException authnx, AuthorizationException authzx)
public login_result(Cassandra.login_result other)
public Cassandra.login_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Cassandra.login_result,Cassandra.login_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Cassandra.login_result,Cassandra.login_result._Fields>
public AuthenticationException getAuthnx()
public Cassandra.login_result setAuthnx(AuthenticationException authnx)
public void unsetAuthnx()
public boolean isSetAuthnx()
public void setAuthnxIsSet(boolean value)
public AuthorizationException getAuthzx()
public Cassandra.login_result setAuthzx(AuthorizationException authzx)
public void unsetAuthzx()
public boolean isSetAuthzx()
public void setAuthzxIsSet(boolean value)
public void setFieldValue(Cassandra.login_result._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<Cassandra.login_result,Cassandra.login_result._Fields>
public java.lang.Object getFieldValue(Cassandra.login_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Cassandra.login_result,Cassandra.login_result._Fields>
public boolean isSet(Cassandra.login_result._Fields field)
isSet
in interface org.apache.thrift.TBase<Cassandra.login_result,Cassandra.login_result._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(Cassandra.login_result that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Cassandra.login_result other)
compareTo
in interface java.lang.Comparable<Cassandra.login_result>
public Cassandra.login_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Cassandra.login_result,Cassandra.login_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Cassandra.login_result,Cassandra.login_result._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<Cassandra.login_result,Cassandra.login_result._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2020 The Apache Software Foundation