@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class GlobalStreamId extends Object implements org.apache.storm.thrift.TBase<GlobalStreamId,GlobalStreamId._Fields>, Serializable, Cloneable, Comparable<GlobalStreamId>
Modifier and Type | Class and Description |
---|---|
static class |
GlobalStreamId._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<GlobalStreamId._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
GlobalStreamId() |
GlobalStreamId(GlobalStreamId other)
Performs a deep copy on other.
|
GlobalStreamId(String componentId,
String streamId) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(GlobalStreamId other) |
GlobalStreamId |
deepCopy() |
boolean |
equals(GlobalStreamId that) |
boolean |
equals(Object that) |
GlobalStreamId._Fields |
fieldForId(int fieldId) |
String |
get_componentId() |
String |
get_streamId() |
Object |
getFieldValue(GlobalStreamId._Fields field) |
int |
hashCode() |
boolean |
is_set_componentId()
Returns true if field componentId is set (has been assigned a value) and false otherwise
|
boolean |
is_set_streamId()
Returns true if field streamId is set (has been assigned a value) and false otherwise
|
boolean |
isSet(GlobalStreamId._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_componentId_isSet(boolean value) |
void |
set_componentId(String componentId) |
void |
set_streamId_isSet(boolean value) |
void |
set_streamId(String streamId) |
void |
setFieldValue(GlobalStreamId._Fields field,
Object value) |
String |
toString() |
void |
unset_componentId() |
void |
unset_streamId() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<GlobalStreamId._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public GlobalStreamId()
public GlobalStreamId(GlobalStreamId other)
Performs a deep copy on other.
public GlobalStreamId deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<GlobalStreamId,GlobalStreamId._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<GlobalStreamId,GlobalStreamId._Fields>
public String get_componentId()
public void set_componentId(String componentId)
public void unset_componentId()
public boolean is_set_componentId()
Returns true if field componentId is set (has been assigned a value) and false otherwise
public void set_componentId_isSet(boolean value)
public String get_streamId()
public void set_streamId(String streamId)
public void unset_streamId()
public boolean is_set_streamId()
Returns true if field streamId is set (has been assigned a value) and false otherwise
public void set_streamId_isSet(boolean value)
public void setFieldValue(GlobalStreamId._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<GlobalStreamId,GlobalStreamId._Fields>
public Object getFieldValue(GlobalStreamId._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<GlobalStreamId,GlobalStreamId._Fields>
public boolean isSet(GlobalStreamId._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<GlobalStreamId,GlobalStreamId._Fields>
public boolean equals(GlobalStreamId that)
public int compareTo(GlobalStreamId other)
compareTo
in interface Comparable<GlobalStreamId>
public GlobalStreamId._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<GlobalStreamId,GlobalStreamId._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 © 2022 The Apache Software Foundation. All rights reserved.