public class AgentHBReq extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<AgentHBReq>
| Modifier and Type | Class and Description |
|---|---|
static class |
AgentHBReq.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
git_info_sha |
static int |
GIT_INFO_SHA |
HostAddr |
host |
static int |
HOST |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
byte[] |
version |
static int |
VERSION |
| Constructor and Description |
|---|
AgentHBReq() |
AgentHBReq(AgentHBReq other)
Performs a deep copy on other.
|
AgentHBReq(HostAddr host,
byte[] git_info_sha) |
AgentHBReq(HostAddr host,
byte[] git_info_sha,
byte[] version) |
| Modifier and Type | Method and Description |
|---|---|
static AgentHBReq.Builder |
builder() |
int |
compareTo(AgentHBReq other) |
AgentHBReq |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
Object |
getFieldValue(int fieldID) |
byte[] |
getGit_info_sha() |
HostAddr |
getHost() |
byte[] |
getVersion() |
int |
hashCode() |
boolean |
isSetGit_info_sha() |
boolean |
isSetHost() |
boolean |
isSetVersion() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
void |
setFieldValue(int fieldID,
Object __value) |
AgentHBReq |
setGit_info_sha(byte[] git_info_sha) |
void |
setGit_info_shaIsSet(boolean __value) |
AgentHBReq |
setHost(HostAddr host) |
void |
setHostIsSet(boolean __value) |
AgentHBReq |
setVersion(byte[] version) |
void |
setVersionIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetGit_info_sha() |
void |
unsetHost() |
void |
unsetVersion() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public HostAddr host
public byte[] git_info_sha
public byte[] version
public static final int HOST
public static final int GIT_INFO_SHA
public static final int VERSION
public AgentHBReq()
public AgentHBReq(HostAddr host, byte[] git_info_sha)
public AgentHBReq(HostAddr host, byte[] git_info_sha, byte[] version)
public AgentHBReq(AgentHBReq other)
public static AgentHBReq.Builder builder()
public AgentHBReq deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic HostAddr getHost()
public AgentHBReq setHost(HostAddr host)
public void unsetHost()
public boolean isSetHost()
public void setHostIsSet(boolean __value)
public byte[] getGit_info_sha()
public AgentHBReq setGit_info_sha(byte[] git_info_sha)
public void unsetGit_info_sha()
public boolean isSetGit_info_sha()
public void setGit_info_shaIsSet(boolean __value)
public byte[] getVersion()
public AgentHBReq setVersion(byte[] version)
public void unsetVersion()
public boolean isSetVersion()
public void setVersionIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(AgentHBReq other)
compareTo in interface Comparable<AgentHBReq>public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2022. All rights reserved.