@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class TGetDelegationTokenReq extends Object implements org.apache.thrift.TBase<TGetDelegationTokenReq,TGetDelegationTokenReq._Fields>, Serializable, Cloneable, Comparable<TGetDelegationTokenReq>
Modifier and Type | Class and Description |
---|---|
static class |
TGetDelegationTokenReq._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<TGetDelegationTokenReq._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TGetDelegationTokenReq() |
TGetDelegationTokenReq(TGetDelegationTokenReq other)
Performs a deep copy on other.
|
TGetDelegationTokenReq(TSessionHandle sessionHandle,
String owner,
String renewer) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TGetDelegationTokenReq other) |
TGetDelegationTokenReq |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TGetDelegationTokenReq that) |
TGetDelegationTokenReq._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TGetDelegationTokenReq._Fields field) |
String |
getOwner() |
String |
getRenewer() |
TSessionHandle |
getSessionHandle() |
int |
hashCode() |
boolean |
isSet(TGetDelegationTokenReq._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetOwner()
Returns true if field owner is set (has been assigned a value) and false otherwise
|
boolean |
isSetRenewer()
Returns true if field renewer is set (has been assigned a value) and false otherwise
|
boolean |
isSetSessionHandle()
Returns true if field sessionHandle is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TGetDelegationTokenReq._Fields field,
Object value) |
void |
setOwner(String owner) |
void |
setOwnerIsSet(boolean value) |
void |
setRenewer(String renewer) |
void |
setRenewerIsSet(boolean value) |
void |
setSessionHandle(TSessionHandle sessionHandle) |
void |
setSessionHandleIsSet(boolean value) |
String |
toString() |
void |
unsetOwner() |
void |
unsetRenewer() |
void |
unsetSessionHandle() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TGetDelegationTokenReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TGetDelegationTokenReq()
public TGetDelegationTokenReq(TSessionHandle sessionHandle, String owner, String renewer)
public TGetDelegationTokenReq(TGetDelegationTokenReq other)
public TGetDelegationTokenReq deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TGetDelegationTokenReq,TGetDelegationTokenReq._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TGetDelegationTokenReq,TGetDelegationTokenReq._Fields>
public TSessionHandle getSessionHandle()
public void setSessionHandle(TSessionHandle sessionHandle)
public void unsetSessionHandle()
public boolean isSetSessionHandle()
public void setSessionHandleIsSet(boolean value)
public String getOwner()
public void setOwner(String owner)
public void unsetOwner()
public boolean isSetOwner()
public void setOwnerIsSet(boolean value)
public String getRenewer()
public void setRenewer(String renewer)
public void unsetRenewer()
public boolean isSetRenewer()
public void setRenewerIsSet(boolean value)
public void setFieldValue(TGetDelegationTokenReq._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TGetDelegationTokenReq,TGetDelegationTokenReq._Fields>
public Object getFieldValue(TGetDelegationTokenReq._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TGetDelegationTokenReq,TGetDelegationTokenReq._Fields>
public boolean isSet(TGetDelegationTokenReq._Fields field)
isSet
in interface org.apache.thrift.TBase<TGetDelegationTokenReq,TGetDelegationTokenReq._Fields>
public boolean equals(TGetDelegationTokenReq that)
public int compareTo(TGetDelegationTokenReq other)
compareTo
in interface Comparable<TGetDelegationTokenReq>
public TGetDelegationTokenReq._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TGetDelegationTokenReq,TGetDelegationTokenReq._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.