public static class BlockWorkerClientService.promoteBlock_args extends Object implements org.apache.thrift.TBase<BlockWorkerClientService.promoteBlock_args,BlockWorkerClientService.promoteBlock_args._Fields>, Serializable, Cloneable, Comparable<BlockWorkerClientService.promoteBlock_args>
Modifier and Type | Class and Description |
---|---|
static class |
BlockWorkerClientService.promoteBlock_args._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<BlockWorkerClientService.promoteBlock_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
promoteBlock_args() |
promoteBlock_args(BlockWorkerClientService.promoteBlock_args other)
Performs a deep copy on other.
|
promoteBlock_args(long blockId,
PromoteBlockTOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(BlockWorkerClientService.promoteBlock_args other) |
BlockWorkerClientService.promoteBlock_args |
deepCopy() |
boolean |
equals(BlockWorkerClientService.promoteBlock_args that) |
boolean |
equals(Object that) |
BlockWorkerClientService.promoteBlock_args._Fields |
fieldForId(int fieldId) |
long |
getBlockId()
the id of the block being accessed
|
Object |
getFieldValue(BlockWorkerClientService.promoteBlock_args._Fields field) |
PromoteBlockTOptions |
getOptions()
the method options
|
int |
hashCode() |
boolean |
isSet(BlockWorkerClientService.promoteBlock_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBlockId()
Returns true if field blockId is set (has been assigned a value) and false otherwise
|
boolean |
isSetOptions()
Returns true if field options is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
BlockWorkerClientService.promoteBlock_args |
setBlockId(long blockId)
the id of the block being accessed
|
void |
setBlockIdIsSet(boolean value) |
void |
setFieldValue(BlockWorkerClientService.promoteBlock_args._Fields field,
Object value) |
BlockWorkerClientService.promoteBlock_args |
setOptions(PromoteBlockTOptions options)
the method options
|
void |
setOptionsIsSet(boolean value) |
String |
toString() |
void |
unsetBlockId() |
void |
unsetOptions() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<BlockWorkerClientService.promoteBlock_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public promoteBlock_args()
public promoteBlock_args(long blockId, PromoteBlockTOptions options)
public promoteBlock_args(BlockWorkerClientService.promoteBlock_args other)
public BlockWorkerClientService.promoteBlock_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<BlockWorkerClientService.promoteBlock_args,BlockWorkerClientService.promoteBlock_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<BlockWorkerClientService.promoteBlock_args,BlockWorkerClientService.promoteBlock_args._Fields>
public long getBlockId()
public BlockWorkerClientService.promoteBlock_args setBlockId(long blockId)
public void unsetBlockId()
public boolean isSetBlockId()
public void setBlockIdIsSet(boolean value)
public PromoteBlockTOptions getOptions()
public BlockWorkerClientService.promoteBlock_args setOptions(PromoteBlockTOptions options)
public void unsetOptions()
public boolean isSetOptions()
public void setOptionsIsSet(boolean value)
public void setFieldValue(BlockWorkerClientService.promoteBlock_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<BlockWorkerClientService.promoteBlock_args,BlockWorkerClientService.promoteBlock_args._Fields>
public Object getFieldValue(BlockWorkerClientService.promoteBlock_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<BlockWorkerClientService.promoteBlock_args,BlockWorkerClientService.promoteBlock_args._Fields>
public boolean isSet(BlockWorkerClientService.promoteBlock_args._Fields field)
isSet
in interface org.apache.thrift.TBase<BlockWorkerClientService.promoteBlock_args,BlockWorkerClientService.promoteBlock_args._Fields>
public boolean equals(BlockWorkerClientService.promoteBlock_args that)
public int compareTo(BlockWorkerClientService.promoteBlock_args other)
compareTo
in interface Comparable<BlockWorkerClientService.promoteBlock_args>
public BlockWorkerClientService.promoteBlock_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<BlockWorkerClientService.promoteBlock_args,BlockWorkerClientService.promoteBlock_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<BlockWorkerClientService.promoteBlock_args,BlockWorkerClientService.promoteBlock_args._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<BlockWorkerClientService.promoteBlock_args,BlockWorkerClientService.promoteBlock_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.