public final class

ActionProto.AndroidActivity

extends <any>

implements ActionProto.AndroidActivityOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ActionProto.AndroidActivity

Overview

 A launch action to send an intent to an Android activity.
 
Protobuf type androidx.wear.protolayout.proto.AndroidActivity

Summary

Fields
public static final intCLASS_NAME_FIELD_NUMBER

public static final intKEY_TO_EXTRA_FIELD_NUMBER

public static final intPACKAGE_NAME_FIELD_NUMBER

Methods
public booleancontainsKeyToExtra(java.lang.String key)

 The extras to be included in the intent.

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

public java.lang.StringgetClassName()

 The fully qualified class name (including the package) to send the intent
 to, for example, "com.example.weather.WeatherOverviewActivity".

public com.google.protobuf.ByteStringgetClassNameBytes()

 The fully qualified class name (including the package) to send the intent
 to, for example, "com.example.weather.WeatherOverviewActivity".

public static ActionProto.AndroidActivitygetDefaultInstance()

public java.util.Map<java.lang.String, ActionProto.AndroidExtra>getKeyToExtra()

Use ActionProto.AndroidActivity.getKeyToExtraMap() instead.

public intgetKeyToExtraCount()

public java.util.Map<java.lang.String, ActionProto.AndroidExtra>getKeyToExtraMap()

 The extras to be included in the intent.

public ActionProto.AndroidExtragetKeyToExtraOrDefault(java.lang.String key, ActionProto.AndroidExtra defaultValue)

 The extras to be included in the intent.

public ActionProto.AndroidExtragetKeyToExtraOrThrow(java.lang.String key)

 The extras to be included in the intent.

public java.lang.StringgetPackageName()

 The package name to send the intent to, for example, "com.example.weather".

public com.google.protobuf.ByteStringgetPackageNameBytes()

 The package name to send the intent to, for example, "com.example.weather".

public static ActionProto.AndroidActivity.BuildernewBuilder()

public static ActionProto.AndroidActivity.BuildernewBuilder(ActionProto.AndroidActivity prototype)

public static ActionProto.AndroidActivityparseDelimitedFrom(java.io.InputStream input)

public static ActionProto.AndroidActivityparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ActionProto.AndroidActivityparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ActionProto.AndroidActivityparseFrom(java.nio.ByteBuffer data)

public static ActionProto.AndroidActivityparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ActionProto.AndroidActivityparseFrom(com.google.protobuf.ByteString data)

public static ActionProto.AndroidActivityparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ActionProto.AndroidActivityparseFrom(com.google.protobuf.CodedInputStream input)

public static ActionProto.AndroidActivityparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ActionProto.AndroidActivityparseFrom(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 PACKAGE_NAME_FIELD_NUMBER

public static final int CLASS_NAME_FIELD_NUMBER

public static final int KEY_TO_EXTRA_FIELD_NUMBER

Methods

public java.lang.String getPackageName()

 The package name to send the intent to, for example, "com.example.weather".
 
string package_name = 1;

Returns:

The packageName.

public com.google.protobuf.ByteString getPackageNameBytes()

 The package name to send the intent to, for example, "com.example.weather".
 
string package_name = 1;

Returns:

The bytes for packageName.

public java.lang.String getClassName()

 The fully qualified class name (including the package) to send the intent
 to, for example, "com.example.weather.WeatherOverviewActivity".
 
string class_name = 2;

Returns:

The className.

public com.google.protobuf.ByteString getClassNameBytes()

 The fully qualified class name (including the package) to send the intent
 to, for example, "com.example.weather.WeatherOverviewActivity".
 
string class_name = 2;

Returns:

The bytes for className.

public int getKeyToExtraCount()

public boolean containsKeyToExtra(java.lang.String key)

 The extras to be included in the intent.
 
map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;

public java.util.Map<java.lang.String, ActionProto.AndroidExtra> getKeyToExtra()

Use ActionProto.AndroidActivity.getKeyToExtraMap() instead.

public java.util.Map<java.lang.String, ActionProto.AndroidExtra> getKeyToExtraMap()

 The extras to be included in the intent.
 
map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;

public ActionProto.AndroidExtra getKeyToExtraOrDefault(java.lang.String key, ActionProto.AndroidExtra defaultValue)

 The extras to be included in the intent.
 
map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;

public ActionProto.AndroidExtra getKeyToExtraOrThrow(java.lang.String key)

 The extras to be included in the intent.
 
map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;

public static ActionProto.AndroidActivity parseFrom(java.nio.ByteBuffer data)

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

public static ActionProto.AndroidActivity parseFrom(com.google.protobuf.ByteString data)

public static ActionProto.AndroidActivity parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static ActionProto.AndroidActivity parseDelimitedFrom(java.io.InputStream input)

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

public static ActionProto.AndroidActivity parseFrom(com.google.protobuf.CodedInputStream input)

public static ActionProto.AndroidActivity parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ActionProto.AndroidActivity.Builder newBuilder()

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

public static ActionProto.AndroidActivity getDefaultInstance()

public static <any> parser()