public class TopologyActionOptions extends org.apache.thrift.TUnion<TopologyActionOptions,TopologyActionOptions._Fields>
Modifier and Type | Class and Description |
---|---|
static class |
TopologyActionOptions._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<TopologyActionOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TopologyActionOptions() |
TopologyActionOptions(TopologyActionOptions._Fields setField,
Object value) |
TopologyActionOptions(TopologyActionOptions other) |
public static final Map<TopologyActionOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TopologyActionOptions()
public TopologyActionOptions(TopologyActionOptions._Fields setField, Object value)
public TopologyActionOptions(TopologyActionOptions other)
public TopologyActionOptions deepCopy()
public static TopologyActionOptions kill_options(KillOptions value)
public static TopologyActionOptions rebalance_options(RebalanceOptions value)
protected void checkType(TopologyActionOptions._Fields setField, Object value) throws ClassCastException
checkType
in class org.apache.thrift.TUnion<TopologyActionOptions,TopologyActionOptions._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<TopologyActionOptions,TopologyActionOptions._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<TopologyActionOptions,TopologyActionOptions._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<TopologyActionOptions,TopologyActionOptions._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<TopologyActionOptions,TopologyActionOptions._Fields>
org.apache.thrift.TException
protected org.apache.thrift.protocol.TField getFieldDesc(TopologyActionOptions._Fields setField)
getFieldDesc
in class org.apache.thrift.TUnion<TopologyActionOptions,TopologyActionOptions._Fields>
protected org.apache.thrift.protocol.TStruct getStructDesc()
getStructDesc
in class org.apache.thrift.TUnion<TopologyActionOptions,TopologyActionOptions._Fields>
protected TopologyActionOptions._Fields enumForId(short id)
enumForId
in class org.apache.thrift.TUnion<TopologyActionOptions,TopologyActionOptions._Fields>
public TopologyActionOptions._Fields fieldForId(int fieldId)
public KillOptions get_kill_options()
public void set_kill_options(KillOptions value)
public RebalanceOptions get_rebalance_options()
public void set_rebalance_options(RebalanceOptions value)
public boolean is_set_kill_options()
public boolean is_set_rebalance_options()
public boolean equals(TopologyActionOptions other)
public int compareTo(TopologyActionOptions other)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.