public final class

ResourceProto.AndroidImageResourceByResId

extends <any>

implements ResourceProto.AndroidImageResourceByResIdOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ResourceProto.AndroidImageResourceByResId

Overview

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

Summary

Fields
public static final intRESOURCE_ID_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.AndroidImageResourceByResIdgetDefaultInstance()

public intgetResourceId()

 The Android resource ID of this image.

public static ResourceProto.AndroidImageResourceByResId.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static ResourceProto.AndroidImageResourceByResIdparseFrom(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 RESOURCE_ID_FIELD_NUMBER

Methods

public int getResourceId()

 The Android resource ID of this image. This must refer to a drawable under
 R.drawable.
 
int32 resource_id = 1;

Returns:

The resourceId.

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

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

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

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

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

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

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

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

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

public static ResourceProto.AndroidImageResourceByResId 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.AndroidImageResourceByResId getDefaultInstance()

public static <any> parser()