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

Builder

class Builder : Builder<Builder!>, RawStringOrBuilder


      A value that is a raw string, which is unescaped/uninterpreted. This is typically used to
      represent the value of a style attribute before the attribute is compiled and the set of
      allowed values is known.
      
Protobuf type aapt.pb.RawString

Functions

addRepeatedField

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

build

fun build(): RawString!

buildPartial

fun buildPartial(): RawString!

clear

fun clear(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clearValue

string value = 1;

fun clearValue(): Builder!

clone

fun clone(): Builder!

getDefaultInstanceForType

fun getDefaultInstanceForType(): RawString!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getValue

string value = 1;

fun getValue(): String!

getValueBytes

string value = 1;

fun getValueBytes(): ByteString!

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeFrom

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

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setField

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

setRepeatedField

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

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setValue

string value = 1;

fun setValue(value: String!): Builder!

setValueBytes

string value = 1;

fun setValueBytes(value: ByteString!): Builder!