class Reference : GeneratedMessageV3, ReferenceOrBuilder
A value that is a reference to another resource. This reference can be by name or resource ID.
Protobuf type aapt.pb.Reference
Builder |
Protobuf type aapt.pb.Reference
class Builder : Builder<Builder!>, ReferenceOrBuilder |
Type |
Protobuf enum class Type : ProtocolMessageEnum |
ID_FIELD_NUMBER |
static val ID_FIELD_NUMBER: Int |
NAME_FIELD_NUMBER |
static val NAME_FIELD_NUMBER: Int |
PRIVATE_FIELD_NUMBER |
static val PRIVATE_FIELD_NUMBER: Int |
TYPE_FIELD_NUMBER |
static val TYPE_FIELD_NUMBER: Int |
equals |
fun equals(other: Any?): Boolean |
getDefaultInstance |
static fun getDefaultInstance(): Reference! |
getDefaultInstanceForType |
fun getDefaultInstanceForType(): Reference! |
getDescriptor |
static fun getDescriptor(): Descriptor! |
getId |
uint32 id = 2;
fun getId(): Int |
getName |
string name = 3;
fun getName(): String! |
getNameBytes |
string name = 3;
fun getNameBytes(): ByteString! |
getParserForType |
fun getParserForType(): Parser<Reference!>! |
getPrivate |
bool private = 4;
fun getPrivate(): Boolean |
getSerializedSize |
fun getSerializedSize(): Int |
getType |
fun getType(): Type! |
getTypeValue |
fun getTypeValue(): Int |
getUnknownFields |
fun getUnknownFields(): UnknownFieldSet! |
hashCode |
fun hashCode(): Int |
internalGetFieldAccessorTable |
fun internalGetFieldAccessorTable(): FieldAccessorTable! |
isInitialized |
fun isInitialized(): Boolean |
newBuilder |
static fun newBuilder(): Builder! static fun newBuilder(prototype: Reference!): Builder! |
newBuilderForType |
fun newBuilderForType(): Builder! fun newBuilderForType(parent: BuilderParent!): Builder! |
newInstance |
fun newInstance(unused: UnusedPrivateParameter!): Any! |
parseDelimitedFrom |
static fun parseDelimitedFrom(input: InputStream!): Reference! static fun parseDelimitedFrom(input: InputStream!, extensionRegistry: ExtensionRegistryLite!): Reference! |
parseFrom |
static fun parseFrom(data: ByteBuffer!): Reference! static fun parseFrom(data: ByteBuffer!, extensionRegistry: ExtensionRegistryLite!): Reference! static fun parseFrom(data: ByteString!): Reference! static fun parseFrom(data: ByteString!, extensionRegistry: ExtensionRegistryLite!): Reference! static fun parseFrom(data: ByteArray!): Reference! static fun parseFrom(data: ByteArray!, extensionRegistry: ExtensionRegistryLite!): Reference! static fun parseFrom(input: InputStream!): Reference! static fun parseFrom(input: InputStream!, extensionRegistry: ExtensionRegistryLite!): Reference! static fun parseFrom(input: CodedInputStream!): Reference! static fun parseFrom(input: CodedInputStream!, extensionRegistry: ExtensionRegistryLite!): Reference! |
parser |
static fun parser(): Parser<Reference!>! |
toBuilder |
fun toBuilder(): Builder! |
writeTo |
fun writeTo(output: CodedOutputStream!): Unit |