public static class MasterClientService.setMasterGoalState_args extends Object implements org.apache.thrift.TBase<MasterClientService.setMasterGoalState_args,MasterClientService.setMasterGoalState_args._Fields>, Serializable, Cloneable, Comparable<MasterClientService.setMasterGoalState_args>
Modifier and Type | Class and Description |
---|---|
static class |
MasterClientService.setMasterGoalState_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
TCredentials |
credentials |
static Map<MasterClientService.setMasterGoalState_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
MasterGoalState |
state |
TInfo |
tinfo |
Constructor and Description |
---|
setMasterGoalState_args() |
setMasterGoalState_args(MasterClientService.setMasterGoalState_args other)
Performs a deep copy on other.
|
setMasterGoalState_args(TInfo tinfo,
TCredentials credentials,
MasterGoalState state) |
public TInfo tinfo
public TCredentials credentials
public MasterGoalState state
MasterGoalState
public static final Map<MasterClientService.setMasterGoalState_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public setMasterGoalState_args()
public setMasterGoalState_args(TInfo tinfo, TCredentials credentials, MasterGoalState state)
public setMasterGoalState_args(MasterClientService.setMasterGoalState_args other)
public MasterClientService.setMasterGoalState_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<MasterClientService.setMasterGoalState_args,MasterClientService.setMasterGoalState_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<MasterClientService.setMasterGoalState_args,MasterClientService.setMasterGoalState_args._Fields>
public TInfo getTinfo()
public MasterClientService.setMasterGoalState_args setTinfo(TInfo tinfo)
public void unsetTinfo()
public boolean isSetTinfo()
public void setTinfoIsSet(boolean value)
public TCredentials getCredentials()
public MasterClientService.setMasterGoalState_args setCredentials(TCredentials credentials)
public void unsetCredentials()
public boolean isSetCredentials()
public void setCredentialsIsSet(boolean value)
public MasterGoalState getState()
MasterGoalState
public MasterClientService.setMasterGoalState_args setState(MasterGoalState state)
MasterGoalState
public void unsetState()
public boolean isSetState()
public void setStateIsSet(boolean value)
public void setFieldValue(MasterClientService.setMasterGoalState_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<MasterClientService.setMasterGoalState_args,MasterClientService.setMasterGoalState_args._Fields>
public Object getFieldValue(MasterClientService.setMasterGoalState_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<MasterClientService.setMasterGoalState_args,MasterClientService.setMasterGoalState_args._Fields>
public boolean isSet(MasterClientService.setMasterGoalState_args._Fields field)
isSet
in interface org.apache.thrift.TBase<MasterClientService.setMasterGoalState_args,MasterClientService.setMasterGoalState_args._Fields>
public boolean equals(MasterClientService.setMasterGoalState_args that)
public int compareTo(MasterClientService.setMasterGoalState_args other)
compareTo
in interface Comparable<MasterClientService.setMasterGoalState_args>
public MasterClientService.setMasterGoalState_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<MasterClientService.setMasterGoalState_args,MasterClientService.setMasterGoalState_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<MasterClientService.setMasterGoalState_args,MasterClientService.setMasterGoalState_args._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<MasterClientService.setMasterGoalState_args,MasterClientService.setMasterGoalState_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.