public class DefaultValues extends Object implements PMessage<DefaultValues>, Serializable, Comparable<DefaultValues>, android.os.Parcelable
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultValues._Builder |
static class |
DefaultValues._Field |
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<DefaultValues> |
CREATOR |
static PStructDescriptor<DefaultValues,DefaultValues._Field> |
kDescriptor |
| Constructor and Description |
|---|
DefaultValues(boolean pBooleanValue,
byte pByteValue,
short pShortValue,
int pIntegerValue,
long pLongValue,
double pDoubleValue,
String pStringValue,
net.morimekta.util.Binary pBinaryValue,
Value pEnumValue,
CompactFields pCompactValue) |
public static final PStructDescriptor<DefaultValues,DefaultValues._Field> kDescriptor
public static final android.os.Parcelable.Creator<DefaultValues> CREATOR
public DefaultValues(boolean pBooleanValue,
byte pByteValue,
short pShortValue,
int pIntegerValue,
long pLongValue,
double pDoubleValue,
String pStringValue,
net.morimekta.util.Binary pBinaryValue,
Value pEnumValue,
CompactFields pCompactValue)
public boolean hasBooleanValue()
public boolean isBooleanValue()
public boolean hasByteValue()
public byte getByteValue()
public boolean hasShortValue()
public short getShortValue()
public boolean hasIntegerValue()
public int getIntegerValue()
public boolean hasLongValue()
public long getLongValue()
public boolean hasDoubleValue()
public double getDoubleValue()
public boolean hasStringValue()
public String getStringValue()
public boolean hasBinaryValue()
public net.morimekta.util.Binary getBinaryValue()
public boolean hasEnumValue()
public Value getEnumValue()
public boolean hasCompactValue()
public CompactFields getCompactValue()
public boolean has(int key)
has in interface PMessage<DefaultValues>public int num(int key)
num in interface PMessage<DefaultValues>public Object get(int key)
get in interface PMessage<DefaultValues>public boolean isCompact()
isCompact in interface PMessage<DefaultValues>public boolean isSimple()
isSimple in interface PMessage<DefaultValues>public String asString()
asString in interface PMessage<DefaultValues>public int compareTo(DefaultValues other)
compareTo in interface Comparable<DefaultValues>public static PStructDescriptorProvider<DefaultValues,DefaultValues._Field> provider()
public PStructDescriptor<DefaultValues,DefaultValues._Field> descriptor()
descriptor in interface PMessage<DefaultValues>descriptor in interface PValue<DefaultValues>public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic DefaultValues._Builder mutate()
mutate in interface PMessage<DefaultValues>public static DefaultValues._Builder builder()
Copyright © 2016. All rights reserved.