@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class SetAttributeTOptions extends Object implements org.apache.thrift.TBase<SetAttributeTOptions,SetAttributeTOptions._Fields>, Serializable, Cloneable, Comparable<SetAttributeTOptions>
Modifier and Type | Class and Description |
---|---|
static class |
SetAttributeTOptions._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<SetAttributeTOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SetAttributeTOptions() |
SetAttributeTOptions(SetAttributeTOptions other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(SetAttributeTOptions other) |
SetAttributeTOptions |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SetAttributeTOptions that) |
SetAttributeTOptions._Fields |
fieldForId(int fieldId) |
FileSystemMasterCommonTOptions |
getCommonOptions() |
Object |
getFieldValue(SetAttributeTOptions._Fields field) |
String |
getGroup() |
short |
getMode() |
String |
getOwner() |
long |
getTtl() |
TTtlAction |
getTtlAction() |
int |
hashCode() |
boolean |
isPersisted() |
boolean |
isPinned() |
boolean |
isRecursive() |
boolean |
isSet(SetAttributeTOptions._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCommonOptions()
Returns true if field commonOptions is set (has been assigned a value) and false otherwise
|
boolean |
isSetGroup()
Returns true if field group is set (has been assigned a value) and false otherwise
|
boolean |
isSetMode()
Returns true if field mode is set (has been assigned a value) and false otherwise
|
boolean |
isSetOwner()
Returns true if field owner is set (has been assigned a value) and false otherwise
|
boolean |
isSetPersisted()
Returns true if field persisted is set (has been assigned a value) and false otherwise
|
boolean |
isSetPinned()
Returns true if field pinned is set (has been assigned a value) and false otherwise
|
boolean |
isSetRecursive()
Returns true if field recursive is set (has been assigned a value) and false otherwise
|
boolean |
isSetTtl()
Returns true if field ttl is set (has been assigned a value) and false otherwise
|
boolean |
isSetTtlAction()
Returns true if field ttlAction is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
SetAttributeTOptions |
setCommonOptions(FileSystemMasterCommonTOptions commonOptions) |
void |
setCommonOptionsIsSet(boolean value) |
void |
setFieldValue(SetAttributeTOptions._Fields field,
Object value) |
SetAttributeTOptions |
setGroup(String group) |
void |
setGroupIsSet(boolean value) |
SetAttributeTOptions |
setMode(short mode) |
void |
setModeIsSet(boolean value) |
SetAttributeTOptions |
setOwner(String owner) |
void |
setOwnerIsSet(boolean value) |
SetAttributeTOptions |
setPersisted(boolean persisted) |
void |
setPersistedIsSet(boolean value) |
SetAttributeTOptions |
setPinned(boolean pinned) |
void |
setPinnedIsSet(boolean value) |
SetAttributeTOptions |
setRecursive(boolean recursive) |
void |
setRecursiveIsSet(boolean value) |
SetAttributeTOptions |
setTtl(long ttl) |
SetAttributeTOptions |
setTtlAction(TTtlAction ttlAction) |
void |
setTtlActionIsSet(boolean value) |
void |
setTtlIsSet(boolean value) |
String |
toString() |
void |
unsetCommonOptions() |
void |
unsetGroup() |
void |
unsetMode() |
void |
unsetOwner() |
void |
unsetPersisted() |
void |
unsetPinned() |
void |
unsetRecursive() |
void |
unsetTtl() |
void |
unsetTtlAction() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<SetAttributeTOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public SetAttributeTOptions()
public SetAttributeTOptions(SetAttributeTOptions other)
public SetAttributeTOptions deepCopy()
deepCopy
in interface org.apache.thrift.TBase<SetAttributeTOptions,SetAttributeTOptions._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<SetAttributeTOptions,SetAttributeTOptions._Fields>
public boolean isPinned()
public SetAttributeTOptions setPinned(boolean pinned)
public void unsetPinned()
public boolean isSetPinned()
public void setPinnedIsSet(boolean value)
public long getTtl()
public SetAttributeTOptions setTtl(long ttl)
public void unsetTtl()
public boolean isSetTtl()
public void setTtlIsSet(boolean value)
public boolean isPersisted()
public SetAttributeTOptions setPersisted(boolean persisted)
public void unsetPersisted()
public boolean isSetPersisted()
public void setPersistedIsSet(boolean value)
public String getOwner()
public SetAttributeTOptions setOwner(String owner)
public void unsetOwner()
public boolean isSetOwner()
public void setOwnerIsSet(boolean value)
public String getGroup()
public SetAttributeTOptions setGroup(String group)
public void unsetGroup()
public boolean isSetGroup()
public void setGroupIsSet(boolean value)
public short getMode()
public SetAttributeTOptions setMode(short mode)
public void unsetMode()
public boolean isSetMode()
public void setModeIsSet(boolean value)
public boolean isRecursive()
public SetAttributeTOptions setRecursive(boolean recursive)
public void unsetRecursive()
public boolean isSetRecursive()
public void setRecursiveIsSet(boolean value)
public TTtlAction getTtlAction()
TTtlAction
public SetAttributeTOptions setTtlAction(TTtlAction ttlAction)
TTtlAction
public void unsetTtlAction()
public boolean isSetTtlAction()
public void setTtlActionIsSet(boolean value)
public FileSystemMasterCommonTOptions getCommonOptions()
public SetAttributeTOptions setCommonOptions(FileSystemMasterCommonTOptions commonOptions)
public void unsetCommonOptions()
public boolean isSetCommonOptions()
public void setCommonOptionsIsSet(boolean value)
public void setFieldValue(SetAttributeTOptions._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<SetAttributeTOptions,SetAttributeTOptions._Fields>
public Object getFieldValue(SetAttributeTOptions._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<SetAttributeTOptions,SetAttributeTOptions._Fields>
public boolean isSet(SetAttributeTOptions._Fields field)
isSet
in interface org.apache.thrift.TBase<SetAttributeTOptions,SetAttributeTOptions._Fields>
public boolean equals(SetAttributeTOptions that)
public int compareTo(SetAttributeTOptions other)
compareTo
in interface Comparable<SetAttributeTOptions>
public SetAttributeTOptions._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<SetAttributeTOptions,SetAttributeTOptions._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<SetAttributeTOptions,SetAttributeTOptions._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<SetAttributeTOptions,SetAttributeTOptions._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.