public class ServiceClient extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<ServiceClient>
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceClient.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
conn_type |
static int |
CONN_TYPE |
HostAddr |
host |
static int |
HOST |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
byte[] |
pwd |
static int |
PWD |
byte[] |
user |
static int |
USER |
| Constructor and Description |
|---|
ServiceClient() |
ServiceClient(HostAddr host) |
ServiceClient(HostAddr host,
byte[] user,
byte[] pwd,
byte[] conn_type) |
ServiceClient(ServiceClient other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceClient.Builder |
builder() |
int |
compareTo(ServiceClient other) |
ServiceClient |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getConn_type() |
Object |
getFieldValue(int fieldID) |
HostAddr |
getHost() |
byte[] |
getPwd() |
byte[] |
getUser() |
int |
hashCode() |
boolean |
isSetConn_type() |
boolean |
isSetHost() |
boolean |
isSetPwd() |
boolean |
isSetUser() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
ServiceClient |
setConn_type(byte[] conn_type) |
void |
setConn_typeIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
ServiceClient |
setHost(HostAddr host) |
void |
setHostIsSet(boolean __value) |
ServiceClient |
setPwd(byte[] pwd) |
void |
setPwdIsSet(boolean __value) |
ServiceClient |
setUser(byte[] user) |
void |
setUserIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetConn_type() |
void |
unsetHost() |
void |
unsetPwd() |
void |
unsetUser() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public HostAddr host
public byte[] user
public byte[] pwd
public byte[] conn_type
public static final int HOST
public static final int USER
public static final int PWD
public static final int CONN_TYPE
public ServiceClient()
public ServiceClient(HostAddr host)
public ServiceClient(HostAddr host, byte[] user, byte[] pwd, byte[] conn_type)
public ServiceClient(ServiceClient other)
public static ServiceClient.Builder builder()
public ServiceClient 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 ServiceClient setHost(HostAddr host)
public void unsetHost()
public boolean isSetHost()
public void setHostIsSet(boolean __value)
public byte[] getUser()
public ServiceClient setUser(byte[] user)
public void unsetUser()
public boolean isSetUser()
public void setUserIsSet(boolean __value)
public byte[] getPwd()
public ServiceClient setPwd(byte[] pwd)
public void unsetPwd()
public boolean isSetPwd()
public void setPwdIsSet(boolean __value)
public byte[] getConn_type()
public ServiceClient setConn_type(byte[] conn_type)
public void unsetConn_type()
public boolean isSetConn_type()
public void setConn_typeIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(ServiceClient other)
compareTo in interface Comparable<ServiceClient>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.