public class VerifyClientVersionReq extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<VerifyClientVersionReq>
| Modifier and Type | Class and Description |
|---|---|
static class |
VerifyClientVersionReq.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
build_version |
static int |
BUILD_VERSION |
byte[] |
client_version |
static int |
CLIENT_VERSION |
HostAddr |
host |
static int |
HOST |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
VerifyClientVersionReq() |
VerifyClientVersionReq(byte[] client_version) |
VerifyClientVersionReq(byte[] client_version,
HostAddr host,
byte[] build_version) |
VerifyClientVersionReq(VerifyClientVersionReq other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static VerifyClientVersionReq.Builder |
builder() |
int |
compareTo(VerifyClientVersionReq other) |
VerifyClientVersionReq |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getBuild_version() |
byte[] |
getClient_version() |
Object |
getFieldValue(int fieldID) |
HostAddr |
getHost() |
int |
hashCode() |
boolean |
isSetBuild_version() |
boolean |
isSetClient_version() |
boolean |
isSetHost() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
VerifyClientVersionReq |
setBuild_version(byte[] build_version) |
void |
setBuild_versionIsSet(boolean __value) |
VerifyClientVersionReq |
setClient_version(byte[] client_version) |
void |
setClient_versionIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
VerifyClientVersionReq |
setHost(HostAddr host) |
void |
setHostIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetBuild_version() |
void |
unsetClient_version() |
void |
unsetHost() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public byte[] client_version
public HostAddr host
public byte[] build_version
public static final int CLIENT_VERSION
public static final int HOST
public static final int BUILD_VERSION
public VerifyClientVersionReq()
public VerifyClientVersionReq(byte[] client_version)
public VerifyClientVersionReq(byte[] client_version,
HostAddr host,
byte[] build_version)
public VerifyClientVersionReq(VerifyClientVersionReq other)
public static VerifyClientVersionReq.Builder builder()
public VerifyClientVersionReq deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic byte[] getClient_version()
public VerifyClientVersionReq setClient_version(byte[] client_version)
public void unsetClient_version()
public boolean isSetClient_version()
public void setClient_versionIsSet(boolean __value)
public HostAddr getHost()
public VerifyClientVersionReq setHost(HostAddr host)
public void unsetHost()
public boolean isSetHost()
public void setHostIsSet(boolean __value)
public byte[] getBuild_version()
public VerifyClientVersionReq setBuild_version(byte[] build_version)
public void unsetBuild_version()
public boolean isSetBuild_version()
public void setBuild_versionIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(VerifyClientVersionReq other)
compareTo in interface Comparable<VerifyClientVersionReq>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.