@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class MountPointInfo extends Object implements org.apache.thrift.TBase<MountPointInfo,MountPointInfo._Fields>, Serializable, Cloneable, Comparable<MountPointInfo>
Modifier and Type | Class and Description |
---|---|
static class |
MountPointInfo._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<MountPointInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
MountPointInfo() |
MountPointInfo(MountPointInfo other)
Performs a deep copy on other.
|
MountPointInfo(String ufsUri,
String ufsType,
long ufsCapacityBytes,
long ufsUsedBytes,
boolean readOnly,
Map<String,String> properties,
boolean shared) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(MountPointInfo other) |
MountPointInfo |
deepCopy() |
boolean |
equals(MountPointInfo that) |
boolean |
equals(Object that) |
MountPointInfo._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(MountPointInfo._Fields field) |
Map<String,String> |
getProperties() |
int |
getPropertiesSize() |
long |
getUfsCapacityBytes() |
String |
getUfsType() |
String |
getUfsUri() |
long |
getUfsUsedBytes() |
int |
hashCode() |
boolean |
isReadOnly() |
boolean |
isSet(MountPointInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetProperties()
Returns true if field properties is set (has been assigned a value) and false otherwise
|
boolean |
isSetReadOnly()
Returns true if field readOnly is set (has been assigned a value) and false otherwise
|
boolean |
isSetShared()
Returns true if field shared is set (has been assigned a value) and false otherwise
|
boolean |
isSetUfsCapacityBytes()
Returns true if field ufsCapacityBytes is set (has been assigned a value) and false otherwise
|
boolean |
isSetUfsType()
Returns true if field ufsType is set (has been assigned a value) and false otherwise
|
boolean |
isSetUfsUri()
Returns true if field ufsUri is set (has been assigned a value) and false otherwise
|
boolean |
isSetUfsUsedBytes()
Returns true if field ufsUsedBytes is set (has been assigned a value) and false otherwise
|
boolean |
isShared() |
void |
putToProperties(String key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(MountPointInfo._Fields field,
Object value) |
MountPointInfo |
setProperties(Map<String,String> properties) |
void |
setPropertiesIsSet(boolean value) |
MountPointInfo |
setReadOnly(boolean readOnly) |
void |
setReadOnlyIsSet(boolean value) |
MountPointInfo |
setShared(boolean shared) |
void |
setSharedIsSet(boolean value) |
MountPointInfo |
setUfsCapacityBytes(long ufsCapacityBytes) |
void |
setUfsCapacityBytesIsSet(boolean value) |
MountPointInfo |
setUfsType(String ufsType) |
void |
setUfsTypeIsSet(boolean value) |
MountPointInfo |
setUfsUri(String ufsUri) |
void |
setUfsUriIsSet(boolean value) |
MountPointInfo |
setUfsUsedBytes(long ufsUsedBytes) |
void |
setUfsUsedBytesIsSet(boolean value) |
String |
toString() |
void |
unsetProperties() |
void |
unsetReadOnly() |
void |
unsetShared() |
void |
unsetUfsCapacityBytes() |
void |
unsetUfsType() |
void |
unsetUfsUri() |
void |
unsetUfsUsedBytes() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<MountPointInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public MountPointInfo()
public MountPointInfo(String ufsUri, String ufsType, long ufsCapacityBytes, long ufsUsedBytes, boolean readOnly, Map<String,String> properties, boolean shared)
public MountPointInfo(MountPointInfo other)
public MountPointInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<MountPointInfo,MountPointInfo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<MountPointInfo,MountPointInfo._Fields>
public String getUfsUri()
public MountPointInfo setUfsUri(String ufsUri)
public void unsetUfsUri()
public boolean isSetUfsUri()
public void setUfsUriIsSet(boolean value)
public String getUfsType()
public MountPointInfo setUfsType(String ufsType)
public void unsetUfsType()
public boolean isSetUfsType()
public void setUfsTypeIsSet(boolean value)
public long getUfsCapacityBytes()
public MountPointInfo setUfsCapacityBytes(long ufsCapacityBytes)
public void unsetUfsCapacityBytes()
public boolean isSetUfsCapacityBytes()
public void setUfsCapacityBytesIsSet(boolean value)
public long getUfsUsedBytes()
public MountPointInfo setUfsUsedBytes(long ufsUsedBytes)
public void unsetUfsUsedBytes()
public boolean isSetUfsUsedBytes()
public void setUfsUsedBytesIsSet(boolean value)
public boolean isReadOnly()
public MountPointInfo setReadOnly(boolean readOnly)
public void unsetReadOnly()
public boolean isSetReadOnly()
public void setReadOnlyIsSet(boolean value)
public int getPropertiesSize()
public MountPointInfo setProperties(Map<String,String> properties)
public void unsetProperties()
public boolean isSetProperties()
public void setPropertiesIsSet(boolean value)
public boolean isShared()
public MountPointInfo setShared(boolean shared)
public void unsetShared()
public boolean isSetShared()
public void setSharedIsSet(boolean value)
public void setFieldValue(MountPointInfo._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<MountPointInfo,MountPointInfo._Fields>
public Object getFieldValue(MountPointInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<MountPointInfo,MountPointInfo._Fields>
public boolean isSet(MountPointInfo._Fields field)
isSet
in interface org.apache.thrift.TBase<MountPointInfo,MountPointInfo._Fields>
public boolean equals(MountPointInfo that)
public int compareTo(MountPointInfo other)
compareTo
in interface Comparable<MountPointInfo>
public MountPointInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<MountPointInfo,MountPointInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<MountPointInfo,MountPointInfo._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<MountPointInfo,MountPointInfo._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.