public class TAuthorization extends Object implements org.apache.thrift.TBase<TAuthorization,TAuthorization._Fields>, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
TAuthorization._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
List<String> |
labels |
static Map<TAuthorization._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
TAuthorization() |
TAuthorization(TAuthorization other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToLabels(String elem) |
void |
clear() |
int |
compareTo(TAuthorization other) |
TAuthorization |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TAuthorization that) |
TAuthorization._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TAuthorization._Fields field) |
List<String> |
getLabels() |
Iterator<String> |
getLabelsIterator() |
int |
getLabelsSize() |
int |
hashCode() |
boolean |
isSet(TAuthorization._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetLabels()
Returns true if field labels is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TAuthorization._Fields field,
Object value) |
TAuthorization |
setLabels(List<String> labels) |
void |
setLabelsIsSet(boolean value) |
String |
toString() |
void |
unsetLabels() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TAuthorization._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TAuthorization()
public TAuthorization(TAuthorization other)
public TAuthorization deepCopy()
deepCopy in interface org.apache.thrift.TBase<TAuthorization,TAuthorization._Fields>public void clear()
clear in interface org.apache.thrift.TBase<TAuthorization,TAuthorization._Fields>public int getLabelsSize()
public void addToLabels(String elem)
public TAuthorization setLabels(List<String> labels)
public void unsetLabels()
public boolean isSetLabels()
public void setLabelsIsSet(boolean value)
public void setFieldValue(TAuthorization._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<TAuthorization,TAuthorization._Fields>public Object getFieldValue(TAuthorization._Fields field)
getFieldValue in interface org.apache.thrift.TBase<TAuthorization,TAuthorization._Fields>public boolean isSet(TAuthorization._Fields field)
isSet in interface org.apache.thrift.TBase<TAuthorization,TAuthorization._Fields>public boolean equals(TAuthorization that)
public int compareTo(TAuthorization other)
compareTo in interface Comparable<TAuthorization>public TAuthorization._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<TAuthorization,TAuthorization._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<TAuthorization,TAuthorization._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<TAuthorization,TAuthorization._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.