Package com.android.aapt
Interface Resources.ValueOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.Value,Resources.Value.Builder
- Enclosing class:
- Resources
public static interface Resources.ValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAny comment associated with the value.com.google.protobuf.ByteStringAny comment associated with the value..aapt.pb.CompoundValue compound_value = 5;.aapt.pb.CompoundValue compound_value = 5;getItem().aapt.pb.Item item = 4;.aapt.pb.Item item = 4;Where the value was defined.Where the value was defined.booleangetWeak()Whether the value can be overridden.boolean.aapt.pb.CompoundValue compound_value = 5;booleanhasItem().aapt.pb.Item item = 4;booleanWhere the value was defined.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
-
hasSource
boolean hasSource()Where the value was defined.
.aapt.pb.Source source = 1;- Returns:
- Whether the source field is set.
-
getSource
Resources.Source getSource()Where the value was defined.
.aapt.pb.Source source = 1;- Returns:
- The source.
-
getSourceOrBuilder
Resources.SourceOrBuilder getSourceOrBuilder()Where the value was defined.
.aapt.pb.Source source = 1; -
getComment
String getComment()Any comment associated with the value.
string comment = 2;- Returns:
- The comment.
-
getCommentBytes
com.google.protobuf.ByteString getCommentBytes()Any comment associated with the value.
string comment = 2;- Returns:
- The bytes for comment.
-
getWeak
boolean getWeak()Whether the value can be overridden.
bool weak = 3;- Returns:
- The weak.
-
hasItem
boolean hasItem().aapt.pb.Item item = 4;- Returns:
- Whether the item field is set.
-
getItem
Resources.Item getItem().aapt.pb.Item item = 4;- Returns:
- The item.
-
getItemOrBuilder
Resources.ItemOrBuilder getItemOrBuilder().aapt.pb.Item item = 4; -
hasCompoundValue
boolean hasCompoundValue().aapt.pb.CompoundValue compound_value = 5;- Returns:
- Whether the compoundValue field is set.
-
getCompoundValue
Resources.CompoundValue getCompoundValue().aapt.pb.CompoundValue compound_value = 5;- Returns:
- The compoundValue.
-
getCompoundValueOrBuilder
Resources.CompoundValueOrBuilder getCompoundValueOrBuilder().aapt.pb.CompoundValue compound_value = 5; -
getValueCase
Resources.Value.ValueCase getValueCase()
-