@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class WMValidateResourcePlanResponse extends Object implements org.apache.thrift.TBase<WMValidateResourcePlanResponse,WMValidateResourcePlanResponse._Fields>, Serializable, Cloneable, Comparable<WMValidateResourcePlanResponse>
| Modifier and Type | Class and Description |
|---|---|
static class |
WMValidateResourcePlanResponse._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<WMValidateResourcePlanResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
WMValidateResourcePlanResponse() |
WMValidateResourcePlanResponse(WMValidateResourcePlanResponse other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToErrors(String elem) |
void |
addToWarnings(String elem) |
void |
clear() |
int |
compareTo(WMValidateResourcePlanResponse other) |
WMValidateResourcePlanResponse |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(WMValidateResourcePlanResponse that) |
WMValidateResourcePlanResponse._Fields |
fieldForId(int fieldId) |
List<String> |
getErrors() |
Iterator<String> |
getErrorsIterator() |
int |
getErrorsSize() |
Object |
getFieldValue(WMValidateResourcePlanResponse._Fields field) |
List<String> |
getWarnings() |
Iterator<String> |
getWarningsIterator() |
int |
getWarningsSize() |
int |
hashCode() |
boolean |
isSet(WMValidateResourcePlanResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetErrors()
Returns true if field errors is set (has been assigned a value) and false otherwise
|
boolean |
isSetWarnings()
Returns true if field warnings is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setErrors(List<String> errors) |
void |
setErrorsIsSet(boolean value) |
void |
setFieldValue(WMValidateResourcePlanResponse._Fields field,
Object value) |
void |
setWarnings(List<String> warnings) |
void |
setWarningsIsSet(boolean value) |
String |
toString() |
void |
unsetErrors() |
void |
unsetWarnings() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<WMValidateResourcePlanResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public WMValidateResourcePlanResponse()
public WMValidateResourcePlanResponse(WMValidateResourcePlanResponse other)
public WMValidateResourcePlanResponse deepCopy()
deepCopy in interface org.apache.thrift.TBase<WMValidateResourcePlanResponse,WMValidateResourcePlanResponse._Fields>public void clear()
clear in interface org.apache.thrift.TBase<WMValidateResourcePlanResponse,WMValidateResourcePlanResponse._Fields>public int getErrorsSize()
public void addToErrors(String elem)
public void unsetErrors()
public boolean isSetErrors()
public void setErrorsIsSet(boolean value)
public int getWarningsSize()
public void addToWarnings(String elem)
public void unsetWarnings()
public boolean isSetWarnings()
public void setWarningsIsSet(boolean value)
public void setFieldValue(WMValidateResourcePlanResponse._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<WMValidateResourcePlanResponse,WMValidateResourcePlanResponse._Fields>public Object getFieldValue(WMValidateResourcePlanResponse._Fields field)
getFieldValue in interface org.apache.thrift.TBase<WMValidateResourcePlanResponse,WMValidateResourcePlanResponse._Fields>public boolean isSet(WMValidateResourcePlanResponse._Fields field)
isSet in interface org.apache.thrift.TBase<WMValidateResourcePlanResponse,WMValidateResourcePlanResponse._Fields>public boolean equals(WMValidateResourcePlanResponse that)
public int compareTo(WMValidateResourcePlanResponse other)
compareTo in interface Comparable<WMValidateResourcePlanResponse>public WMValidateResourcePlanResponse._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<WMValidateResourcePlanResponse,WMValidateResourcePlanResponse._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.