Package com.android.aapt
Interface Resources.VisibilityOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.Visibility,Resources.Visibility.Builder
- Enclosing class:
- Resources
public static interface Resources.VisibilityOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe comment associated with the <public> tag.com.google.protobuf.ByteStringThe comment associated with the <public> tag.getLevel().aapt.pb.Visibility.Level level = 1;int.aapt.pb.Visibility.Level level = 1;The path at which this entry's visibility was defined (eg.The path at which this entry's visibility was defined (eg.booleanIndicates that the resource id may change across builds and that the public R.java identifier for this resource should not be final.booleanThe path at which this entry's visibility was defined (eg.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
-
getLevelValue
int getLevelValue().aapt.pb.Visibility.Level level = 1;- Returns:
- The enum numeric value on the wire for level.
-
getLevel
Resources.Visibility.Level getLevel().aapt.pb.Visibility.Level level = 1;- Returns:
- The level.
-
hasSource
boolean hasSource()The path at which this entry's visibility was defined (eg. public.xml).
.aapt.pb.Source source = 2;- Returns:
- Whether the source field is set.
-
getSource
Resources.Source getSource()The path at which this entry's visibility was defined (eg. public.xml).
.aapt.pb.Source source = 2;- Returns:
- The source.
-
getSourceOrBuilder
Resources.SourceOrBuilder getSourceOrBuilder()The path at which this entry's visibility was defined (eg. public.xml).
.aapt.pb.Source source = 2; -
getComment
String getComment()The comment associated with the <public> tag.
string comment = 3;- Returns:
- The comment.
-
getCommentBytes
com.google.protobuf.ByteString getCommentBytes()The comment associated with the <public> tag.
string comment = 3;- Returns:
- The bytes for comment.
-
getStagedApi
boolean getStagedApi()Indicates that the resource id may change across builds and that the public R.java identifier for this resource should not be final. This is set to `true` for resources in `staging-group` tags.
bool staged_api = 4;- Returns:
- The stagedApi.
-