booster / com.didiglobal.booster.aapt2 / Resources / Visibility / Builder

Builder

class Builder : Builder<Builder!>, VisibilityOrBuilder


      The Visibility of a symbol/entry (public, private, undefined).
      
Protobuf type aapt.pb.Visibility

Functions

addRepeatedField

fun addRepeatedField(field: FieldDescriptor!, value: Any!): Builder!

build

fun build(): Visibility!

buildPartial

fun buildPartial(): Visibility!

clear

fun clear(): Builder!

clearComment


        The comment associated with the <public> tag.
        
string comment = 3;

fun clearComment(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearLevel

.aapt.pb.Visibility.Level level = 1;

fun clearLevel(): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clearSource


        The path at which this entry's visibility was defined (eg. public.xml).
        
.aapt.pb.Source source = 2;

fun clearSource(): Builder!

clone

fun clone(): Builder!

getComment


        The comment associated with the <public> tag.
        
string comment = 3;

fun getComment(): String!

getCommentBytes


        The comment associated with the <public> tag.
        
string comment = 3;

fun getCommentBytes(): ByteString!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Visibility!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getLevel

.aapt.pb.Visibility.Level level = 1;

fun getLevel(): Level!

getLevelValue

.aapt.pb.Visibility.Level level = 1;

fun getLevelValue(): Int

getSource


        The path at which this entry's visibility was defined (eg. public.xml).
        
.aapt.pb.Source source = 2;

fun getSource(): Source!

getSourceBuilder


        The path at which this entry's visibility was defined (eg. public.xml).
        
.aapt.pb.Source source = 2;

fun getSourceBuilder(): Builder!

getSourceOrBuilder


        The path at which this entry's visibility was defined (eg. public.xml).
        
.aapt.pb.Source source = 2;

fun getSourceOrBuilder(): SourceOrBuilder!

hasSource


        The path at which this entry's visibility was defined (eg. public.xml).
        
.aapt.pb.Source source = 2;

fun hasSource(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeFrom

fun mergeFrom(other: Message!): Builder!
fun mergeFrom(other: Visibility!): Builder!
fun mergeFrom(input: CodedInputStream!, extensionRegistry: ExtensionRegistryLite!): Builder!

mergeSource


        The path at which this entry's visibility was defined (eg. public.xml).
        
.aapt.pb.Source source = 2;

fun mergeSource(value: Source!): Builder!

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setComment


        The comment associated with the <public> tag.
        
string comment = 3;

fun setComment(value: String!): Builder!

setCommentBytes


        The comment associated with the <public> tag.
        
string comment = 3;

fun setCommentBytes(value: ByteString!): Builder!

setField

fun setField(field: FieldDescriptor!, value: Any!): Builder!

setLevel

.aapt.pb.Visibility.Level level = 1;

fun setLevel(value: Level!): Builder!

setLevelValue

.aapt.pb.Visibility.Level level = 1;

fun setLevelValue(value: Int): Builder!

setRepeatedField

fun setRepeatedField(field: FieldDescriptor!, index: Int, value: Any!): Builder!

setSource


        The path at which this entry's visibility was defined (eg. public.xml).
        
.aapt.pb.Source source = 2;

fun setSource(value: Source!): Builder!
fun setSource(builderForValue: Builder!): Builder!

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!