@Generated(value="Autogenerated by Thrift Compiler (0.12.0)") public class TopologyActionOptions extends org.apache.storm.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.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TopologyActionOptions() |
TopologyActionOptions(TopologyActionOptions._Fields setField,
Object value) |
TopologyActionOptions(TopologyActionOptions other) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkType(TopologyActionOptions._Fields setField,
Object value) |
int |
compareTo(TopologyActionOptions other) |
TopologyActionOptions |
deepCopy() |
protected TopologyActionOptions._Fields |
enumForId(short id) |
boolean |
equals(Object other) |
boolean |
equals(TopologyActionOptions other) |
TopologyActionOptions._Fields |
fieldForId(int fieldId) |
KillOptions |
get_kill_options() |
RebalanceOptions |
get_rebalance_options() |
protected org.apache.storm.thrift.protocol.TField |
getFieldDesc(TopologyActionOptions._Fields setField) |
protected org.apache.storm.thrift.protocol.TStruct |
getStructDesc() |
int |
hashCode() |
boolean |
is_set_kill_options() |
boolean |
is_set_rebalance_options() |
static TopologyActionOptions |
kill_options(KillOptions value) |
static TopologyActionOptions |
rebalance_options(RebalanceOptions value) |
void |
set_kill_options(KillOptions value) |
void |
set_rebalance_options(RebalanceOptions value) |
protected Object |
standardSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot,
org.apache.storm.thrift.protocol.TField field) |
protected void |
standardSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) |
protected Object |
tupleSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot,
short fieldID) |
protected void |
tupleSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<TopologyActionOptions._Fields,org.apache.storm.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.storm.thrift.TUnion<TopologyActionOptions,TopologyActionOptions._Fields>
ClassCastException
protected Object standardSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot, org.apache.storm.thrift.protocol.TField field) throws org.apache.storm.thrift.TException
standardSchemeReadValue
in class org.apache.storm.thrift.TUnion<TopologyActionOptions,TopologyActionOptions._Fields>
org.apache.storm.thrift.TException
protected void standardSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
standardSchemeWriteValue
in class org.apache.storm.thrift.TUnion<TopologyActionOptions,TopologyActionOptions._Fields>
org.apache.storm.thrift.TException
protected Object tupleSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.storm.thrift.TException
tupleSchemeReadValue
in class org.apache.storm.thrift.TUnion<TopologyActionOptions,TopologyActionOptions._Fields>
org.apache.storm.thrift.TException
protected void tupleSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
tupleSchemeWriteValue
in class org.apache.storm.thrift.TUnion<TopologyActionOptions,TopologyActionOptions._Fields>
org.apache.storm.thrift.TException
protected org.apache.storm.thrift.protocol.TField getFieldDesc(TopologyActionOptions._Fields setField)
getFieldDesc
in class org.apache.storm.thrift.TUnion<TopologyActionOptions,TopologyActionOptions._Fields>
protected org.apache.storm.thrift.protocol.TStruct getStructDesc()
getStructDesc
in class org.apache.storm.thrift.TUnion<TopologyActionOptions,TopologyActionOptions._Fields>
protected TopologyActionOptions._Fields enumForId(short id)
enumForId
in class org.apache.storm.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.