@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class SubmitOptions extends Object implements org.apache.storm.thrift.TBase<SubmitOptions,SubmitOptions._Fields>, Serializable, Cloneable, Comparable<SubmitOptions>
Modifier and Type | Class and Description |
---|---|
static class |
SubmitOptions._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<SubmitOptions._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SubmitOptions() |
SubmitOptions(SubmitOptions other)
Performs a deep copy on other.
|
SubmitOptions(TopologyInitialStatus initial_status) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(SubmitOptions other) |
SubmitOptions |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SubmitOptions that) |
SubmitOptions._Fields |
fieldForId(int fieldId) |
Credentials |
get_creds() |
TopologyInitialStatus |
get_initial_status() |
Object |
getFieldValue(SubmitOptions._Fields field) |
int |
hashCode() |
boolean |
is_set_creds()
Returns true if field creds is set (has been assigned a value) and false otherwise
|
boolean |
is_set_initial_status()
Returns true if field initial_status is set (has been assigned a value) and false otherwise
|
boolean |
isSet(SubmitOptions._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_creds_isSet(boolean value) |
void |
set_creds(Credentials creds) |
void |
set_initial_status_isSet(boolean value) |
void |
set_initial_status(TopologyInitialStatus initial_status) |
void |
setFieldValue(SubmitOptions._Fields field,
Object value) |
String |
toString() |
void |
unset_creds() |
void |
unset_initial_status() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<SubmitOptions._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public SubmitOptions()
public SubmitOptions(TopologyInitialStatus initial_status)
public SubmitOptions(SubmitOptions other)
Performs a deep copy on other.
public SubmitOptions deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<SubmitOptions,SubmitOptions._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<SubmitOptions,SubmitOptions._Fields>
public TopologyInitialStatus get_initial_status()
TopologyInitialStatus
public void set_initial_status(TopologyInitialStatus initial_status)
TopologyInitialStatus
public void unset_initial_status()
public boolean is_set_initial_status()
Returns true if field initial_status is set (has been assigned a value) and false otherwise
public void set_initial_status_isSet(boolean value)
public Credentials get_creds()
public void set_creds(Credentials creds)
public void unset_creds()
public boolean is_set_creds()
Returns true if field creds is set (has been assigned a value) and false otherwise
public void set_creds_isSet(boolean value)
public void setFieldValue(SubmitOptions._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<SubmitOptions,SubmitOptions._Fields>
public Object getFieldValue(SubmitOptions._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<SubmitOptions,SubmitOptions._Fields>
public boolean isSet(SubmitOptions._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.storm.thrift.TBase<SubmitOptions,SubmitOptions._Fields>
public boolean equals(SubmitOptions that)
public int compareTo(SubmitOptions other)
compareTo
in interface Comparable<SubmitOptions>
public SubmitOptions._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<SubmitOptions,SubmitOptions._Fields>
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
read
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
write
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void validate() throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
Copyright © 2020 The Apache Software Foundation. All rights reserved.