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: fixed.proto
package androidx.wear.protolayout.expression.proto;
public final class FixedProto {
private FixedProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public interface FixedInt32OrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.expression.proto.FixedInt32)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The value.
* </pre>
*
* <code>int32 value = 1;</code>
* @return The value.
*/
int getValue();
}
/**
* <pre>
* A fixed int32 type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedInt32}
*/
public static final class FixedInt32 extends
com.google.protobuf.GeneratedMessageLite<
FixedInt32, FixedInt32.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.expression.proto.FixedInt32)
FixedInt32OrBuilder {
private FixedInt32() {
}
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.expression.proto.FixedProto.FixedInt32 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedInt32 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.expression.proto.FixedProto.FixedInt32 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.expression.proto.FixedProto.FixedInt32 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.expression.proto.FixedProto.FixedInt32 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedInt32 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.expression.proto.FixedProto.FixedInt32 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedInt32 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.expression.proto.FixedProto.FixedInt32 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedInt32 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.expression.proto.FixedProto.FixedInt32 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedInt32 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.expression.proto.FixedProto.FixedInt32 prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* A fixed int32 type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedInt32}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.expression.proto.FixedProto.FixedInt32, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.expression.proto.FixedInt32)
androidx.wear.protolayout.expression.proto.FixedProto.FixedInt32OrBuilder {
// Construct using androidx.wear.protolayout.expression.proto.FixedProto.FixedInt32.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.expression.proto.FixedInt32)
}
@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.expression.proto.FixedProto.FixedInt32();
}
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.expression.proto.FixedProto.FixedInt32> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.expression.proto.FixedProto.FixedInt32.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.expression.proto.FixedProto.FixedInt32>(
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.expression.proto.FixedInt32)
private static final androidx.wear.protolayout.expression.proto.FixedProto.FixedInt32 DEFAULT_INSTANCE;
static {
FixedInt32 defaultInstance = new FixedInt32();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FixedInt32.class, defaultInstance);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedInt32 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<FixedInt32> PARSER;
public static com.google.protobuf.Parser<FixedInt32> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FixedStringOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.expression.proto.FixedString)
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 fixed string type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedString}
*/
public static final class FixedString extends
com.google.protobuf.GeneratedMessageLite<
FixedString, FixedString.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.expression.proto.FixedString)
FixedStringOrBuilder {
private FixedString() {
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.expression.proto.FixedProto.FixedString parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedString 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.expression.proto.FixedProto.FixedString 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.expression.proto.FixedProto.FixedString 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.expression.proto.FixedProto.FixedString parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedString 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.expression.proto.FixedProto.FixedString parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedString 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.expression.proto.FixedProto.FixedString parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedString 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.expression.proto.FixedProto.FixedString parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedString 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.expression.proto.FixedProto.FixedString prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* A fixed string type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedString}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.expression.proto.FixedProto.FixedString, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.expression.proto.FixedString)
androidx.wear.protolayout.expression.proto.FixedProto.FixedStringOrBuilder {
// Construct using androidx.wear.protolayout.expression.proto.FixedProto.FixedString.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.expression.proto.FixedString)
}
@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.expression.proto.FixedProto.FixedString();
}
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.expression.proto.FixedProto.FixedString> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.expression.proto.FixedProto.FixedString.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.expression.proto.FixedProto.FixedString>(
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.expression.proto.FixedString)
private static final androidx.wear.protolayout.expression.proto.FixedProto.FixedString DEFAULT_INSTANCE;
static {
FixedString defaultInstance = new FixedString();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FixedString.class, defaultInstance);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedString getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<FixedString> PARSER;
public static com.google.protobuf.Parser<FixedString> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FixedFloatOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.expression.proto.FixedFloat)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The value. Note that a NAN value is considered invalid and any expression
* with this node will have an invalid value.
* </pre>
*
* <code>float value = 1;</code>
* @return The value.
*/
float getValue();
}
/**
* <pre>
* A fixed float type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedFloat}
*/
public static final class FixedFloat extends
com.google.protobuf.GeneratedMessageLite<
FixedFloat, FixedFloat.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.expression.proto.FixedFloat)
FixedFloatOrBuilder {
private FixedFloat() {
}
public static final int VALUE_FIELD_NUMBER = 1;
private float value_;
/**
* <pre>
* The value. Note that a NAN value is considered invalid and any expression
* with this node will have an invalid value.
* </pre>
*
* <code>float value = 1;</code>
* @return The value.
*/
@java.lang.Override
public float getValue() {
return value_;
}
/**
* <pre>
* The value. Note that a NAN value is considered invalid and any expression
* with this node will have an invalid value.
* </pre>
*
* <code>float value = 1;</code>
* @param value The value to set.
*/
private void setValue(float value) {
value_ = value;
}
/**
* <pre>
* The value. Note that a NAN value is considered invalid and any expression
* with this node will have an invalid value.
* </pre>
*
* <code>float value = 1;</code>
*/
private void clearValue() {
value_ = 0F;
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedFloat parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedFloat 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.expression.proto.FixedProto.FixedFloat 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.expression.proto.FixedProto.FixedFloat 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.expression.proto.FixedProto.FixedFloat parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedFloat 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.expression.proto.FixedProto.FixedFloat parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedFloat 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.expression.proto.FixedProto.FixedFloat parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedFloat 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.expression.proto.FixedProto.FixedFloat parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedFloat 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.expression.proto.FixedProto.FixedFloat prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* A fixed float type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedFloat}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.expression.proto.FixedProto.FixedFloat, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.expression.proto.FixedFloat)
androidx.wear.protolayout.expression.proto.FixedProto.FixedFloatOrBuilder {
// Construct using androidx.wear.protolayout.expression.proto.FixedProto.FixedFloat.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The value. Note that a NAN value is considered invalid and any expression
* with this node will have an invalid value.
* </pre>
*
* <code>float value = 1;</code>
* @return The value.
*/
@java.lang.Override
public float getValue() {
return instance.getValue();
}
/**
* <pre>
* The value. Note that a NAN value is considered invalid and any expression
* with this node will have an invalid value.
* </pre>
*
* <code>float value = 1;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(float value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* The value. Note that a NAN value is considered invalid and any expression
* with this node will have an invalid value.
* </pre>
*
* <code>float value = 1;</code>
* @return This builder for chaining.
*/
public Builder clearValue() {
copyOnWrite();
instance.clearValue();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.expression.proto.FixedFloat)
}
@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.expression.proto.FixedProto.FixedFloat();
}
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\u0001";
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.expression.proto.FixedProto.FixedFloat> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.expression.proto.FixedProto.FixedFloat.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.expression.proto.FixedProto.FixedFloat>(
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.expression.proto.FixedFloat)
private static final androidx.wear.protolayout.expression.proto.FixedProto.FixedFloat DEFAULT_INSTANCE;
static {
FixedFloat defaultInstance = new FixedFloat();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FixedFloat.class, defaultInstance);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedFloat getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<FixedFloat> PARSER;
public static com.google.protobuf.Parser<FixedFloat> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FixedBoolOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.expression.proto.FixedBool)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The value.
* </pre>
*
* <code>bool value = 1;</code>
* @return The value.
*/
boolean getValue();
}
/**
* <pre>
* A fixed boolean type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedBool}
*/
public static final class FixedBool extends
com.google.protobuf.GeneratedMessageLite<
FixedBool, FixedBool.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.expression.proto.FixedBool)
FixedBoolOrBuilder {
private FixedBool() {
}
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.expression.proto.FixedProto.FixedBool parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedBool 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.expression.proto.FixedProto.FixedBool 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.expression.proto.FixedProto.FixedBool 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.expression.proto.FixedProto.FixedBool parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedBool 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.expression.proto.FixedProto.FixedBool parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedBool 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.expression.proto.FixedProto.FixedBool parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedBool 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.expression.proto.FixedProto.FixedBool parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedBool 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.expression.proto.FixedProto.FixedBool prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* A fixed boolean type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedBool}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.expression.proto.FixedProto.FixedBool, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.expression.proto.FixedBool)
androidx.wear.protolayout.expression.proto.FixedProto.FixedBoolOrBuilder {
// Construct using androidx.wear.protolayout.expression.proto.FixedProto.FixedBool.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.expression.proto.FixedBool)
}
@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.expression.proto.FixedProto.FixedBool();
}
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.expression.proto.FixedProto.FixedBool> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.expression.proto.FixedProto.FixedBool.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.expression.proto.FixedProto.FixedBool>(
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.expression.proto.FixedBool)
private static final androidx.wear.protolayout.expression.proto.FixedProto.FixedBool DEFAULT_INSTANCE;
static {
FixedBool defaultInstance = new FixedBool();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FixedBool.class, defaultInstance);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedBool getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<FixedBool> PARSER;
public static com.google.protobuf.Parser<FixedBool> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FixedColorOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.expression.proto.FixedColor)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The color value, in ARGB format.
* </pre>
*
* <code>uint32 argb = 1;</code>
* @return The argb.
*/
int getArgb();
}
/**
* <pre>
* A fixed color type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedColor}
*/
public static final class FixedColor extends
com.google.protobuf.GeneratedMessageLite<
FixedColor, FixedColor.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.expression.proto.FixedColor)
FixedColorOrBuilder {
private FixedColor() {
}
public static final int ARGB_FIELD_NUMBER = 1;
private int argb_;
/**
* <pre>
* The color value, in ARGB format.
* </pre>
*
* <code>uint32 argb = 1;</code>
* @return The argb.
*/
@java.lang.Override
public int getArgb() {
return argb_;
}
/**
* <pre>
* The color value, in ARGB format.
* </pre>
*
* <code>uint32 argb = 1;</code>
* @param value The argb to set.
*/
private void setArgb(int value) {
argb_ = value;
}
/**
* <pre>
* The color value, in ARGB format.
* </pre>
*
* <code>uint32 argb = 1;</code>
*/
private void clearArgb() {
argb_ = 0;
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedColor parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedColor 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.expression.proto.FixedProto.FixedColor 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.expression.proto.FixedProto.FixedColor 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.expression.proto.FixedProto.FixedColor parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedColor 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.expression.proto.FixedProto.FixedColor parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedColor 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.expression.proto.FixedProto.FixedColor parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedColor 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.expression.proto.FixedProto.FixedColor parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedColor 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.expression.proto.FixedProto.FixedColor prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* A fixed color type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedColor}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.expression.proto.FixedProto.FixedColor, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.expression.proto.FixedColor)
androidx.wear.protolayout.expression.proto.FixedProto.FixedColorOrBuilder {
// Construct using androidx.wear.protolayout.expression.proto.FixedProto.FixedColor.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The color value, in ARGB format.
* </pre>
*
* <code>uint32 argb = 1;</code>
* @return The argb.
*/
@java.lang.Override
public int getArgb() {
return instance.getArgb();
}
/**
* <pre>
* The color value, in ARGB format.
* </pre>
*
* <code>uint32 argb = 1;</code>
* @param value The argb to set.
* @return This builder for chaining.
*/
public Builder setArgb(int value) {
copyOnWrite();
instance.setArgb(value);
return this;
}
/**
* <pre>
* The color value, in ARGB format.
* </pre>
*
* <code>uint32 argb = 1;</code>
* @return This builder for chaining.
*/
public Builder clearArgb() {
copyOnWrite();
instance.clearArgb();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.expression.proto.FixedColor)
}
@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.expression.proto.FixedProto.FixedColor();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"argb_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u000b";
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.expression.proto.FixedProto.FixedColor> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.expression.proto.FixedProto.FixedColor.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.expression.proto.FixedProto.FixedColor>(
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.expression.proto.FixedColor)
private static final androidx.wear.protolayout.expression.proto.FixedProto.FixedColor DEFAULT_INSTANCE;
static {
FixedColor defaultInstance = new FixedColor();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FixedColor.class, defaultInstance);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedColor getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<FixedColor> PARSER;
public static com.google.protobuf.Parser<FixedColor> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FixedInstantOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.expression.proto.FixedInstant)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The number of seconds that have elapsed since 00:00:00 UTC on 1 January
* 1970.
* </pre>
*
* <code>int64 epoch_seconds = 1;</code>
* @return The epochSeconds.
*/
long getEpochSeconds();
}
/**
* <pre>
* A fixed time instant type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedInstant}
*/
public static final class FixedInstant extends
com.google.protobuf.GeneratedMessageLite<
FixedInstant, FixedInstant.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.expression.proto.FixedInstant)
FixedInstantOrBuilder {
private FixedInstant() {
}
public static final int EPOCH_SECONDS_FIELD_NUMBER = 1;
private long epochSeconds_;
/**
* <pre>
* The number of seconds that have elapsed since 00:00:00 UTC on 1 January
* 1970.
* </pre>
*
* <code>int64 epoch_seconds = 1;</code>
* @return The epochSeconds.
*/
@java.lang.Override
public long getEpochSeconds() {
return epochSeconds_;
}
/**
* <pre>
* The number of seconds that have elapsed since 00:00:00 UTC on 1 January
* 1970.
* </pre>
*
* <code>int64 epoch_seconds = 1;</code>
* @param value The epochSeconds to set.
*/
private void setEpochSeconds(long value) {
epochSeconds_ = value;
}
/**
* <pre>
* The number of seconds that have elapsed since 00:00:00 UTC on 1 January
* 1970.
* </pre>
*
* <code>int64 epoch_seconds = 1;</code>
*/
private void clearEpochSeconds() {
epochSeconds_ = 0L;
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedInstant parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedInstant 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.expression.proto.FixedProto.FixedInstant 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.expression.proto.FixedProto.FixedInstant 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.expression.proto.FixedProto.FixedInstant parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedInstant 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.expression.proto.FixedProto.FixedInstant parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedInstant 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.expression.proto.FixedProto.FixedInstant parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedInstant 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.expression.proto.FixedProto.FixedInstant parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedInstant 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.expression.proto.FixedProto.FixedInstant prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* A fixed time instant type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedInstant}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.expression.proto.FixedProto.FixedInstant, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.expression.proto.FixedInstant)
androidx.wear.protolayout.expression.proto.FixedProto.FixedInstantOrBuilder {
// Construct using androidx.wear.protolayout.expression.proto.FixedProto.FixedInstant.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The number of seconds that have elapsed since 00:00:00 UTC on 1 January
* 1970.
* </pre>
*
* <code>int64 epoch_seconds = 1;</code>
* @return The epochSeconds.
*/
@java.lang.Override
public long getEpochSeconds() {
return instance.getEpochSeconds();
}
/**
* <pre>
* The number of seconds that have elapsed since 00:00:00 UTC on 1 January
* 1970.
* </pre>
*
* <code>int64 epoch_seconds = 1;</code>
* @param value The epochSeconds to set.
* @return This builder for chaining.
*/
public Builder setEpochSeconds(long value) {
copyOnWrite();
instance.setEpochSeconds(value);
return this;
}
/**
* <pre>
* The number of seconds that have elapsed since 00:00:00 UTC on 1 January
* 1970.
* </pre>
*
* <code>int64 epoch_seconds = 1;</code>
* @return This builder for chaining.
*/
public Builder clearEpochSeconds() {
copyOnWrite();
instance.clearEpochSeconds();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.expression.proto.FixedInstant)
}
@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.expression.proto.FixedProto.FixedInstant();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"epochSeconds_",
};
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.expression.proto.FixedProto.FixedInstant> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.expression.proto.FixedProto.FixedInstant.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.expression.proto.FixedProto.FixedInstant>(
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.expression.proto.FixedInstant)
private static final androidx.wear.protolayout.expression.proto.FixedProto.FixedInstant DEFAULT_INSTANCE;
static {
FixedInstant defaultInstance = new FixedInstant();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FixedInstant.class, defaultInstance);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedInstant getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<FixedInstant> PARSER;
public static com.google.protobuf.Parser<FixedInstant> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FixedDurationOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.expression.proto.FixedDuration)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* Duration in seconds
* </pre>
*
* <code>int64 seconds = 1;</code>
* @return The seconds.
*/
long getSeconds();
}
/**
* <pre>
* A fixed duration type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedDuration}
*/
public static final class FixedDuration extends
com.google.protobuf.GeneratedMessageLite<
FixedDuration, FixedDuration.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.expression.proto.FixedDuration)
FixedDurationOrBuilder {
private FixedDuration() {
}
public static final int SECONDS_FIELD_NUMBER = 1;
private long seconds_;
/**
* <pre>
* Duration in seconds
* </pre>
*
* <code>int64 seconds = 1;</code>
* @return The seconds.
*/
@java.lang.Override
public long getSeconds() {
return seconds_;
}
/**
* <pre>
* Duration in seconds
* </pre>
*
* <code>int64 seconds = 1;</code>
* @param value The seconds to set.
*/
private void setSeconds(long value) {
seconds_ = value;
}
/**
* <pre>
* Duration in seconds
* </pre>
*
* <code>int64 seconds = 1;</code>
*/
private void clearSeconds() {
seconds_ = 0L;
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedDuration parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedDuration 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.expression.proto.FixedProto.FixedDuration 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.expression.proto.FixedProto.FixedDuration 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.expression.proto.FixedProto.FixedDuration parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedDuration 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.expression.proto.FixedProto.FixedDuration parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedDuration 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.expression.proto.FixedProto.FixedDuration parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedDuration 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.expression.proto.FixedProto.FixedDuration parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedDuration 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.expression.proto.FixedProto.FixedDuration prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* A fixed duration type.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.expression.proto.FixedDuration}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.expression.proto.FixedProto.FixedDuration, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.expression.proto.FixedDuration)
androidx.wear.protolayout.expression.proto.FixedProto.FixedDurationOrBuilder {
// Construct using androidx.wear.protolayout.expression.proto.FixedProto.FixedDuration.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* Duration in seconds
* </pre>
*
* <code>int64 seconds = 1;</code>
* @return The seconds.
*/
@java.lang.Override
public long getSeconds() {
return instance.getSeconds();
}
/**
* <pre>
* Duration in seconds
* </pre>
*
* <code>int64 seconds = 1;</code>
* @param value The seconds to set.
* @return This builder for chaining.
*/
public Builder setSeconds(long value) {
copyOnWrite();
instance.setSeconds(value);
return this;
}
/**
* <pre>
* Duration in seconds
* </pre>
*
* <code>int64 seconds = 1;</code>
* @return This builder for chaining.
*/
public Builder clearSeconds() {
copyOnWrite();
instance.clearSeconds();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.wear.protolayout.expression.proto.FixedDuration)
}
@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.expression.proto.FixedProto.FixedDuration();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"seconds_",
};
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.expression.proto.FixedProto.FixedDuration> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.expression.proto.FixedProto.FixedDuration.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.expression.proto.FixedProto.FixedDuration>(
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.expression.proto.FixedDuration)
private static final androidx.wear.protolayout.expression.proto.FixedProto.FixedDuration DEFAULT_INSTANCE;
static {
FixedDuration defaultInstance = new FixedDuration();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FixedDuration.class, defaultInstance);
}
public static androidx.wear.protolayout.expression.proto.FixedProto.FixedDuration getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<FixedDuration> PARSER;
public static com.google.protobuf.Parser<FixedDuration> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}