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
Modifier and TypeMethodDescriptionbooleanbool boolean_value = 8;intuint32 color_argb4_value = 11;intuint32 color_argb8_value = 9;intuint32 color_rgb4_value = 12;intuint32 color_rgb8_value = 10;intuint32 dimension_value = 13;floatDeprecated.aapt.pb.Primitive.dimension_value_deprecated is deprecated..aapt.pb.Primitive.EmptyType empty_value = 2;.aapt.pb.Primitive.EmptyType empty_value = 2;floatfloat float_value = 3;intuint32 fraction_value = 14;floatDeprecated.aapt.pb.Primitive.fraction_value_deprecated is deprecated.intint32 int_decimal_value = 6;intuint32 int_hexadecimal_value = 7;.aapt.pb.Primitive.NullType null_value = 1;.aapt.pb.Primitive.NullType null_value = 1;booleanbool boolean_value = 8;booleanuint32 color_argb4_value = 11;booleanuint32 color_argb8_value = 9;booleanuint32 color_rgb4_value = 12;booleanuint32 color_rgb8_value = 10;booleanuint32 dimension_value = 13;booleanDeprecated.aapt.pb.Primitive.dimension_value_deprecated is deprecated.boolean.aapt.pb.Primitive.EmptyType empty_value = 2;booleanfloat float_value = 3;booleanuint32 fraction_value = 14;booleanDeprecated.aapt.pb.Primitive.fraction_value_deprecated is deprecated.booleanint32 int_decimal_value = 6;booleanuint32 int_hexadecimal_value = 7;boolean.aapt.pb.Primitive.NullType null_value = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.aapt.pb.Primitive.dimension_value_deprecated is deprecated. See Resources.proto;l=409float dimension_value_deprecated = 4 [deprecated = true];- Returns:
- Whether the dimensionValueDeprecated field is set.
-
getDimensionValueDeprecated
Deprecated.aapt.pb.Primitive.dimension_value_deprecated is deprecated. See Resources.proto;l=409float dimension_value_deprecated = 4 [deprecated = true];- Returns:
- The dimensionValueDeprecated.
-
hasFractionValueDeprecated
Deprecated.aapt.pb.Primitive.fraction_value_deprecated is deprecated. See Resources.proto;l=410float fraction_value_deprecated = 5 [deprecated = true];- Returns:
- Whether the fractionValueDeprecated field is set.
-
getFractionValueDeprecated
Deprecated.aapt.pb.Primitive.fraction_value_deprecated is deprecated. See Resources.proto;l=410float fraction_value_deprecated = 5 [deprecated = true];- Returns:
- The fractionValueDeprecated.
-
getOneofValueCase
Resources.Primitive.OneofValueCase getOneofValueCase()
-