public class RemoveRangeReq extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<RemoveRangeReq>
| Modifier and Type | Class and Description |
|---|---|
static class |
RemoveRangeReq.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
end |
static int |
END |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
byte[] |
segment |
static int |
SEGMENT |
byte[] |
start |
static int |
START |
| Constructor and Description |
|---|
RemoveRangeReq() |
RemoveRangeReq(byte[] segment,
byte[] start,
byte[] end) |
RemoveRangeReq(RemoveRangeReq other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static RemoveRangeReq.Builder |
builder() |
int |
compareTo(RemoveRangeReq other) |
RemoveRangeReq |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getEnd() |
Object |
getFieldValue(int fieldID) |
byte[] |
getSegment() |
byte[] |
getStart() |
int |
hashCode() |
boolean |
isSetEnd() |
boolean |
isSetSegment() |
boolean |
isSetStart() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
RemoveRangeReq |
setEnd(byte[] end) |
void |
setEndIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
RemoveRangeReq |
setSegment(byte[] segment) |
void |
setSegmentIsSet(boolean __value) |
RemoveRangeReq |
setStart(byte[] start) |
void |
setStartIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetEnd() |
void |
unsetSegment() |
void |
unsetStart() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public byte[] segment
public byte[] start
public byte[] end
public static final int SEGMENT
public static final int START
public static final int END
public RemoveRangeReq()
public RemoveRangeReq(byte[] segment,
byte[] start,
byte[] end)
public RemoveRangeReq(RemoveRangeReq other)
public static RemoveRangeReq.Builder builder()
public RemoveRangeReq deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic byte[] getSegment()
public RemoveRangeReq setSegment(byte[] segment)
public void unsetSegment()
public boolean isSetSegment()
public void setSegmentIsSet(boolean __value)
public byte[] getStart()
public RemoveRangeReq setStart(byte[] start)
public void unsetStart()
public boolean isSetStart()
public void setStartIsSet(boolean __value)
public byte[] getEnd()
public RemoveRangeReq setEnd(byte[] end)
public void unsetEnd()
public boolean isSetEnd()
public void setEndIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(RemoveRangeReq other)
compareTo in interface Comparable<RemoveRangeReq>public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2022. All rights reserved.