Class CloudGatewayService.exchange_args
- java.lang.Object
-
- org.wso2.carbon.cloud.gateway.common.thrift.gen.CloudGatewayService.exchange_args
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<CloudGatewayService.exchange_args>,org.apache.thrift.TBase<CloudGatewayService.exchange_args,CloudGatewayService.exchange_args._Fields>
- Enclosing class:
- CloudGatewayService
public static class CloudGatewayService.exchange_args extends Object implements org.apache.thrift.TBase<CloudGatewayService.exchange_args,CloudGatewayService.exchange_args._Fields>, Serializable, Cloneable, Comparable<CloudGatewayService.exchange_args>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCloudGatewayService.exchange_args._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<CloudGatewayService.exchange_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapintsizeList<Message>srcStringtoken
-
Constructor Summary
Constructors Constructor Description exchange_args()exchange_args(List<Message> src, int size, String token)exchange_args(CloudGatewayService.exchange_args other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToSrc(Message elem)voidclear()intcompareTo(CloudGatewayService.exchange_args other)CloudGatewayService.exchange_argsdeepCopy()booleanequals(Object that)booleanequals(CloudGatewayService.exchange_args that)CloudGatewayService.exchange_args._FieldsfieldForId(int fieldId)ObjectgetFieldValue(CloudGatewayService.exchange_args._Fields field)intgetSize()List<Message>getSrc()Iterator<Message>getSrcIterator()intgetSrcSize()StringgetToken()inthashCode()booleanisSet(CloudGatewayService.exchange_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetSize()Returns true if field size is set (has been assigned a value) and false otherwisebooleanisSetSrc()Returns true if field src is set (has been assigned a value) and false otherwisebooleanisSetToken()Returns true if field token is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(CloudGatewayService.exchange_args._Fields field, Object value)CloudGatewayService.exchange_argssetSize(int size)voidsetSizeIsSet(boolean value)CloudGatewayService.exchange_argssetSrc(List<Message> src)voidsetSrcIsSet(boolean value)CloudGatewayService.exchange_argssetToken(String token)voidsetTokenIsSet(boolean value)StringtoString()voidunsetSize()voidunsetSrc()voidunsetToken()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
size
public int size
-
token
public String token
-
metaDataMap
public static final Map<CloudGatewayService.exchange_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
exchange_args
public exchange_args()
-
exchange_args
public exchange_args(CloudGatewayService.exchange_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public CloudGatewayService.exchange_args deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<CloudGatewayService.exchange_args,CloudGatewayService.exchange_args._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<CloudGatewayService.exchange_args,CloudGatewayService.exchange_args._Fields>
-
getSrcSize
public int getSrcSize()
-
addToSrc
public void addToSrc(Message elem)
-
setSrc
public CloudGatewayService.exchange_args setSrc(List<Message> src)
-
unsetSrc
public void unsetSrc()
-
isSetSrc
public boolean isSetSrc()
Returns true if field src is set (has been assigned a value) and false otherwise
-
setSrcIsSet
public void setSrcIsSet(boolean value)
-
getSize
public int getSize()
-
setSize
public CloudGatewayService.exchange_args setSize(int size)
-
unsetSize
public void unsetSize()
-
isSetSize
public boolean isSetSize()
Returns true if field size is set (has been assigned a value) and false otherwise
-
setSizeIsSet
public void setSizeIsSet(boolean value)
-
getToken
public String getToken()
-
setToken
public CloudGatewayService.exchange_args setToken(String token)
-
unsetToken
public void unsetToken()
-
isSetToken
public boolean isSetToken()
Returns true if field token is set (has been assigned a value) and false otherwise
-
setTokenIsSet
public void setTokenIsSet(boolean value)
-
setFieldValue
public void setFieldValue(CloudGatewayService.exchange_args._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<CloudGatewayService.exchange_args,CloudGatewayService.exchange_args._Fields>
-
getFieldValue
public Object getFieldValue(CloudGatewayService.exchange_args._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<CloudGatewayService.exchange_args,CloudGatewayService.exchange_args._Fields>
-
isSet
public boolean isSet(CloudGatewayService.exchange_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<CloudGatewayService.exchange_args,CloudGatewayService.exchange_args._Fields>
-
equals
public boolean equals(CloudGatewayService.exchange_args that)
-
compareTo
public int compareTo(CloudGatewayService.exchange_args other)
- Specified by:
compareToin interfaceComparable<CloudGatewayService.exchange_args>
-
fieldForId
public CloudGatewayService.exchange_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<CloudGatewayService.exchange_args,CloudGatewayService.exchange_args._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TBase<CloudGatewayService.exchange_args,CloudGatewayService.exchange_args._Fields>- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TBase<CloudGatewayService.exchange_args,CloudGatewayService.exchange_args._Fields>- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-