Package com.android.aapt
Interface Resources.PrimitiveOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.Primitive,Resources.Primitive.Builder
- Enclosing class:
- Resources
public static interface Resources.PrimitiveOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleangetBooleanValue()bool boolean_value = 8;intgetColorArgb4Value()uint32 color_argb4_value = 11;intgetColorArgb8Value()uint32 color_argb8_value = 9;intgetColorRgb4Value()uint32 color_rgb4_value = 12;intgetColorRgb8Value()uint32 color_rgb8_value = 10;intgetDimensionValue()uint32 dimension_value = 13;floatgetDimensionValueDeprecated()Deprecated.Resources.Primitive.EmptyTypegetEmptyValue().aapt.pb.Primitive.EmptyType empty_value = 2;Resources.Primitive.EmptyTypeOrBuildergetEmptyValueOrBuilder().aapt.pb.Primitive.EmptyType empty_value = 2;floatgetFloatValue()float float_value = 3;intgetFractionValue()uint32 fraction_value = 14;floatgetFractionValueDeprecated()Deprecated.intgetIntDecimalValue()int32 int_decimal_value = 6;intgetIntHexadecimalValue()uint32 int_hexadecimal_value = 7;Resources.Primitive.NullTypegetNullValue().aapt.pb.Primitive.NullType null_value = 1;Resources.Primitive.NullTypeOrBuildergetNullValueOrBuilder().aapt.pb.Primitive.NullType null_value = 1;Resources.Primitive.OneofValueCasegetOneofValueCase()booleanhasBooleanValue()bool boolean_value = 8;booleanhasColorArgb4Value()uint32 color_argb4_value = 11;booleanhasColorArgb8Value()uint32 color_argb8_value = 9;booleanhasColorRgb4Value()uint32 color_rgb4_value = 12;booleanhasColorRgb8Value()uint32 color_rgb8_value = 10;booleanhasDimensionValue()uint32 dimension_value = 13;booleanhasDimensionValueDeprecated()Deprecated.booleanhasEmptyValue().aapt.pb.Primitive.EmptyType empty_value = 2;booleanhasFloatValue()float float_value = 3;booleanhasFractionValue()uint32 fraction_value = 14;booleanhasFractionValueDeprecated()Deprecated.booleanhasIntDecimalValue()int32 int_decimal_value = 6;booleanhasIntHexadecimalValue()uint32 int_hexadecimal_value = 7;booleanhasNullValue().aapt.pb.Primitive.NullType null_value = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasNullValue
boolean hasNullValue()
.aapt.pb.Primitive.NullType null_value = 1;- Returns:
- Whether the nullValue field is set.
-
getNullValue
Resources.Primitive.NullType getNullValue()
.aapt.pb.Primitive.NullType null_value = 1;- Returns:
- The nullValue.
-
getNullValueOrBuilder
Resources.Primitive.NullTypeOrBuilder getNullValueOrBuilder()
.aapt.pb.Primitive.NullType null_value = 1;
-
hasEmptyValue
boolean hasEmptyValue()
.aapt.pb.Primitive.EmptyType empty_value = 2;- Returns:
- Whether the emptyValue field is set.
-
getEmptyValue
Resources.Primitive.EmptyType getEmptyValue()
.aapt.pb.Primitive.EmptyType empty_value = 2;- Returns:
- The emptyValue.
-
getEmptyValueOrBuilder
Resources.Primitive.EmptyTypeOrBuilder getEmptyValueOrBuilder()
.aapt.pb.Primitive.EmptyType empty_value = 2;
-
hasFloatValue
boolean hasFloatValue()
float float_value = 3;- Returns:
- Whether the floatValue field is set.
-
getFloatValue
float getFloatValue()
float float_value = 3;- Returns:
- The floatValue.
-
hasDimensionValue
boolean hasDimensionValue()
uint32 dimension_value = 13;- Returns:
- Whether the dimensionValue field is set.
-
getDimensionValue
int getDimensionValue()
uint32 dimension_value = 13;- Returns:
- The dimensionValue.
-
hasFractionValue
boolean hasFractionValue()
uint32 fraction_value = 14;- Returns:
- Whether the fractionValue field is set.
-
getFractionValue
int getFractionValue()
uint32 fraction_value = 14;- Returns:
- The fractionValue.
-
hasIntDecimalValue
boolean hasIntDecimalValue()
int32 int_decimal_value = 6;- Returns:
- Whether the intDecimalValue field is set.
-
getIntDecimalValue
int getIntDecimalValue()
int32 int_decimal_value = 6;- Returns:
- The intDecimalValue.
-
hasIntHexadecimalValue
boolean hasIntHexadecimalValue()
uint32 int_hexadecimal_value = 7;- Returns:
- Whether the intHexadecimalValue field is set.
-
getIntHexadecimalValue
int getIntHexadecimalValue()
uint32 int_hexadecimal_value = 7;- Returns:
- The intHexadecimalValue.
-
hasBooleanValue
boolean hasBooleanValue()
bool boolean_value = 8;- Returns:
- Whether the booleanValue field is set.
-
getBooleanValue
boolean getBooleanValue()
bool boolean_value = 8;- Returns:
- The booleanValue.
-
hasColorArgb8Value
boolean hasColorArgb8Value()
uint32 color_argb8_value = 9;- Returns:
- Whether the colorArgb8Value field is set.
-
getColorArgb8Value
int getColorArgb8Value()
uint32 color_argb8_value = 9;- Returns:
- The colorArgb8Value.
-
hasColorRgb8Value
boolean hasColorRgb8Value()
uint32 color_rgb8_value = 10;- Returns:
- Whether the colorRgb8Value field is set.
-
getColorRgb8Value
int getColorRgb8Value()
uint32 color_rgb8_value = 10;- Returns:
- The colorRgb8Value.
-
hasColorArgb4Value
boolean hasColorArgb4Value()
uint32 color_argb4_value = 11;- Returns:
- Whether the colorArgb4Value field is set.
-
getColorArgb4Value
int getColorArgb4Value()
uint32 color_argb4_value = 11;- Returns:
- The colorArgb4Value.
-
hasColorRgb4Value
boolean hasColorRgb4Value()
uint32 color_rgb4_value = 12;- Returns:
- Whether the colorRgb4Value field is set.
-
getColorRgb4Value
int getColorRgb4Value()
uint32 color_rgb4_value = 12;- Returns:
- The colorRgb4Value.
-
hasDimensionValueDeprecated
@Deprecated boolean hasDimensionValueDeprecated()
Deprecated.float dimension_value_deprecated = 4 [deprecated = true];- Returns:
- Whether the dimensionValueDeprecated field is set.
-
getDimensionValueDeprecated
@Deprecated float getDimensionValueDeprecated()
Deprecated.float dimension_value_deprecated = 4 [deprecated = true];- Returns:
- The dimensionValueDeprecated.
-
hasFractionValueDeprecated
@Deprecated boolean hasFractionValueDeprecated()
Deprecated.float fraction_value_deprecated = 5 [deprecated = true];- Returns:
- Whether the fractionValueDeprecated field is set.
-
getFractionValueDeprecated
@Deprecated float getFractionValueDeprecated()
Deprecated.float fraction_value_deprecated = 5 [deprecated = true];- Returns:
- The fractionValueDeprecated.
-
getOneofValueCase
Resources.Primitive.OneofValueCase getOneofValueCase()
-
-