public final class

ResourceProto.AndroidImageResourceByName

extends <any>

implements ResourceProto.AndroidImageResourceByNameOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ResourceProto.AndroidImageResourceByName

Overview

 An image resource which maps to an Android drawable by name.
 
Protobuf type androidx.wear.protolayout.proto.AndroidImageResourceByName

Summary

Fields
public static final intNAME_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static ResourceProto.AndroidImageResourceByNamegetDefaultInstance()

public java.lang.StringgetName()

 The name of the drawable.

public com.google.protobuf.ByteStringgetNameBytes()

 The name of the drawable.

public static ResourceProto.AndroidImageResourceByName.BuildernewBuilder()

public static ResourceProto.AndroidImageResourceByName.BuildernewBuilder(ResourceProto.AndroidImageResourceByName prototype)

public static ResourceProto.AndroidImageResourceByNameparseDelimitedFrom(java.io.InputStream input)

public static ResourceProto.AndroidImageResourceByNameparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidImageResourceByNameparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidImageResourceByNameparseFrom(java.nio.ByteBuffer data)

public static ResourceProto.AndroidImageResourceByNameparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidImageResourceByNameparseFrom(com.google.protobuf.ByteString data)

public static ResourceProto.AndroidImageResourceByNameparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidImageResourceByNameparseFrom(com.google.protobuf.CodedInputStream input)

public static ResourceProto.AndroidImageResourceByNameparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidImageResourceByNameparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int NAME_FIELD_NUMBER

Methods

public java.lang.String getName()

 The name of the drawable. An Android drawable by this name (i.e.
 R.drawable.<name>) must exist in the app which provides this layout to the
 system.
 
string name = 1;

Returns:

The name.

public com.google.protobuf.ByteString getNameBytes()

 The name of the drawable. An Android drawable by this name (i.e.
 R.drawable.<name>) must exist in the app which provides this layout to the
 system.
 
string name = 1;

Returns:

The bytes for name.

public static ResourceProto.AndroidImageResourceByName parseFrom(java.nio.ByteBuffer data)

public static ResourceProto.AndroidImageResourceByName parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidImageResourceByName parseFrom(com.google.protobuf.ByteString data)

public static ResourceProto.AndroidImageResourceByName parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidImageResourceByName parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidImageResourceByName parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidImageResourceByName parseDelimitedFrom(java.io.InputStream input)

public static ResourceProto.AndroidImageResourceByName parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ResourceProto.AndroidImageResourceByName parseFrom(com.google.protobuf.CodedInputStream input)

public static ResourceProto.AndroidImageResourceByName parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static ResourceProto.AndroidImageResourceByName getDefaultInstance()

public static <any> parser()