public class TGetInfoValue extends org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
Modifier and Type | Class and Description |
---|---|
static class |
TGetInfoValue._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<TGetInfoValue._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TGetInfoValue() |
TGetInfoValue(TGetInfoValue._Fields setField,
Object value) |
TGetInfoValue(TGetInfoValue other) |
Modifier and Type | Method and Description |
---|---|
static TGetInfoValue |
binaryValue(int value) |
protected void |
checkType(TGetInfoValue._Fields setField,
Object value) |
int |
compareTo(TGetInfoValue other) |
TGetInfoValue |
deepCopy() |
protected TGetInfoValue._Fields |
enumForId(short id) |
boolean |
equals(Object other) |
boolean |
equals(TGetInfoValue other) |
TGetInfoValue._Fields |
fieldForId(int fieldId) |
int |
getBinaryValue() |
protected org.apache.thrift.protocol.TField |
getFieldDesc(TGetInfoValue._Fields setField) |
int |
getIntegerBitmask() |
int |
getIntegerFlag() |
long |
getLenValue() |
short |
getSmallIntValue() |
String |
getStringValue() |
protected org.apache.thrift.protocol.TStruct |
getStructDesc() |
int |
hashCode() |
static TGetInfoValue |
integerBitmask(int value) |
static TGetInfoValue |
integerFlag(int value) |
boolean |
isSetBinaryValue() |
boolean |
isSetIntegerBitmask() |
boolean |
isSetIntegerFlag() |
boolean |
isSetLenValue() |
boolean |
isSetSmallIntValue() |
boolean |
isSetStringValue() |
static TGetInfoValue |
lenValue(long value) |
void |
setBinaryValue(int value) |
void |
setIntegerBitmask(int value) |
void |
setIntegerFlag(int value) |
void |
setLenValue(long value) |
void |
setSmallIntValue(short value) |
void |
setStringValue(String value) |
static TGetInfoValue |
smallIntValue(short value) |
protected Object |
standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TField field) |
protected void |
standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) |
static TGetInfoValue |
stringValue(String value) |
protected Object |
tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
short fieldID) |
protected void |
tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TGetInfoValue._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TGetInfoValue()
public TGetInfoValue(TGetInfoValue._Fields setField, Object value)
public TGetInfoValue(TGetInfoValue other)
public TGetInfoValue deepCopy()
public static TGetInfoValue stringValue(String value)
public static TGetInfoValue smallIntValue(short value)
public static TGetInfoValue integerBitmask(int value)
public static TGetInfoValue integerFlag(int value)
public static TGetInfoValue binaryValue(int value)
public static TGetInfoValue lenValue(long value)
protected void checkType(TGetInfoValue._Fields setField, Object value) throws ClassCastException
checkType
in class org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
ClassCastException
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
standardSchemeReadValue
in class org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
org.apache.thrift.TException
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
standardSchemeWriteValue
in class org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
org.apache.thrift.TException
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
tupleSchemeReadValue
in class org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
org.apache.thrift.TException
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
tupleSchemeWriteValue
in class org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
org.apache.thrift.TException
protected org.apache.thrift.protocol.TField getFieldDesc(TGetInfoValue._Fields setField)
getFieldDesc
in class org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
protected org.apache.thrift.protocol.TStruct getStructDesc()
getStructDesc
in class org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
protected TGetInfoValue._Fields enumForId(short id)
enumForId
in class org.apache.thrift.TUnion<TGetInfoValue,TGetInfoValue._Fields>
public TGetInfoValue._Fields fieldForId(int fieldId)
public String getStringValue()
public void setStringValue(String value)
public short getSmallIntValue()
public void setSmallIntValue(short value)
public int getIntegerBitmask()
public void setIntegerBitmask(int value)
public int getIntegerFlag()
public void setIntegerFlag(int value)
public int getBinaryValue()
public void setBinaryValue(int value)
public long getLenValue()
public void setLenValue(long value)
public boolean isSetStringValue()
public boolean isSetSmallIntValue()
public boolean isSetIntegerBitmask()
public boolean isSetIntegerFlag()
public boolean isSetBinaryValue()
public boolean isSetLenValue()
public boolean equals(TGetInfoValue other)
public int compareTo(TGetInfoValue other)
Copyright © 2017 The Apache Software Foundation. All rights reserved.