compile group: 'androidx.wear.protolayout', name: 'protolayout-proto', version: '1.2.0'
Artifact androidx.wear.protolayout:protolayout-proto:1.2.0 it located at Google repository (https://maven.google.com/)
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: action.proto
package androidx.wear.protolayout.proto;
public final class ActionProto {
private ActionProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public interface AndroidStringExtraOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.AndroidStringExtra)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The value.
* </pre>
*
* <code>string value = 1;</code>
* @return The value.
*/
java.lang.String getValue();
/**
* <pre>
* The value.
* </pre>
*
* <code>string value = 1;</code>
* @return The bytes for value.
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* <pre>
* A string value that can be added to an Android intent's extras.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidStringExtra}
*/
public static final class AndroidStringExtra extends
com.google.protobuf.GeneratedMessageLite<
AndroidStringExtra, AndroidStringExtra.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.AndroidStringExtra)
AndroidStringExtraOrBuilder {
private AndroidStringExtra() {
value_ = "";
}
public static final int VALUE_FIELD_NUMBER = 1;
private java.lang.String value_;
/**
* <pre>
* The value.
* </pre>
*
* <code>string value = 1;</code>
* @return The value.
*/
@java.lang.Override
public java.lang.String getValue() {
return value_;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>string value = 1;</code>
* @return The bytes for value.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValueBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(value_);
}
/**
* <pre>
* The value.
* </pre>
*
* <code>string value = 1;</code>
* @param value The value to set.
*/
private void setValue(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
value_ = value;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>string value = 1;</code>
*/
private void clearValue() {
value_ = getDefaultInstance().getValue();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>string value = 1;</code>
* @param value The bytes for value to set.
*/
private void setValueBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
value_ = value.toStringUtf8();
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* A string value that can be added to an Android intent's extras.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidStringExtra}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.AndroidStringExtra)
androidx.wear.protolayout.proto.ActionProto.AndroidStringExtraOrBuilder {
// Construct using androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The value.
* </pre>
*
* <code>string value = 1;</code>
* @return The value.
*/
@java.lang.Override
public java.lang.String getValue() {
return instance.getValue();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>string value = 1;</code>
* @return The bytes for value.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValueBytes() {
return instance.getValueBytes();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>string value = 1;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>string value = 1;</code>
* @return This builder for chaining.
*/
public Builder clearValue() {
copyOnWrite();
instance.clearValue();
return this;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>string value = 1;</code>
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setValueBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.AndroidStringExtra)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"value_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.wear.protolayout.proto.AndroidStringExtra)
private static final androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra DEFAULT_INSTANCE;
static {
AndroidStringExtra defaultInstance = new AndroidStringExtra();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AndroidStringExtra.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AndroidStringExtra> PARSER;
public static com.google.protobuf.Parser<AndroidStringExtra> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface AndroidIntExtraOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.AndroidIntExtra)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The value.
* </pre>
*
* <code>int32 value = 1;</code>
* @return The value.
*/
int getValue();
}
/**
* <pre>
* An integer value that can be added to an Android intent's extras.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidIntExtra}
*/
public static final class AndroidIntExtra extends
com.google.protobuf.GeneratedMessageLite<
AndroidIntExtra, AndroidIntExtra.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.AndroidIntExtra)
AndroidIntExtraOrBuilder {
private AndroidIntExtra() {
}
public static final int VALUE_FIELD_NUMBER = 1;
private int value_;
/**
* <pre>
* The value.
* </pre>
*
* <code>int32 value = 1;</code>
* @return The value.
*/
@java.lang.Override
public int getValue() {
return value_;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>int32 value = 1;</code>
* @param value The value to set.
*/
private void setValue(int value) {
value_ = value;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>int32 value = 1;</code>
*/
private void clearValue() {
value_ = 0;
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* An integer value that can be added to an Android intent's extras.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidIntExtra}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.AndroidIntExtra)
androidx.wear.protolayout.proto.ActionProto.AndroidIntExtraOrBuilder {
// Construct using androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The value.
* </pre>
*
* <code>int32 value = 1;</code>
* @return The value.
*/
@java.lang.Override
public int getValue() {
return instance.getValue();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>int32 value = 1;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(int value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>int32 value = 1;</code>
* @return This builder for chaining.
*/
public Builder clearValue() {
copyOnWrite();
instance.clearValue();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.AndroidIntExtra)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"value_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0004";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.wear.protolayout.proto.AndroidIntExtra)
private static final androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra DEFAULT_INSTANCE;
static {
AndroidIntExtra defaultInstance = new AndroidIntExtra();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AndroidIntExtra.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AndroidIntExtra> PARSER;
public static com.google.protobuf.Parser<AndroidIntExtra> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface AndroidLongExtraOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.AndroidLongExtra)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The value.
* </pre>
*
* <code>int64 value = 1;</code>
* @return The value.
*/
long getValue();
}
/**
* <pre>
* A long value that can be added to an Android intent's extras.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidLongExtra}
*/
public static final class AndroidLongExtra extends
com.google.protobuf.GeneratedMessageLite<
AndroidLongExtra, AndroidLongExtra.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.AndroidLongExtra)
AndroidLongExtraOrBuilder {
private AndroidLongExtra() {
}
public static final int VALUE_FIELD_NUMBER = 1;
private long value_;
/**
* <pre>
* The value.
* </pre>
*
* <code>int64 value = 1;</code>
* @return The value.
*/
@java.lang.Override
public long getValue() {
return value_;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>int64 value = 1;</code>
* @param value The value to set.
*/
private void setValue(long value) {
value_ = value;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>int64 value = 1;</code>
*/
private void clearValue() {
value_ = 0L;
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* A long value that can be added to an Android intent's extras.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidLongExtra}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.AndroidLongExtra)
androidx.wear.protolayout.proto.ActionProto.AndroidLongExtraOrBuilder {
// Construct using androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The value.
* </pre>
*
* <code>int64 value = 1;</code>
* @return The value.
*/
@java.lang.Override
public long getValue() {
return instance.getValue();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>int64 value = 1;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(long value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>int64 value = 1;</code>
* @return This builder for chaining.
*/
public Builder clearValue() {
copyOnWrite();
instance.clearValue();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.AndroidLongExtra)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"value_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.wear.protolayout.proto.AndroidLongExtra)
private static final androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra DEFAULT_INSTANCE;
static {
AndroidLongExtra defaultInstance = new AndroidLongExtra();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AndroidLongExtra.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AndroidLongExtra> PARSER;
public static com.google.protobuf.Parser<AndroidLongExtra> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface AndroidDoubleExtraOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.AndroidDoubleExtra)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The value.
* </pre>
*
* <code>double value = 1;</code>
* @return The value.
*/
double getValue();
}
/**
* <pre>
* A double value that can be added to an Android intent's extras.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidDoubleExtra}
*/
public static final class AndroidDoubleExtra extends
com.google.protobuf.GeneratedMessageLite<
AndroidDoubleExtra, AndroidDoubleExtra.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.AndroidDoubleExtra)
AndroidDoubleExtraOrBuilder {
private AndroidDoubleExtra() {
}
public static final int VALUE_FIELD_NUMBER = 1;
private double value_;
/**
* <pre>
* The value.
* </pre>
*
* <code>double value = 1;</code>
* @return The value.
*/
@java.lang.Override
public double getValue() {
return value_;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>double value = 1;</code>
* @param value The value to set.
*/
private void setValue(double value) {
value_ = value;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>double value = 1;</code>
*/
private void clearValue() {
value_ = 0D;
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* A double value that can be added to an Android intent's extras.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidDoubleExtra}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.AndroidDoubleExtra)
androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtraOrBuilder {
// Construct using androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The value.
* </pre>
*
* <code>double value = 1;</code>
* @return The value.
*/
@java.lang.Override
public double getValue() {
return instance.getValue();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>double value = 1;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(double value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>double value = 1;</code>
* @return This builder for chaining.
*/
public Builder clearValue() {
copyOnWrite();
instance.clearValue();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.AndroidDoubleExtra)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"value_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.wear.protolayout.proto.AndroidDoubleExtra)
private static final androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra DEFAULT_INSTANCE;
static {
AndroidDoubleExtra defaultInstance = new AndroidDoubleExtra();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AndroidDoubleExtra.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AndroidDoubleExtra> PARSER;
public static com.google.protobuf.Parser<AndroidDoubleExtra> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface AndroidBooleanExtraOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.AndroidBooleanExtra)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The value.
* </pre>
*
* <code>bool value = 1;</code>
* @return The value.
*/
boolean getValue();
}
/**
* <pre>
* A boolean value that can be added to an Android intent's extras.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidBooleanExtra}
*/
public static final class AndroidBooleanExtra extends
com.google.protobuf.GeneratedMessageLite<
AndroidBooleanExtra, AndroidBooleanExtra.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.AndroidBooleanExtra)
AndroidBooleanExtraOrBuilder {
private AndroidBooleanExtra() {
}
public static final int VALUE_FIELD_NUMBER = 1;
private boolean value_;
/**
* <pre>
* The value.
* </pre>
*
* <code>bool value = 1;</code>
* @return The value.
*/
@java.lang.Override
public boolean getValue() {
return value_;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>bool value = 1;</code>
* @param value The value to set.
*/
private void setValue(boolean value) {
value_ = value;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>bool value = 1;</code>
*/
private void clearValue() {
value_ = false;
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* A boolean value that can be added to an Android intent's extras.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidBooleanExtra}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.AndroidBooleanExtra)
androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtraOrBuilder {
// Construct using androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The value.
* </pre>
*
* <code>bool value = 1;</code>
* @return The value.
*/
@java.lang.Override
public boolean getValue() {
return instance.getValue();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>bool value = 1;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(boolean value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>bool value = 1;</code>
* @return This builder for chaining.
*/
public Builder clearValue() {
copyOnWrite();
instance.clearValue();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.AndroidBooleanExtra)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"value_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0007";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.wear.protolayout.proto.AndroidBooleanExtra)
private static final androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra DEFAULT_INSTANCE;
static {
AndroidBooleanExtra defaultInstance = new AndroidBooleanExtra();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AndroidBooleanExtra.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AndroidBooleanExtra> PARSER;
public static com.google.protobuf.Parser<AndroidBooleanExtra> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface AndroidExtraOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.AndroidExtra)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>.androidx.wear.protolayout.proto.AndroidStringExtra string_val = 1;</code>
* @return Whether the stringVal field is set.
*/
boolean hasStringVal();
/**
* <code>.androidx.wear.protolayout.proto.AndroidStringExtra string_val = 1;</code>
* @return The stringVal.
*/
androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra getStringVal();
/**
* <code>.androidx.wear.protolayout.proto.AndroidIntExtra int_val = 2;</code>
* @return Whether the intVal field is set.
*/
boolean hasIntVal();
/**
* <code>.androidx.wear.protolayout.proto.AndroidIntExtra int_val = 2;</code>
* @return The intVal.
*/
androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra getIntVal();
/**
* <code>.androidx.wear.protolayout.proto.AndroidLongExtra long_val = 3;</code>
* @return Whether the longVal field is set.
*/
boolean hasLongVal();
/**
* <code>.androidx.wear.protolayout.proto.AndroidLongExtra long_val = 3;</code>
* @return The longVal.
*/
androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra getLongVal();
/**
* <code>.androidx.wear.protolayout.proto.AndroidDoubleExtra double_val = 4;</code>
* @return Whether the doubleVal field is set.
*/
boolean hasDoubleVal();
/**
* <code>.androidx.wear.protolayout.proto.AndroidDoubleExtra double_val = 4;</code>
* @return The doubleVal.
*/
androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra getDoubleVal();
/**
* <code>.androidx.wear.protolayout.proto.AndroidBooleanExtra boolean_val = 5;</code>
* @return Whether the booleanVal field is set.
*/
boolean hasBooleanVal();
/**
* <code>.androidx.wear.protolayout.proto.AndroidBooleanExtra boolean_val = 5;</code>
* @return The booleanVal.
*/
androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra getBooleanVal();
public androidx.wear.protolayout.proto.ActionProto.AndroidExtra.InnerCase getInnerCase();
}
/**
* <pre>
* An item that can be included in the extras of an intent that will be sent to
* an Android activity. Supports types in android.os.PersistableBundle,
* excluding arrays.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidExtra}
*/
public static final class AndroidExtra extends
com.google.protobuf.GeneratedMessageLite<
AndroidExtra, AndroidExtra.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.AndroidExtra)
AndroidExtraOrBuilder {
private AndroidExtra() {
}
private int innerCase_ = 0;
private java.lang.Object inner_;
public enum InnerCase {
STRING_VAL(1),
INT_VAL(2),
LONG_VAL(3),
DOUBLE_VAL(4),
BOOLEAN_VAL(5),
INNER_NOT_SET(0);
private final int value;
private InnerCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static InnerCase valueOf(int value) {
return forNumber(value);
}
public static InnerCase forNumber(int value) {
switch (value) {
case 1: return STRING_VAL;
case 2: return INT_VAL;
case 3: return LONG_VAL;
case 4: return DOUBLE_VAL;
case 5: return BOOLEAN_VAL;
case 0: return INNER_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public InnerCase
getInnerCase() {
return InnerCase.forNumber(
innerCase_);
}
private void clearInner() {
innerCase_ = 0;
inner_ = null;
}
public static final int STRING_VAL_FIELD_NUMBER = 1;
/**
* <code>.androidx.wear.protolayout.proto.AndroidStringExtra string_val = 1;</code>
*/
@java.lang.Override
public boolean hasStringVal() {
return innerCase_ == 1;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidStringExtra string_val = 1;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra getStringVal() {
if (innerCase_ == 1) {
return (androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra) inner_;
}
return androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra.getDefaultInstance();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidStringExtra string_val = 1;</code>
*/
private void setStringVal(androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra value) {
value.getClass();
inner_ = value;
innerCase_ = 1;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidStringExtra string_val = 1;</code>
*/
private void mergeStringVal(androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra value) {
value.getClass();
if (innerCase_ == 1 &&
inner_ != androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra.getDefaultInstance()) {
inner_ = androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra.newBuilder((androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra) inner_)
.mergeFrom(value).buildPartial();
} else {
inner_ = value;
}
innerCase_ = 1;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidStringExtra string_val = 1;</code>
*/
private void clearStringVal() {
if (innerCase_ == 1) {
innerCase_ = 0;
inner_ = null;
}
}
public static final int INT_VAL_FIELD_NUMBER = 2;
/**
* <code>.androidx.wear.protolayout.proto.AndroidIntExtra int_val = 2;</code>
*/
@java.lang.Override
public boolean hasIntVal() {
return innerCase_ == 2;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidIntExtra int_val = 2;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra getIntVal() {
if (innerCase_ == 2) {
return (androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra) inner_;
}
return androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra.getDefaultInstance();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidIntExtra int_val = 2;</code>
*/
private void setIntVal(androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra value) {
value.getClass();
inner_ = value;
innerCase_ = 2;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidIntExtra int_val = 2;</code>
*/
private void mergeIntVal(androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra value) {
value.getClass();
if (innerCase_ == 2 &&
inner_ != androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra.getDefaultInstance()) {
inner_ = androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra.newBuilder((androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra) inner_)
.mergeFrom(value).buildPartial();
} else {
inner_ = value;
}
innerCase_ = 2;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidIntExtra int_val = 2;</code>
*/
private void clearIntVal() {
if (innerCase_ == 2) {
innerCase_ = 0;
inner_ = null;
}
}
public static final int LONG_VAL_FIELD_NUMBER = 3;
/**
* <code>.androidx.wear.protolayout.proto.AndroidLongExtra long_val = 3;</code>
*/
@java.lang.Override
public boolean hasLongVal() {
return innerCase_ == 3;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidLongExtra long_val = 3;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra getLongVal() {
if (innerCase_ == 3) {
return (androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra) inner_;
}
return androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra.getDefaultInstance();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidLongExtra long_val = 3;</code>
*/
private void setLongVal(androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra value) {
value.getClass();
inner_ = value;
innerCase_ = 3;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidLongExtra long_val = 3;</code>
*/
private void mergeLongVal(androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra value) {
value.getClass();
if (innerCase_ == 3 &&
inner_ != androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra.getDefaultInstance()) {
inner_ = androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra.newBuilder((androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra) inner_)
.mergeFrom(value).buildPartial();
} else {
inner_ = value;
}
innerCase_ = 3;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidLongExtra long_val = 3;</code>
*/
private void clearLongVal() {
if (innerCase_ == 3) {
innerCase_ = 0;
inner_ = null;
}
}
public static final int DOUBLE_VAL_FIELD_NUMBER = 4;
/**
* <code>.androidx.wear.protolayout.proto.AndroidDoubleExtra double_val = 4;</code>
*/
@java.lang.Override
public boolean hasDoubleVal() {
return innerCase_ == 4;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidDoubleExtra double_val = 4;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra getDoubleVal() {
if (innerCase_ == 4) {
return (androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra) inner_;
}
return androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra.getDefaultInstance();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidDoubleExtra double_val = 4;</code>
*/
private void setDoubleVal(androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra value) {
value.getClass();
inner_ = value;
innerCase_ = 4;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidDoubleExtra double_val = 4;</code>
*/
private void mergeDoubleVal(androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra value) {
value.getClass();
if (innerCase_ == 4 &&
inner_ != androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra.getDefaultInstance()) {
inner_ = androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra.newBuilder((androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra) inner_)
.mergeFrom(value).buildPartial();
} else {
inner_ = value;
}
innerCase_ = 4;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidDoubleExtra double_val = 4;</code>
*/
private void clearDoubleVal() {
if (innerCase_ == 4) {
innerCase_ = 0;
inner_ = null;
}
}
public static final int BOOLEAN_VAL_FIELD_NUMBER = 5;
/**
* <code>.androidx.wear.protolayout.proto.AndroidBooleanExtra boolean_val = 5;</code>
*/
@java.lang.Override
public boolean hasBooleanVal() {
return innerCase_ == 5;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidBooleanExtra boolean_val = 5;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra getBooleanVal() {
if (innerCase_ == 5) {
return (androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra) inner_;
}
return androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra.getDefaultInstance();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidBooleanExtra boolean_val = 5;</code>
*/
private void setBooleanVal(androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra value) {
value.getClass();
inner_ = value;
innerCase_ = 5;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidBooleanExtra boolean_val = 5;</code>
*/
private void mergeBooleanVal(androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra value) {
value.getClass();
if (innerCase_ == 5 &&
inner_ != androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra.getDefaultInstance()) {
inner_ = androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra.newBuilder((androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra) inner_)
.mergeFrom(value).buildPartial();
} else {
inner_ = value;
}
innerCase_ = 5;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidBooleanExtra boolean_val = 5;</code>
*/
private void clearBooleanVal() {
if (innerCase_ == 5) {
innerCase_ = 0;
inner_ = null;
}
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidExtra parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidExtra parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidExtra parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidExtra parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidExtra parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidExtra parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidExtra parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidExtra parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidExtra parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidExtra parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidExtra parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidExtra parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.wear.protolayout.proto.ActionProto.AndroidExtra prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* An item that can be included in the extras of an intent that will be sent to
* an Android activity. Supports types in android.os.PersistableBundle,
* excluding arrays.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidExtra}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.ActionProto.AndroidExtra, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.AndroidExtra)
androidx.wear.protolayout.proto.ActionProto.AndroidExtraOrBuilder {
// Construct using androidx.wear.protolayout.proto.ActionProto.AndroidExtra.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public InnerCase
getInnerCase() {
return instance.getInnerCase();
}
public Builder clearInner() {
copyOnWrite();
instance.clearInner();
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidStringExtra string_val = 1;</code>
*/
@java.lang.Override
public boolean hasStringVal() {
return instance.hasStringVal();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidStringExtra string_val = 1;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra getStringVal() {
return instance.getStringVal();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidStringExtra string_val = 1;</code>
*/
public Builder setStringVal(androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra value) {
copyOnWrite();
instance.setStringVal(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidStringExtra string_val = 1;</code>
*/
public Builder setStringVal(
androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra.Builder builderForValue) {
copyOnWrite();
instance.setStringVal(builderForValue.build());
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidStringExtra string_val = 1;</code>
*/
public Builder mergeStringVal(androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra value) {
copyOnWrite();
instance.mergeStringVal(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidStringExtra string_val = 1;</code>
*/
public Builder clearStringVal() {
copyOnWrite();
instance.clearStringVal();
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidIntExtra int_val = 2;</code>
*/
@java.lang.Override
public boolean hasIntVal() {
return instance.hasIntVal();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidIntExtra int_val = 2;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra getIntVal() {
return instance.getIntVal();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidIntExtra int_val = 2;</code>
*/
public Builder setIntVal(androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra value) {
copyOnWrite();
instance.setIntVal(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidIntExtra int_val = 2;</code>
*/
public Builder setIntVal(
androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra.Builder builderForValue) {
copyOnWrite();
instance.setIntVal(builderForValue.build());
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidIntExtra int_val = 2;</code>
*/
public Builder mergeIntVal(androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra value) {
copyOnWrite();
instance.mergeIntVal(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidIntExtra int_val = 2;</code>
*/
public Builder clearIntVal() {
copyOnWrite();
instance.clearIntVal();
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidLongExtra long_val = 3;</code>
*/
@java.lang.Override
public boolean hasLongVal() {
return instance.hasLongVal();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidLongExtra long_val = 3;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra getLongVal() {
return instance.getLongVal();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidLongExtra long_val = 3;</code>
*/
public Builder setLongVal(androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra value) {
copyOnWrite();
instance.setLongVal(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidLongExtra long_val = 3;</code>
*/
public Builder setLongVal(
androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra.Builder builderForValue) {
copyOnWrite();
instance.setLongVal(builderForValue.build());
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidLongExtra long_val = 3;</code>
*/
public Builder mergeLongVal(androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra value) {
copyOnWrite();
instance.mergeLongVal(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidLongExtra long_val = 3;</code>
*/
public Builder clearLongVal() {
copyOnWrite();
instance.clearLongVal();
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidDoubleExtra double_val = 4;</code>
*/
@java.lang.Override
public boolean hasDoubleVal() {
return instance.hasDoubleVal();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidDoubleExtra double_val = 4;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra getDoubleVal() {
return instance.getDoubleVal();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidDoubleExtra double_val = 4;</code>
*/
public Builder setDoubleVal(androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra value) {
copyOnWrite();
instance.setDoubleVal(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidDoubleExtra double_val = 4;</code>
*/
public Builder setDoubleVal(
androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra.Builder builderForValue) {
copyOnWrite();
instance.setDoubleVal(builderForValue.build());
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidDoubleExtra double_val = 4;</code>
*/
public Builder mergeDoubleVal(androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra value) {
copyOnWrite();
instance.mergeDoubleVal(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidDoubleExtra double_val = 4;</code>
*/
public Builder clearDoubleVal() {
copyOnWrite();
instance.clearDoubleVal();
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidBooleanExtra boolean_val = 5;</code>
*/
@java.lang.Override
public boolean hasBooleanVal() {
return instance.hasBooleanVal();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidBooleanExtra boolean_val = 5;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra getBooleanVal() {
return instance.getBooleanVal();
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidBooleanExtra boolean_val = 5;</code>
*/
public Builder setBooleanVal(androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra value) {
copyOnWrite();
instance.setBooleanVal(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidBooleanExtra boolean_val = 5;</code>
*/
public Builder setBooleanVal(
androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra.Builder builderForValue) {
copyOnWrite();
instance.setBooleanVal(builderForValue.build());
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidBooleanExtra boolean_val = 5;</code>
*/
public Builder mergeBooleanVal(androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra value) {
copyOnWrite();
instance.mergeBooleanVal(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.AndroidBooleanExtra boolean_val = 5;</code>
*/
public Builder clearBooleanVal() {
copyOnWrite();
instance.clearBooleanVal();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.AndroidExtra)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.wear.protolayout.proto.ActionProto.AndroidExtra();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"inner_",
"innerCase_",
androidx.wear.protolayout.proto.ActionProto.AndroidStringExtra.class,
androidx.wear.protolayout.proto.ActionProto.AndroidIntExtra.class,
androidx.wear.protolayout.proto.ActionProto.AndroidLongExtra.class,
androidx.wear.protolayout.proto.ActionProto.AndroidDoubleExtra.class,
androidx.wear.protolayout.proto.ActionProto.AndroidBooleanExtra.class,
};
java.lang.String info =
"\u0000\u0005\u0001\u0000\u0001\u0005\u0005\u0000\u0000\u0000\u0001<\u0000\u0002<" +
"\u0000\u0003<\u0000\u0004<\u0000\u0005<\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.wear.protolayout.proto.ActionProto.AndroidExtra> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.ActionProto.AndroidExtra.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.ActionProto.AndroidExtra>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.wear.protolayout.proto.AndroidExtra)
private static final androidx.wear.protolayout.proto.ActionProto.AndroidExtra DEFAULT_INSTANCE;
static {
AndroidExtra defaultInstance = new AndroidExtra();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AndroidExtra.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidExtra getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AndroidExtra> PARSER;
public static com.google.protobuf.Parser<AndroidExtra> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface AndroidActivityOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.AndroidActivity)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The package name to send the intent to, for example, "com.example.weather".
* </pre>
*
* <code>string package_name = 1;</code>
* @return The packageName.
*/
java.lang.String getPackageName();
/**
* <pre>
* The package name to send the intent to, for example, "com.example.weather".
* </pre>
*
* <code>string package_name = 1;</code>
* @return The bytes for packageName.
*/
com.google.protobuf.ByteString
getPackageNameBytes();
/**
* <pre>
* The fully qualified class name (including the package) to send the intent
* to, for example, "com.example.weather.WeatherOverviewActivity".
* </pre>
*
* <code>string class_name = 2;</code>
* @return The className.
*/
java.lang.String getClassName();
/**
* <pre>
* The fully qualified class name (including the package) to send the intent
* to, for example, "com.example.weather.WeatherOverviewActivity".
* </pre>
*
* <code>string class_name = 2;</code>
* @return The bytes for className.
*/
com.google.protobuf.ByteString
getClassNameBytes();
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
int getKeyToExtraCount();
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
boolean containsKeyToExtra(
java.lang.String key);
/**
* Use {@link #getKeyToExtraMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra>
getKeyToExtra();
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
java.util.Map<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra>
getKeyToExtraMap();
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
/* nullable */
androidx.wear.protolayout.proto.ActionProto.AndroidExtra getKeyToExtraOrDefault(
java.lang.String key,
/* nullable */
androidx.wear.protolayout.proto.ActionProto.AndroidExtra defaultValue);
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
androidx.wear.protolayout.proto.ActionProto.AndroidExtra getKeyToExtraOrThrow(
java.lang.String key);
}
/**
* <pre>
* A launch action to send an intent to an Android activity.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidActivity}
*/
public static final class AndroidActivity extends
com.google.protobuf.GeneratedMessageLite<
AndroidActivity, AndroidActivity.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.AndroidActivity)
AndroidActivityOrBuilder {
private AndroidActivity() {
packageName_ = "";
className_ = "";
}
public static final int PACKAGE_NAME_FIELD_NUMBER = 1;
private java.lang.String packageName_;
/**
* <pre>
* The package name to send the intent to, for example, "com.example.weather".
* </pre>
*
* <code>string package_name = 1;</code>
* @return The packageName.
*/
@java.lang.Override
public java.lang.String getPackageName() {
return packageName_;
}
/**
* <pre>
* The package name to send the intent to, for example, "com.example.weather".
* </pre>
*
* <code>string package_name = 1;</code>
* @return The bytes for packageName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPackageNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(packageName_);
}
/**
* <pre>
* The package name to send the intent to, for example, "com.example.weather".
* </pre>
*
* <code>string package_name = 1;</code>
* @param value The packageName to set.
*/
private void setPackageName(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
packageName_ = value;
}
/**
* <pre>
* The package name to send the intent to, for example, "com.example.weather".
* </pre>
*
* <code>string package_name = 1;</code>
*/
private void clearPackageName() {
packageName_ = getDefaultInstance().getPackageName();
}
/**
* <pre>
* The package name to send the intent to, for example, "com.example.weather".
* </pre>
*
* <code>string package_name = 1;</code>
* @param value The bytes for packageName to set.
*/
private void setPackageNameBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
packageName_ = value.toStringUtf8();
}
public static final int CLASS_NAME_FIELD_NUMBER = 2;
private java.lang.String className_;
/**
* <pre>
* The fully qualified class name (including the package) to send the intent
* to, for example, "com.example.weather.WeatherOverviewActivity".
* </pre>
*
* <code>string class_name = 2;</code>
* @return The className.
*/
@java.lang.Override
public java.lang.String getClassName() {
return className_;
}
/**
* <pre>
* The fully qualified class name (including the package) to send the intent
* to, for example, "com.example.weather.WeatherOverviewActivity".
* </pre>
*
* <code>string class_name = 2;</code>
* @return The bytes for className.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClassNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(className_);
}
/**
* <pre>
* The fully qualified class name (including the package) to send the intent
* to, for example, "com.example.weather.WeatherOverviewActivity".
* </pre>
*
* <code>string class_name = 2;</code>
* @param value The className to set.
*/
private void setClassName(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
className_ = value;
}
/**
* <pre>
* The fully qualified class name (including the package) to send the intent
* to, for example, "com.example.weather.WeatherOverviewActivity".
* </pre>
*
* <code>string class_name = 2;</code>
*/
private void clearClassName() {
className_ = getDefaultInstance().getClassName();
}
/**
* <pre>
* The fully qualified class name (including the package) to send the intent
* to, for example, "com.example.weather.WeatherOverviewActivity".
* </pre>
*
* <code>string class_name = 2;</code>
* @param value The bytes for className to set.
*/
private void setClassNameBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
className_ = value.toStringUtf8();
}
public static final int KEY_TO_EXTRA_FIELD_NUMBER = 3;
private static final class KeyToExtraDefaultEntryHolder {
static final com.google.protobuf.MapEntryLite<
java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra> defaultEntry =
com.google.protobuf.MapEntryLite
.<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra>newDefaultInstance(
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
androidx.wear.protolayout.proto.ActionProto.AndroidExtra.getDefaultInstance());
}
private com.google.protobuf.MapFieldLite<
java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra> keyToExtra_ =
com.google.protobuf.MapFieldLite.emptyMapField();
private com.google.protobuf.MapFieldLite<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra>
internalGetKeyToExtra() {
return keyToExtra_;
}
private com.google.protobuf.MapFieldLite<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra>
internalGetMutableKeyToExtra() {
if (!keyToExtra_.isMutable()) {
keyToExtra_ = keyToExtra_.mutableCopy();
}
return keyToExtra_;
}
@java.lang.Override
public int getKeyToExtraCount() {
return internalGetKeyToExtra().size();
}
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
@java.lang.Override
public boolean containsKeyToExtra(
java.lang.String key) {
java.lang.Class<?> keyClass = key.getClass();
return internalGetKeyToExtra().containsKey(key);
}
/**
* Use {@link #getKeyToExtraMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra> getKeyToExtra() {
return getKeyToExtraMap();
}
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra> getKeyToExtraMap() {
return java.util.Collections.unmodifiableMap(
internalGetKeyToExtra());
}
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
@java.lang.Override
public /* nullable */
androidx.wear.protolayout.proto.ActionProto.AndroidExtra getKeyToExtraOrDefault(
java.lang.String key,
/* nullable */
androidx.wear.protolayout.proto.ActionProto.AndroidExtra defaultValue) {
java.lang.Class<?> keyClass = key.getClass();
java.util.Map<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra> map =
internalGetKeyToExtra();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidExtra getKeyToExtraOrThrow(
java.lang.String key) {
java.lang.Class<?> keyClass = key.getClass();
java.util.Map<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra> map =
internalGetKeyToExtra();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
private java.util.Map<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra>
getMutableKeyToExtraMap() {
return internalGetMutableKeyToExtra();
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidActivity parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidActivity parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidActivity parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidActivity parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidActivity parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidActivity parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidActivity parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidActivity parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidActivity parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidActivity parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidActivity parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidActivity parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.wear.protolayout.proto.ActionProto.AndroidActivity prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* A launch action to send an intent to an Android activity.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.AndroidActivity}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.ActionProto.AndroidActivity, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.AndroidActivity)
androidx.wear.protolayout.proto.ActionProto.AndroidActivityOrBuilder {
// Construct using androidx.wear.protolayout.proto.ActionProto.AndroidActivity.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The package name to send the intent to, for example, "com.example.weather".
* </pre>
*
* <code>string package_name = 1;</code>
* @return The packageName.
*/
@java.lang.Override
public java.lang.String getPackageName() {
return instance.getPackageName();
}
/**
* <pre>
* The package name to send the intent to, for example, "com.example.weather".
* </pre>
*
* <code>string package_name = 1;</code>
* @return The bytes for packageName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPackageNameBytes() {
return instance.getPackageNameBytes();
}
/**
* <pre>
* The package name to send the intent to, for example, "com.example.weather".
* </pre>
*
* <code>string package_name = 1;</code>
* @param value The packageName to set.
* @return This builder for chaining.
*/
public Builder setPackageName(
java.lang.String value) {
copyOnWrite();
instance.setPackageName(value);
return this;
}
/**
* <pre>
* The package name to send the intent to, for example, "com.example.weather".
* </pre>
*
* <code>string package_name = 1;</code>
* @return This builder for chaining.
*/
public Builder clearPackageName() {
copyOnWrite();
instance.clearPackageName();
return this;
}
/**
* <pre>
* The package name to send the intent to, for example, "com.example.weather".
* </pre>
*
* <code>string package_name = 1;</code>
* @param value The bytes for packageName to set.
* @return This builder for chaining.
*/
public Builder setPackageNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPackageNameBytes(value);
return this;
}
/**
* <pre>
* The fully qualified class name (including the package) to send the intent
* to, for example, "com.example.weather.WeatherOverviewActivity".
* </pre>
*
* <code>string class_name = 2;</code>
* @return The className.
*/
@java.lang.Override
public java.lang.String getClassName() {
return instance.getClassName();
}
/**
* <pre>
* The fully qualified class name (including the package) to send the intent
* to, for example, "com.example.weather.WeatherOverviewActivity".
* </pre>
*
* <code>string class_name = 2;</code>
* @return The bytes for className.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClassNameBytes() {
return instance.getClassNameBytes();
}
/**
* <pre>
* The fully qualified class name (including the package) to send the intent
* to, for example, "com.example.weather.WeatherOverviewActivity".
* </pre>
*
* <code>string class_name = 2;</code>
* @param value The className to set.
* @return This builder for chaining.
*/
public Builder setClassName(
java.lang.String value) {
copyOnWrite();
instance.setClassName(value);
return this;
}
/**
* <pre>
* The fully qualified class name (including the package) to send the intent
* to, for example, "com.example.weather.WeatherOverviewActivity".
* </pre>
*
* <code>string class_name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearClassName() {
copyOnWrite();
instance.clearClassName();
return this;
}
/**
* <pre>
* The fully qualified class name (including the package) to send the intent
* to, for example, "com.example.weather.WeatherOverviewActivity".
* </pre>
*
* <code>string class_name = 2;</code>
* @param value The bytes for className to set.
* @return This builder for chaining.
*/
public Builder setClassNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setClassNameBytes(value);
return this;
}
@java.lang.Override
public int getKeyToExtraCount() {
return instance.getKeyToExtraMap().size();
}
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
@java.lang.Override
public boolean containsKeyToExtra(
java.lang.String key) {
java.lang.Class<?> keyClass = key.getClass();
return instance.getKeyToExtraMap().containsKey(key);
}
public Builder clearKeyToExtra() {
copyOnWrite();
instance.getMutableKeyToExtraMap().clear();
return this;
}
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
public Builder removeKeyToExtra(
java.lang.String key) {
java.lang.Class<?> keyClass = key.getClass();
copyOnWrite();
instance.getMutableKeyToExtraMap().remove(key);
return this;
}
/**
* Use {@link #getKeyToExtraMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra> getKeyToExtra() {
return getKeyToExtraMap();
}
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra> getKeyToExtraMap() {
return java.util.Collections.unmodifiableMap(
instance.getKeyToExtraMap());
}
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
@java.lang.Override
public /* nullable */
androidx.wear.protolayout.proto.ActionProto.AndroidExtra getKeyToExtraOrDefault(
java.lang.String key,
/* nullable */
androidx.wear.protolayout.proto.ActionProto.AndroidExtra defaultValue) {
java.lang.Class<?> keyClass = key.getClass();
java.util.Map<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra> map =
instance.getKeyToExtraMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidExtra getKeyToExtraOrThrow(
java.lang.String key) {
java.lang.Class<?> keyClass = key.getClass();
java.util.Map<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra> map =
instance.getKeyToExtraMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
public Builder putKeyToExtra(
java.lang.String key,
androidx.wear.protolayout.proto.ActionProto.AndroidExtra value) {
java.lang.Class<?> keyClass = key.getClass();
java.lang.Class<?> valueClass = value.getClass();
copyOnWrite();
instance.getMutableKeyToExtraMap().put(key, value);
return this;
}
/**
* <pre>
* The extras to be included in the intent.
* </pre>
*
* <code>map<string, .androidx.wear.protolayout.proto.AndroidExtra> key_to_extra = 3;</code>
*/
public Builder putAllKeyToExtra(
java.util.Map<java.lang.String, androidx.wear.protolayout.proto.ActionProto.AndroidExtra> values) {
copyOnWrite();
instance.getMutableKeyToExtraMap().putAll(values);
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.AndroidActivity)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.wear.protolayout.proto.ActionProto.AndroidActivity();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"packageName_",
"className_",
"keyToExtra_",
KeyToExtraDefaultEntryHolder.defaultEntry,
};
java.lang.String info =
"\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0001\u0000\u0000\u0001\u0208\u0002\u0208" +
"\u00032";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.wear.protolayout.proto.ActionProto.AndroidActivity> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.ActionProto.AndroidActivity.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.ActionProto.AndroidActivity>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.wear.protolayout.proto.AndroidActivity)
private static final androidx.wear.protolayout.proto.ActionProto.AndroidActivity DEFAULT_INSTANCE;
static {
AndroidActivity defaultInstance = new AndroidActivity();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AndroidActivity.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.ActionProto.AndroidActivity getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AndroidActivity> PARSER;
public static com.google.protobuf.Parser<AndroidActivity> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface LaunchActionOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.LaunchAction)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* An action to launch an Android activity.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.AndroidActivity android_activity = 1;</code>
* @return Whether the androidActivity field is set.
*/
boolean hasAndroidActivity();
/**
* <pre>
* An action to launch an Android activity.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.AndroidActivity android_activity = 1;</code>
* @return The androidActivity.
*/
androidx.wear.protolayout.proto.ActionProto.AndroidActivity getAndroidActivity();
}
/**
* <pre>
* An action used to launch another activity on the system. This can hold
* multiple different underlying action types, which will be picked based on
* what the underlying runtime believes to be suitable.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.LaunchAction}
*/
public static final class LaunchAction extends
com.google.protobuf.GeneratedMessageLite<
LaunchAction, LaunchAction.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.LaunchAction)
LaunchActionOrBuilder {
private LaunchAction() {
}
public static final int ANDROID_ACTIVITY_FIELD_NUMBER = 1;
private androidx.wear.protolayout.proto.ActionProto.AndroidActivity androidActivity_;
/**
* <pre>
* An action to launch an Android activity.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.AndroidActivity android_activity = 1;</code>
*/
@java.lang.Override
public boolean hasAndroidActivity() {
return androidActivity_ != null;
}
/**
* <pre>
* An action to launch an Android activity.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.AndroidActivity android_activity = 1;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidActivity getAndroidActivity() {
return androidActivity_ == null ? androidx.wear.protolayout.proto.ActionProto.AndroidActivity.getDefaultInstance() : androidActivity_;
}
/**
* <pre>
* An action to launch an Android activity.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.AndroidActivity android_activity = 1;</code>
*/
private void setAndroidActivity(androidx.wear.protolayout.proto.ActionProto.AndroidActivity value) {
value.getClass();
androidActivity_ = value;
}
/**
* <pre>
* An action to launch an Android activity.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.AndroidActivity android_activity = 1;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeAndroidActivity(androidx.wear.protolayout.proto.ActionProto.AndroidActivity value) {
value.getClass();
if (androidActivity_ != null &&
androidActivity_ != androidx.wear.protolayout.proto.ActionProto.AndroidActivity.getDefaultInstance()) {
androidActivity_ =
androidx.wear.protolayout.proto.ActionProto.AndroidActivity.newBuilder(androidActivity_).mergeFrom(value).buildPartial();
} else {
androidActivity_ = value;
}
}
/**
* <pre>
* An action to launch an Android activity.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.AndroidActivity android_activity = 1;</code>
*/
private void clearAndroidActivity() { androidActivity_ = null;
}
public static androidx.wear.protolayout.proto.ActionProto.LaunchAction parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.LaunchAction parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LaunchAction parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.LaunchAction parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LaunchAction parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.LaunchAction parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LaunchAction parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.LaunchAction parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LaunchAction parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.LaunchAction parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LaunchAction parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.LaunchAction parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.wear.protolayout.proto.ActionProto.LaunchAction prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* An action used to launch another activity on the system. This can hold
* multiple different underlying action types, which will be picked based on
* what the underlying runtime believes to be suitable.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.LaunchAction}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.ActionProto.LaunchAction, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.LaunchAction)
androidx.wear.protolayout.proto.ActionProto.LaunchActionOrBuilder {
// Construct using androidx.wear.protolayout.proto.ActionProto.LaunchAction.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* An action to launch an Android activity.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.AndroidActivity android_activity = 1;</code>
*/
@java.lang.Override
public boolean hasAndroidActivity() {
return instance.hasAndroidActivity();
}
/**
* <pre>
* An action to launch an Android activity.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.AndroidActivity android_activity = 1;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.AndroidActivity getAndroidActivity() {
return instance.getAndroidActivity();
}
/**
* <pre>
* An action to launch an Android activity.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.AndroidActivity android_activity = 1;</code>
*/
public Builder setAndroidActivity(androidx.wear.protolayout.proto.ActionProto.AndroidActivity value) {
copyOnWrite();
instance.setAndroidActivity(value);
return this;
}
/**
* <pre>
* An action to launch an Android activity.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.AndroidActivity android_activity = 1;</code>
*/
public Builder setAndroidActivity(
androidx.wear.protolayout.proto.ActionProto.AndroidActivity.Builder builderForValue) {
copyOnWrite();
instance.setAndroidActivity(builderForValue.build());
return this;
}
/**
* <pre>
* An action to launch an Android activity.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.AndroidActivity android_activity = 1;</code>
*/
public Builder mergeAndroidActivity(androidx.wear.protolayout.proto.ActionProto.AndroidActivity value) {
copyOnWrite();
instance.mergeAndroidActivity(value);
return this;
}
/**
* <pre>
* An action to launch an Android activity.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.AndroidActivity android_activity = 1;</code>
*/
public Builder clearAndroidActivity() { copyOnWrite();
instance.clearAndroidActivity();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.LaunchAction)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.wear.protolayout.proto.ActionProto.LaunchAction();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"androidActivity_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\t";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.wear.protolayout.proto.ActionProto.LaunchAction> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.ActionProto.LaunchAction.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.ActionProto.LaunchAction>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.wear.protolayout.proto.LaunchAction)
private static final androidx.wear.protolayout.proto.ActionProto.LaunchAction DEFAULT_INSTANCE;
static {
LaunchAction defaultInstance = new LaunchAction();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LaunchAction.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.ActionProto.LaunchAction getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<LaunchAction> PARSER;
public static com.google.protobuf.Parser<LaunchAction> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface LoadActionOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.LoadAction)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The state to load the next layout with. This will be included in the
* layout request sent after this action is invoked by a Clickable.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.State request_state = 1;</code>
* @return Whether the requestState field is set.
*/
boolean hasRequestState();
/**
* <pre>
* The state to load the next layout with. This will be included in the
* layout request sent after this action is invoked by a Clickable.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.State request_state = 1;</code>
* @return The requestState.
*/
androidx.wear.protolayout.proto.StateProto.State getRequestState();
}
/**
* <pre>
* An action used to load (or reload) the layout contents.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.LoadAction}
*/
public static final class LoadAction extends
com.google.protobuf.GeneratedMessageLite<
LoadAction, LoadAction.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.LoadAction)
LoadActionOrBuilder {
private LoadAction() {
}
public static final int REQUEST_STATE_FIELD_NUMBER = 1;
private androidx.wear.protolayout.proto.StateProto.State requestState_;
/**
* <pre>
* The state to load the next layout with. This will be included in the
* layout request sent after this action is invoked by a Clickable.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.State request_state = 1;</code>
*/
@java.lang.Override
public boolean hasRequestState() {
return requestState_ != null;
}
/**
* <pre>
* The state to load the next layout with. This will be included in the
* layout request sent after this action is invoked by a Clickable.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.State request_state = 1;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.StateProto.State getRequestState() {
return requestState_ == null ? androidx.wear.protolayout.proto.StateProto.State.getDefaultInstance() : requestState_;
}
/**
* <pre>
* The state to load the next layout with. This will be included in the
* layout request sent after this action is invoked by a Clickable.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.State request_state = 1;</code>
*/
private void setRequestState(androidx.wear.protolayout.proto.StateProto.State value) {
value.getClass();
requestState_ = value;
}
/**
* <pre>
* The state to load the next layout with. This will be included in the
* layout request sent after this action is invoked by a Clickable.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.State request_state = 1;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeRequestState(androidx.wear.protolayout.proto.StateProto.State value) {
value.getClass();
if (requestState_ != null &&
requestState_ != androidx.wear.protolayout.proto.StateProto.State.getDefaultInstance()) {
requestState_ =
androidx.wear.protolayout.proto.StateProto.State.newBuilder(requestState_).mergeFrom(value).buildPartial();
} else {
requestState_ = value;
}
}
/**
* <pre>
* The state to load the next layout with. This will be included in the
* layout request sent after this action is invoked by a Clickable.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.State request_state = 1;</code>
*/
private void clearRequestState() { requestState_ = null;
}
public static androidx.wear.protolayout.proto.ActionProto.LoadAction parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.LoadAction parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LoadAction parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.LoadAction parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LoadAction parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.LoadAction parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LoadAction parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.LoadAction parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LoadAction parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.LoadAction parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LoadAction parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.LoadAction parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.wear.protolayout.proto.ActionProto.LoadAction prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* An action used to load (or reload) the layout contents.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.LoadAction}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.ActionProto.LoadAction, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.LoadAction)
androidx.wear.protolayout.proto.ActionProto.LoadActionOrBuilder {
// Construct using androidx.wear.protolayout.proto.ActionProto.LoadAction.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The state to load the next layout with. This will be included in the
* layout request sent after this action is invoked by a Clickable.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.State request_state = 1;</code>
*/
@java.lang.Override
public boolean hasRequestState() {
return instance.hasRequestState();
}
/**
* <pre>
* The state to load the next layout with. This will be included in the
* layout request sent after this action is invoked by a Clickable.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.State request_state = 1;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.StateProto.State getRequestState() {
return instance.getRequestState();
}
/**
* <pre>
* The state to load the next layout with. This will be included in the
* layout request sent after this action is invoked by a Clickable.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.State request_state = 1;</code>
*/
public Builder setRequestState(androidx.wear.protolayout.proto.StateProto.State value) {
copyOnWrite();
instance.setRequestState(value);
return this;
}
/**
* <pre>
* The state to load the next layout with. This will be included in the
* layout request sent after this action is invoked by a Clickable.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.State request_state = 1;</code>
*/
public Builder setRequestState(
androidx.wear.protolayout.proto.StateProto.State.Builder builderForValue) {
copyOnWrite();
instance.setRequestState(builderForValue.build());
return this;
}
/**
* <pre>
* The state to load the next layout with. This will be included in the
* layout request sent after this action is invoked by a Clickable.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.State request_state = 1;</code>
*/
public Builder mergeRequestState(androidx.wear.protolayout.proto.StateProto.State value) {
copyOnWrite();
instance.mergeRequestState(value);
return this;
}
/**
* <pre>
* The state to load the next layout with. This will be included in the
* layout request sent after this action is invoked by a Clickable.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.State request_state = 1;</code>
*/
public Builder clearRequestState() { copyOnWrite();
instance.clearRequestState();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.LoadAction)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.wear.protolayout.proto.ActionProto.LoadAction();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"requestState_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\t";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.wear.protolayout.proto.ActionProto.LoadAction> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.ActionProto.LoadAction.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.ActionProto.LoadAction>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.wear.protolayout.proto.LoadAction)
private static final androidx.wear.protolayout.proto.ActionProto.LoadAction DEFAULT_INSTANCE;
static {
LoadAction defaultInstance = new LoadAction();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LoadAction.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.ActionProto.LoadAction getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<LoadAction> PARSER;
public static com.google.protobuf.Parser<LoadAction> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ActionOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.Action)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>.androidx.wear.protolayout.proto.LaunchAction launch_action = 1;</code>
* @return Whether the launchAction field is set.
*/
boolean hasLaunchAction();
/**
* <code>.androidx.wear.protolayout.proto.LaunchAction launch_action = 1;</code>
* @return The launchAction.
*/
androidx.wear.protolayout.proto.ActionProto.LaunchAction getLaunchAction();
/**
* <code>.androidx.wear.protolayout.proto.LoadAction load_action = 2;</code>
* @return Whether the loadAction field is set.
*/
boolean hasLoadAction();
/**
* <code>.androidx.wear.protolayout.proto.LoadAction load_action = 2;</code>
* @return The loadAction.
*/
androidx.wear.protolayout.proto.ActionProto.LoadAction getLoadAction();
public androidx.wear.protolayout.proto.ActionProto.Action.ValueCase getValueCase();
}
/**
* <pre>
* An action that can be used by a layout element.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.Action}
*/
public static final class Action extends
com.google.protobuf.GeneratedMessageLite<
Action, Action.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.Action)
ActionOrBuilder {
private Action() {
}
private int valueCase_ = 0;
private java.lang.Object value_;
public enum ValueCase {
LAUNCH_ACTION(1),
LOAD_ACTION(2),
VALUE_NOT_SET(0);
private final int value;
private ValueCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ValueCase valueOf(int value) {
return forNumber(value);
}
public static ValueCase forNumber(int value) {
switch (value) {
case 1: return LAUNCH_ACTION;
case 2: return LOAD_ACTION;
case 0: return VALUE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public ValueCase
getValueCase() {
return ValueCase.forNumber(
valueCase_);
}
private void clearValue() {
valueCase_ = 0;
value_ = null;
}
public static final int LAUNCH_ACTION_FIELD_NUMBER = 1;
/**
* <code>.androidx.wear.protolayout.proto.LaunchAction launch_action = 1;</code>
*/
@java.lang.Override
public boolean hasLaunchAction() {
return valueCase_ == 1;
}
/**
* <code>.androidx.wear.protolayout.proto.LaunchAction launch_action = 1;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.LaunchAction getLaunchAction() {
if (valueCase_ == 1) {
return (androidx.wear.protolayout.proto.ActionProto.LaunchAction) value_;
}
return androidx.wear.protolayout.proto.ActionProto.LaunchAction.getDefaultInstance();
}
/**
* <code>.androidx.wear.protolayout.proto.LaunchAction launch_action = 1;</code>
*/
private void setLaunchAction(androidx.wear.protolayout.proto.ActionProto.LaunchAction value) {
value.getClass();
value_ = value;
valueCase_ = 1;
}
/**
* <code>.androidx.wear.protolayout.proto.LaunchAction launch_action = 1;</code>
*/
private void mergeLaunchAction(androidx.wear.protolayout.proto.ActionProto.LaunchAction value) {
value.getClass();
if (valueCase_ == 1 &&
value_ != androidx.wear.protolayout.proto.ActionProto.LaunchAction.getDefaultInstance()) {
value_ = androidx.wear.protolayout.proto.ActionProto.LaunchAction.newBuilder((androidx.wear.protolayout.proto.ActionProto.LaunchAction) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
valueCase_ = 1;
}
/**
* <code>.androidx.wear.protolayout.proto.LaunchAction launch_action = 1;</code>
*/
private void clearLaunchAction() {
if (valueCase_ == 1) {
valueCase_ = 0;
value_ = null;
}
}
public static final int LOAD_ACTION_FIELD_NUMBER = 2;
/**
* <code>.androidx.wear.protolayout.proto.LoadAction load_action = 2;</code>
*/
@java.lang.Override
public boolean hasLoadAction() {
return valueCase_ == 2;
}
/**
* <code>.androidx.wear.protolayout.proto.LoadAction load_action = 2;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.LoadAction getLoadAction() {
if (valueCase_ == 2) {
return (androidx.wear.protolayout.proto.ActionProto.LoadAction) value_;
}
return androidx.wear.protolayout.proto.ActionProto.LoadAction.getDefaultInstance();
}
/**
* <code>.androidx.wear.protolayout.proto.LoadAction load_action = 2;</code>
*/
private void setLoadAction(androidx.wear.protolayout.proto.ActionProto.LoadAction value) {
value.getClass();
value_ = value;
valueCase_ = 2;
}
/**
* <code>.androidx.wear.protolayout.proto.LoadAction load_action = 2;</code>
*/
private void mergeLoadAction(androidx.wear.protolayout.proto.ActionProto.LoadAction value) {
value.getClass();
if (valueCase_ == 2 &&
value_ != androidx.wear.protolayout.proto.ActionProto.LoadAction.getDefaultInstance()) {
value_ = androidx.wear.protolayout.proto.ActionProto.LoadAction.newBuilder((androidx.wear.protolayout.proto.ActionProto.LoadAction) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
valueCase_ = 2;
}
/**
* <code>.androidx.wear.protolayout.proto.LoadAction load_action = 2;</code>
*/
private void clearLoadAction() {
if (valueCase_ == 2) {
valueCase_ = 0;
value_ = null;
}
}
public static androidx.wear.protolayout.proto.ActionProto.Action parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.Action parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.Action parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.Action parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.Action parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.Action parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.Action parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.Action parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.Action parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.Action parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.Action parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.Action parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.wear.protolayout.proto.ActionProto.Action prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* An action that can be used by a layout element.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.Action}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.ActionProto.Action, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.Action)
androidx.wear.protolayout.proto.ActionProto.ActionOrBuilder {
// Construct using androidx.wear.protolayout.proto.ActionProto.Action.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public ValueCase
getValueCase() {
return instance.getValueCase();
}
public Builder clearValue() {
copyOnWrite();
instance.clearValue();
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.LaunchAction launch_action = 1;</code>
*/
@java.lang.Override
public boolean hasLaunchAction() {
return instance.hasLaunchAction();
}
/**
* <code>.androidx.wear.protolayout.proto.LaunchAction launch_action = 1;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.LaunchAction getLaunchAction() {
return instance.getLaunchAction();
}
/**
* <code>.androidx.wear.protolayout.proto.LaunchAction launch_action = 1;</code>
*/
public Builder setLaunchAction(androidx.wear.protolayout.proto.ActionProto.LaunchAction value) {
copyOnWrite();
instance.setLaunchAction(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.LaunchAction launch_action = 1;</code>
*/
public Builder setLaunchAction(
androidx.wear.protolayout.proto.ActionProto.LaunchAction.Builder builderForValue) {
copyOnWrite();
instance.setLaunchAction(builderForValue.build());
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.LaunchAction launch_action = 1;</code>
*/
public Builder mergeLaunchAction(androidx.wear.protolayout.proto.ActionProto.LaunchAction value) {
copyOnWrite();
instance.mergeLaunchAction(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.LaunchAction launch_action = 1;</code>
*/
public Builder clearLaunchAction() {
copyOnWrite();
instance.clearLaunchAction();
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.LoadAction load_action = 2;</code>
*/
@java.lang.Override
public boolean hasLoadAction() {
return instance.hasLoadAction();
}
/**
* <code>.androidx.wear.protolayout.proto.LoadAction load_action = 2;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.LoadAction getLoadAction() {
return instance.getLoadAction();
}
/**
* <code>.androidx.wear.protolayout.proto.LoadAction load_action = 2;</code>
*/
public Builder setLoadAction(androidx.wear.protolayout.proto.ActionProto.LoadAction value) {
copyOnWrite();
instance.setLoadAction(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.LoadAction load_action = 2;</code>
*/
public Builder setLoadAction(
androidx.wear.protolayout.proto.ActionProto.LoadAction.Builder builderForValue) {
copyOnWrite();
instance.setLoadAction(builderForValue.build());
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.LoadAction load_action = 2;</code>
*/
public Builder mergeLoadAction(androidx.wear.protolayout.proto.ActionProto.LoadAction value) {
copyOnWrite();
instance.mergeLoadAction(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.LoadAction load_action = 2;</code>
*/
public Builder clearLoadAction() {
copyOnWrite();
instance.clearLoadAction();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.Action)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.wear.protolayout.proto.ActionProto.Action();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"value_",
"valueCase_",
androidx.wear.protolayout.proto.ActionProto.LaunchAction.class,
androidx.wear.protolayout.proto.ActionProto.LoadAction.class,
};
java.lang.String info =
"\u0000\u0002\u0001\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001<\u0000\u0002<" +
"\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.wear.protolayout.proto.ActionProto.Action> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.ActionProto.Action.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.ActionProto.Action>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.wear.protolayout.proto.Action)
private static final androidx.wear.protolayout.proto.ActionProto.Action DEFAULT_INSTANCE;
static {
Action defaultInstance = new Action();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Action.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.ActionProto.Action getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<Action> PARSER;
public static com.google.protobuf.Parser<Action> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface LocalActionOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.LocalAction)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>.androidx.wear.protolayout.proto.SetStateAction set_state = 1;</code>
* @return Whether the setState field is set.
*/
boolean hasSetState();
/**
* <code>.androidx.wear.protolayout.proto.SetStateAction set_state = 1;</code>
* @return The setState.
*/
androidx.wear.protolayout.proto.ActionProto.SetStateAction getSetState();
public androidx.wear.protolayout.proto.ActionProto.LocalAction.ValueCase getValueCase();
}
/**
* <pre>
* An action that is handled internal to the current layout and won't cause a
* layout refresh.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.LocalAction}
*/
public static final class LocalAction extends
com.google.protobuf.GeneratedMessageLite<
LocalAction, LocalAction.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.LocalAction)
LocalActionOrBuilder {
private LocalAction() {
}
private int valueCase_ = 0;
private java.lang.Object value_;
public enum ValueCase {
SET_STATE(1),
VALUE_NOT_SET(0);
private final int value;
private ValueCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ValueCase valueOf(int value) {
return forNumber(value);
}
public static ValueCase forNumber(int value) {
switch (value) {
case 1: return SET_STATE;
case 0: return VALUE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public ValueCase
getValueCase() {
return ValueCase.forNumber(
valueCase_);
}
private void clearValue() {
valueCase_ = 0;
value_ = null;
}
public static final int SET_STATE_FIELD_NUMBER = 1;
/**
* <code>.androidx.wear.protolayout.proto.SetStateAction set_state = 1;</code>
*/
@java.lang.Override
public boolean hasSetState() {
return valueCase_ == 1;
}
/**
* <code>.androidx.wear.protolayout.proto.SetStateAction set_state = 1;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.SetStateAction getSetState() {
if (valueCase_ == 1) {
return (androidx.wear.protolayout.proto.ActionProto.SetStateAction) value_;
}
return androidx.wear.protolayout.proto.ActionProto.SetStateAction.getDefaultInstance();
}
/**
* <code>.androidx.wear.protolayout.proto.SetStateAction set_state = 1;</code>
*/
private void setSetState(androidx.wear.protolayout.proto.ActionProto.SetStateAction value) {
value.getClass();
value_ = value;
valueCase_ = 1;
}
/**
* <code>.androidx.wear.protolayout.proto.SetStateAction set_state = 1;</code>
*/
private void mergeSetState(androidx.wear.protolayout.proto.ActionProto.SetStateAction value) {
value.getClass();
if (valueCase_ == 1 &&
value_ != androidx.wear.protolayout.proto.ActionProto.SetStateAction.getDefaultInstance()) {
value_ = androidx.wear.protolayout.proto.ActionProto.SetStateAction.newBuilder((androidx.wear.protolayout.proto.ActionProto.SetStateAction) value_)
.mergeFrom(value).buildPartial();
} else {
value_ = value;
}
valueCase_ = 1;
}
/**
* <code>.androidx.wear.protolayout.proto.SetStateAction set_state = 1;</code>
*/
private void clearSetState() {
if (valueCase_ == 1) {
valueCase_ = 0;
value_ = null;
}
}
public static androidx.wear.protolayout.proto.ActionProto.LocalAction parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.LocalAction parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LocalAction parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.LocalAction parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LocalAction parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.LocalAction parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LocalAction parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.LocalAction parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LocalAction parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.LocalAction parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.LocalAction parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.LocalAction parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.wear.protolayout.proto.ActionProto.LocalAction prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* An action that is handled internal to the current layout and won't cause a
* layout refresh.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.LocalAction}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.ActionProto.LocalAction, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.LocalAction)
androidx.wear.protolayout.proto.ActionProto.LocalActionOrBuilder {
// Construct using androidx.wear.protolayout.proto.ActionProto.LocalAction.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public ValueCase
getValueCase() {
return instance.getValueCase();
}
public Builder clearValue() {
copyOnWrite();
instance.clearValue();
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.SetStateAction set_state = 1;</code>
*/
@java.lang.Override
public boolean hasSetState() {
return instance.hasSetState();
}
/**
* <code>.androidx.wear.protolayout.proto.SetStateAction set_state = 1;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.proto.ActionProto.SetStateAction getSetState() {
return instance.getSetState();
}
/**
* <code>.androidx.wear.protolayout.proto.SetStateAction set_state = 1;</code>
*/
public Builder setSetState(androidx.wear.protolayout.proto.ActionProto.SetStateAction value) {
copyOnWrite();
instance.setSetState(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.SetStateAction set_state = 1;</code>
*/
public Builder setSetState(
androidx.wear.protolayout.proto.ActionProto.SetStateAction.Builder builderForValue) {
copyOnWrite();
instance.setSetState(builderForValue.build());
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.SetStateAction set_state = 1;</code>
*/
public Builder mergeSetState(androidx.wear.protolayout.proto.ActionProto.SetStateAction value) {
copyOnWrite();
instance.mergeSetState(value);
return this;
}
/**
* <code>.androidx.wear.protolayout.proto.SetStateAction set_state = 1;</code>
*/
public Builder clearSetState() {
copyOnWrite();
instance.clearSetState();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.LocalAction)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.wear.protolayout.proto.ActionProto.LocalAction();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"value_",
"valueCase_",
androidx.wear.protolayout.proto.ActionProto.SetStateAction.class,
};
java.lang.String info =
"\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.wear.protolayout.proto.ActionProto.LocalAction> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.ActionProto.LocalAction.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.ActionProto.LocalAction>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.wear.protolayout.proto.LocalAction)
private static final androidx.wear.protolayout.proto.ActionProto.LocalAction DEFAULT_INSTANCE;
static {
LocalAction defaultInstance = new LocalAction();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
LocalAction.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.ActionProto.LocalAction getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<LocalAction> PARSER;
public static com.google.protobuf.Parser<LocalAction> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface SetStateActionOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.SetStateAction)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The target key of the state item for this action.
* </pre>
*
* <code>string target_key = 1;</code>
* @return The targetKey.
*/
java.lang.String getTargetKey();
/**
* <pre>
* The target key of the state item for this action.
* </pre>
*
* <code>string target_key = 1;</code>
* @return The bytes for targetKey.
*/
com.google.protobuf.ByteString
getTargetKeyBytes();
/**
* <pre>
* The value to set the state item to, when this action is executed.
* </pre>
*
* <code>.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;</code>
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* <pre>
* The value to set the state item to, when this action is executed.
* </pre>
*
* <code>.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;</code>
* @return The value.
*/
androidx.wear.protolayout.expression.proto.DynamicDataProto.DynamicDataValue getValue();
}
/**
* <pre>
* An action that sets a new value for a State
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.SetStateAction}
*/
public static final class SetStateAction extends
com.google.protobuf.GeneratedMessageLite<
SetStateAction, SetStateAction.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.SetStateAction)
SetStateActionOrBuilder {
private SetStateAction() {
targetKey_ = "";
}
public static final int TARGET_KEY_FIELD_NUMBER = 1;
private java.lang.String targetKey_;
/**
* <pre>
* The target key of the state item for this action.
* </pre>
*
* <code>string target_key = 1;</code>
* @return The targetKey.
*/
@java.lang.Override
public java.lang.String getTargetKey() {
return targetKey_;
}
/**
* <pre>
* The target key of the state item for this action.
* </pre>
*
* <code>string target_key = 1;</code>
* @return The bytes for targetKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTargetKeyBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(targetKey_);
}
/**
* <pre>
* The target key of the state item for this action.
* </pre>
*
* <code>string target_key = 1;</code>
* @param value The targetKey to set.
*/
private void setTargetKey(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
targetKey_ = value;
}
/**
* <pre>
* The target key of the state item for this action.
* </pre>
*
* <code>string target_key = 1;</code>
*/
private void clearTargetKey() {
targetKey_ = getDefaultInstance().getTargetKey();
}
/**
* <pre>
* The target key of the state item for this action.
* </pre>
*
* <code>string target_key = 1;</code>
* @param value The bytes for targetKey to set.
*/
private void setTargetKeyBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
targetKey_ = value.toStringUtf8();
}
public static final int VALUE_FIELD_NUMBER = 2;
private androidx.wear.protolayout.expression.proto.DynamicDataProto.DynamicDataValue value_;
/**
* <pre>
* The value to set the state item to, when this action is executed.
* </pre>
*
* <code>.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;</code>
*/
@java.lang.Override
public boolean hasValue() {
return value_ != null;
}
/**
* <pre>
* The value to set the state item to, when this action is executed.
* </pre>
*
* <code>.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.expression.proto.DynamicDataProto.DynamicDataValue getValue() {
return value_ == null ? androidx.wear.protolayout.expression.proto.DynamicDataProto.DynamicDataValue.getDefaultInstance() : value_;
}
/**
* <pre>
* The value to set the state item to, when this action is executed.
* </pre>
*
* <code>.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;</code>
*/
private void setValue(androidx.wear.protolayout.expression.proto.DynamicDataProto.DynamicDataValue value) {
value.getClass();
value_ = value;
}
/**
* <pre>
* The value to set the state item to, when this action is executed.
* </pre>
*
* <code>.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeValue(androidx.wear.protolayout.expression.proto.DynamicDataProto.DynamicDataValue value) {
value.getClass();
if (value_ != null &&
value_ != androidx.wear.protolayout.expression.proto.DynamicDataProto.DynamicDataValue.getDefaultInstance()) {
value_ =
androidx.wear.protolayout.expression.proto.DynamicDataProto.DynamicDataValue.newBuilder(value_).mergeFrom(value).buildPartial();
} else {
value_ = value;
}
}
/**
* <pre>
* The value to set the state item to, when this action is executed.
* </pre>
*
* <code>.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;</code>
*/
private void clearValue() { value_ = null;
}
public static androidx.wear.protolayout.proto.ActionProto.SetStateAction parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.SetStateAction parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.SetStateAction parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.SetStateAction parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.SetStateAction parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.ActionProto.SetStateAction parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.SetStateAction parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.SetStateAction parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.SetStateAction parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.SetStateAction parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.wear.protolayout.proto.ActionProto.SetStateAction parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.ActionProto.SetStateAction parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.wear.protolayout.proto.ActionProto.SetStateAction prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* An action that sets a new value for a State
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.SetStateAction}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.ActionProto.SetStateAction, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.SetStateAction)
androidx.wear.protolayout.proto.ActionProto.SetStateActionOrBuilder {
// Construct using androidx.wear.protolayout.proto.ActionProto.SetStateAction.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The target key of the state item for this action.
* </pre>
*
* <code>string target_key = 1;</code>
* @return The targetKey.
*/
@java.lang.Override
public java.lang.String getTargetKey() {
return instance.getTargetKey();
}
/**
* <pre>
* The target key of the state item for this action.
* </pre>
*
* <code>string target_key = 1;</code>
* @return The bytes for targetKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTargetKeyBytes() {
return instance.getTargetKeyBytes();
}
/**
* <pre>
* The target key of the state item for this action.
* </pre>
*
* <code>string target_key = 1;</code>
* @param value The targetKey to set.
* @return This builder for chaining.
*/
public Builder setTargetKey(
java.lang.String value) {
copyOnWrite();
instance.setTargetKey(value);
return this;
}
/**
* <pre>
* The target key of the state item for this action.
* </pre>
*
* <code>string target_key = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTargetKey() {
copyOnWrite();
instance.clearTargetKey();
return this;
}
/**
* <pre>
* The target key of the state item for this action.
* </pre>
*
* <code>string target_key = 1;</code>
* @param value The bytes for targetKey to set.
* @return This builder for chaining.
*/
public Builder setTargetKeyBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTargetKeyBytes(value);
return this;
}
/**
* <pre>
* The value to set the state item to, when this action is executed.
* </pre>
*
* <code>.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;</code>
*/
@java.lang.Override
public boolean hasValue() {
return instance.hasValue();
}
/**
* <pre>
* The value to set the state item to, when this action is executed.
* </pre>
*
* <code>.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;</code>
*/
@java.lang.Override
public androidx.wear.protolayout.expression.proto.DynamicDataProto.DynamicDataValue getValue() {
return instance.getValue();
}
/**
* <pre>
* The value to set the state item to, when this action is executed.
* </pre>
*
* <code>.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;</code>
*/
public Builder setValue(androidx.wear.protolayout.expression.proto.DynamicDataProto.DynamicDataValue value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* The value to set the state item to, when this action is executed.
* </pre>
*
* <code>.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;</code>
*/
public Builder setValue(
androidx.wear.protolayout.expression.proto.DynamicDataProto.DynamicDataValue.Builder builderForValue) {
copyOnWrite();
instance.setValue(builderForValue.build());
return this;
}
/**
* <pre>
* The value to set the state item to, when this action is executed.
* </pre>
*
* <code>.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;</code>
*/
public Builder mergeValue(androidx.wear.protolayout.expression.proto.DynamicDataProto.DynamicDataValue value) {
copyOnWrite();
instance.mergeValue(value);
return this;
}
/**
* <pre>
* The value to set the state item to, when this action is executed.
* </pre>
*
* <code>.androidx.wear.protolayout.expression.proto.DynamicDataValue value = 2;</code>
*/
public Builder clearValue() { copyOnWrite();
instance.clearValue();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.proto.SetStateAction)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.wear.protolayout.proto.ActionProto.SetStateAction();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"targetKey_",
"value_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0208\u0002\t" +
"";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.wear.protolayout.proto.ActionProto.SetStateAction> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.ActionProto.SetStateAction.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.ActionProto.SetStateAction>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.wear.protolayout.proto.SetStateAction)
private static final androidx.wear.protolayout.proto.ActionProto.SetStateAction DEFAULT_INSTANCE;
static {
SetStateAction defaultInstance = new SetStateAction();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
SetStateAction.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.ActionProto.SetStateAction getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<SetStateAction> PARSER;
public static com.google.protobuf.Parser<SetStateAction> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}