Package com.uber.cadence
Class CurrentBranchChangedError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.thrift.TException
-
- com.uber.cadence.CurrentBranchChangedError
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<CurrentBranchChangedError>
,org.apache.thrift.TBase<CurrentBranchChangedError,CurrentBranchChangedError._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2022-12-02") public class CurrentBranchChangedError extends org.apache.thrift.TException implements org.apache.thrift.TBase<CurrentBranchChangedError,CurrentBranchChangedError._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<CurrentBranchChangedError>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CurrentBranchChangedError._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description java.nio.ByteBuffer
currentBranchToken
java.lang.String
message
static java.util.Map<CurrentBranchChangedError._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description CurrentBranchChangedError()
CurrentBranchChangedError(CurrentBranchChangedError other)
Performs a deep copy on other.CurrentBranchChangedError(java.lang.String message, java.nio.ByteBuffer currentBranchToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
bufferForCurrentBranchToken()
void
clear()
int
compareTo(CurrentBranchChangedError other)
CurrentBranchChangedError
deepCopy()
boolean
equals(CurrentBranchChangedError that)
boolean
equals(java.lang.Object that)
CurrentBranchChangedError._Fields
fieldForId(int fieldId)
byte[]
getCurrentBranchToken()
java.lang.Object
getFieldValue(CurrentBranchChangedError._Fields field)
java.lang.String
getMessage()
int
hashCode()
boolean
isSet(CurrentBranchChangedError._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetCurrentBranchToken()
Returns true if field currentBranchToken is set (has been assigned a value) and false otherwiseboolean
isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
CurrentBranchChangedError
setCurrentBranchToken(byte[] currentBranchToken)
CurrentBranchChangedError
setCurrentBranchToken(java.nio.ByteBuffer currentBranchToken)
void
setCurrentBranchTokenIsSet(boolean value)
void
setFieldValue(CurrentBranchChangedError._Fields field, java.lang.Object value)
CurrentBranchChangedError
setMessage(java.lang.String message)
void
setMessageIsSet(boolean value)
java.lang.String
toString()
void
unsetCurrentBranchToken()
void
unsetMessage()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
message
public java.lang.String message
-
currentBranchToken
public java.nio.ByteBuffer currentBranchToken
-
metaDataMap
public static final java.util.Map<CurrentBranchChangedError._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
CurrentBranchChangedError
public CurrentBranchChangedError()
-
CurrentBranchChangedError
public CurrentBranchChangedError(java.lang.String message, java.nio.ByteBuffer currentBranchToken)
-
CurrentBranchChangedError
public CurrentBranchChangedError(CurrentBranchChangedError other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public CurrentBranchChangedError deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<CurrentBranchChangedError,CurrentBranchChangedError._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<CurrentBranchChangedError,CurrentBranchChangedError._Fields>
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
setMessage
public CurrentBranchChangedError setMessage(java.lang.String message)
-
unsetMessage
public void unsetMessage()
-
isSetMessage
public boolean isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwise
-
setMessageIsSet
public void setMessageIsSet(boolean value)
-
getCurrentBranchToken
public byte[] getCurrentBranchToken()
-
bufferForCurrentBranchToken
public java.nio.ByteBuffer bufferForCurrentBranchToken()
-
setCurrentBranchToken
public CurrentBranchChangedError setCurrentBranchToken(byte[] currentBranchToken)
-
setCurrentBranchToken
public CurrentBranchChangedError setCurrentBranchToken(java.nio.ByteBuffer currentBranchToken)
-
unsetCurrentBranchToken
public void unsetCurrentBranchToken()
-
isSetCurrentBranchToken
public boolean isSetCurrentBranchToken()
Returns true if field currentBranchToken is set (has been assigned a value) and false otherwise
-
setCurrentBranchTokenIsSet
public void setCurrentBranchTokenIsSet(boolean value)
-
setFieldValue
public void setFieldValue(CurrentBranchChangedError._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<CurrentBranchChangedError,CurrentBranchChangedError._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(CurrentBranchChangedError._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<CurrentBranchChangedError,CurrentBranchChangedError._Fields>
-
isSet
public boolean isSet(CurrentBranchChangedError._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<CurrentBranchChangedError,CurrentBranchChangedError._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(CurrentBranchChangedError that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(CurrentBranchChangedError other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<CurrentBranchChangedError>
-
fieldForId
public CurrentBranchChangedError._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<CurrentBranchChangedError,CurrentBranchChangedError._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<CurrentBranchChangedError,CurrentBranchChangedError._Fields>
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TBase<CurrentBranchChangedError,CurrentBranchChangedError._Fields>
- Throws:
org.apache.thrift.TException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Throwable
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-