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: alignment.proto
package androidx.wear.protolayout.proto;
public final class AlignmentProto {
private AlignmentProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
/**
* <pre>
* The horizontal alignment of an element within its container.
* </pre>
*
* Protobuf enum {@code androidx.wear.protolayout.proto.HorizontalAlignment}
*/
public enum HorizontalAlignment
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Horizontal alignment is undefined.
* </pre>
*
* <code>HORIZONTAL_ALIGN_UNDEFINED = 0;</code>
*/
HORIZONTAL_ALIGN_UNDEFINED(0),
/**
* <pre>
* Horizontally align to the left.
* </pre>
*
* <code>HORIZONTAL_ALIGN_LEFT = 1;</code>
*/
HORIZONTAL_ALIGN_LEFT(1),
/**
* <pre>
* Horizontally align to center.
* </pre>
*
* <code>HORIZONTAL_ALIGN_CENTER = 2;</code>
*/
HORIZONTAL_ALIGN_CENTER(2),
/**
* <pre>
* Horizontally align to the right.
* </pre>
*
* <code>HORIZONTAL_ALIGN_RIGHT = 3;</code>
*/
HORIZONTAL_ALIGN_RIGHT(3),
/**
* <pre>
* Horizontally align to the content start (left in LTR layouts, right in RTL
* layouts).
* </pre>
*
* <code>HORIZONTAL_ALIGN_START = 4;</code>
*/
HORIZONTAL_ALIGN_START(4),
/**
* <pre>
* Horizontally align to the content end (right in LTR layouts, left in RTL
* layouts).
* </pre>
*
* <code>HORIZONTAL_ALIGN_END = 5;</code>
*/
HORIZONTAL_ALIGN_END(5),
UNRECOGNIZED(-1),
;
/**
* <pre>
* Horizontal alignment is undefined.
* </pre>
*
* <code>HORIZONTAL_ALIGN_UNDEFINED = 0;</code>
*/
public static final int HORIZONTAL_ALIGN_UNDEFINED_VALUE = 0;
/**
* <pre>
* Horizontally align to the left.
* </pre>
*
* <code>HORIZONTAL_ALIGN_LEFT = 1;</code>
*/
public static final int HORIZONTAL_ALIGN_LEFT_VALUE = 1;
/**
* <pre>
* Horizontally align to center.
* </pre>
*
* <code>HORIZONTAL_ALIGN_CENTER = 2;</code>
*/
public static final int HORIZONTAL_ALIGN_CENTER_VALUE = 2;
/**
* <pre>
* Horizontally align to the right.
* </pre>
*
* <code>HORIZONTAL_ALIGN_RIGHT = 3;</code>
*/
public static final int HORIZONTAL_ALIGN_RIGHT_VALUE = 3;
/**
* <pre>
* Horizontally align to the content start (left in LTR layouts, right in RTL
* layouts).
* </pre>
*
* <code>HORIZONTAL_ALIGN_START = 4;</code>
*/
public static final int HORIZONTAL_ALIGN_START_VALUE = 4;
/**
* <pre>
* Horizontally align to the content end (right in LTR layouts, left in RTL
* layouts).
* </pre>
*
* <code>HORIZONTAL_ALIGN_END = 5;</code>
*/
public static final int HORIZONTAL_ALIGN_END_VALUE = 5;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static HorizontalAlignment valueOf(int value) {
return forNumber(value);
}
public static HorizontalAlignment forNumber(int value) {
switch (value) {
case 0: return HORIZONTAL_ALIGN_UNDEFINED;
case 1: return HORIZONTAL_ALIGN_LEFT;
case 2: return HORIZONTAL_ALIGN_CENTER;
case 3: return HORIZONTAL_ALIGN_RIGHT;
case 4: return HORIZONTAL_ALIGN_START;
case 5: return HORIZONTAL_ALIGN_END;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<HorizontalAlignment>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
HorizontalAlignment> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<HorizontalAlignment>() {
@java.lang.Override
public HorizontalAlignment findValueByNumber(int number) {
return HorizontalAlignment.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return HorizontalAlignmentVerifier.INSTANCE;
}
private static final class HorizontalAlignmentVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new HorizontalAlignmentVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return HorizontalAlignment.forNumber(number) != null;
}
};
private final int value;
private HorizontalAlignment(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:androidx.wear.protolayout.proto.HorizontalAlignment)
}
/**
* <pre>
* The vertical alignment of an element within its container.
* </pre>
*
* Protobuf enum {@code androidx.wear.protolayout.proto.VerticalAlignment}
*/
public enum VerticalAlignment
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Vertical alignment is undefined.
* </pre>
*
* <code>VERTICAL_ALIGN_UNDEFINED = 0;</code>
*/
VERTICAL_ALIGN_UNDEFINED(0),
/**
* <pre>
* Vertically align to the top.
* </pre>
*
* <code>VERTICAL_ALIGN_TOP = 1;</code>
*/
VERTICAL_ALIGN_TOP(1),
/**
* <pre>
* Vertically align to center.
* </pre>
*
* <code>VERTICAL_ALIGN_CENTER = 2;</code>
*/
VERTICAL_ALIGN_CENTER(2),
/**
* <pre>
* Vertically align to the bottom.
* </pre>
*
* <code>VERTICAL_ALIGN_BOTTOM = 3;</code>
*/
VERTICAL_ALIGN_BOTTOM(3),
UNRECOGNIZED(-1),
;
/**
* <pre>
* Vertical alignment is undefined.
* </pre>
*
* <code>VERTICAL_ALIGN_UNDEFINED = 0;</code>
*/
public static final int VERTICAL_ALIGN_UNDEFINED_VALUE = 0;
/**
* <pre>
* Vertically align to the top.
* </pre>
*
* <code>VERTICAL_ALIGN_TOP = 1;</code>
*/
public static final int VERTICAL_ALIGN_TOP_VALUE = 1;
/**
* <pre>
* Vertically align to center.
* </pre>
*
* <code>VERTICAL_ALIGN_CENTER = 2;</code>
*/
public static final int VERTICAL_ALIGN_CENTER_VALUE = 2;
/**
* <pre>
* Vertically align to the bottom.
* </pre>
*
* <code>VERTICAL_ALIGN_BOTTOM = 3;</code>
*/
public static final int VERTICAL_ALIGN_BOTTOM_VALUE = 3;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static VerticalAlignment valueOf(int value) {
return forNumber(value);
}
public static VerticalAlignment forNumber(int value) {
switch (value) {
case 0: return VERTICAL_ALIGN_UNDEFINED;
case 1: return VERTICAL_ALIGN_TOP;
case 2: return VERTICAL_ALIGN_CENTER;
case 3: return VERTICAL_ALIGN_BOTTOM;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<VerticalAlignment>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
VerticalAlignment> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<VerticalAlignment>() {
@java.lang.Override
public VerticalAlignment findValueByNumber(int number) {
return VerticalAlignment.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return VerticalAlignmentVerifier.INSTANCE;
}
private static final class VerticalAlignmentVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new VerticalAlignmentVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return VerticalAlignment.forNumber(number) != null;
}
};
private final int value;
private VerticalAlignment(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:androidx.wear.protolayout.proto.VerticalAlignment)
}
/**
* <pre>
* Alignment of a text element.
* </pre>
*
* Protobuf enum {@code androidx.wear.protolayout.proto.TextAlignment}
*/
public enum TextAlignment
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Alignment is undefined.
* </pre>
*
* <code>TEXT_ALIGN_UNDEFINED = 0;</code>
*/
TEXT_ALIGN_UNDEFINED(0),
/**
* <pre>
* Align to the "start" of the Text element (left in LTR layouts, right in
* RTL layouts).
* </pre>
*
* <code>TEXT_ALIGN_START = 1;</code>
*/
TEXT_ALIGN_START(1),
/**
* <pre>
* Align to the center of the Text element.
* </pre>
*
* <code>TEXT_ALIGN_CENTER = 2;</code>
*/
TEXT_ALIGN_CENTER(2),
/**
* <pre>
* Align to the "end" of the Text element (right in LTR layouts, left in RTL
* layouts).
* </pre>
*
* <code>TEXT_ALIGN_END = 3;</code>
*/
TEXT_ALIGN_END(3),
UNRECOGNIZED(-1),
;
/**
* <pre>
* Alignment is undefined.
* </pre>
*
* <code>TEXT_ALIGN_UNDEFINED = 0;</code>
*/
public static final int TEXT_ALIGN_UNDEFINED_VALUE = 0;
/**
* <pre>
* Align to the "start" of the Text element (left in LTR layouts, right in
* RTL layouts).
* </pre>
*
* <code>TEXT_ALIGN_START = 1;</code>
*/
public static final int TEXT_ALIGN_START_VALUE = 1;
/**
* <pre>
* Align to the center of the Text element.
* </pre>
*
* <code>TEXT_ALIGN_CENTER = 2;</code>
*/
public static final int TEXT_ALIGN_CENTER_VALUE = 2;
/**
* <pre>
* Align to the "end" of the Text element (right in LTR layouts, left in RTL
* layouts).
* </pre>
*
* <code>TEXT_ALIGN_END = 3;</code>
*/
public static final int TEXT_ALIGN_END_VALUE = 3;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TextAlignment valueOf(int value) {
return forNumber(value);
}
public static TextAlignment forNumber(int value) {
switch (value) {
case 0: return TEXT_ALIGN_UNDEFINED;
case 1: return TEXT_ALIGN_START;
case 2: return TEXT_ALIGN_CENTER;
case 3: return TEXT_ALIGN_END;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<TextAlignment>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
TextAlignment> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<TextAlignment>() {
@java.lang.Override
public TextAlignment findValueByNumber(int number) {
return TextAlignment.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return TextAlignmentVerifier.INSTANCE;
}
private static final class TextAlignmentVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new TextAlignmentVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return TextAlignment.forNumber(number) != null;
}
};
private final int value;
private TextAlignment(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:androidx.wear.protolayout.proto.TextAlignment)
}
/**
* <pre>
* The anchor position of an Arc's elements. This is used to specify how
* elements added to an Arc should be laid out with respect to anchor_angle.
*
* As an example, assume that the following diagrams are wrapped to an arc, and
* each represents an Arc element containing a single Text element. The Text
* element's anchor_angle is "0" for all cases.
*
* ```
* ARC_ANCHOR_START:
* -180 0 180
* Hello World!
*
*
* ARC_ANCHOR_CENTER:
* -180 0 180
* Hello World!
*
* ARC_ANCHOR_END:
* -180 0 180
* Hello World!
* ```
* </pre>
*
* Protobuf enum {@code androidx.wear.protolayout.proto.ArcAnchorType}
*/
public enum ArcAnchorType
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Anchor position is undefined.
* </pre>
*
* <code>ARC_ANCHOR_UNDEFINED = 0;</code>
*/
ARC_ANCHOR_UNDEFINED(0),
/**
* <pre>
* Anchor at the start of the elements. This will cause elements added to an
* arc to begin at the given anchor_angle, and sweep around to the right.
* </pre>
*
* <code>ARC_ANCHOR_START = 1;</code>
*/
ARC_ANCHOR_START(1),
/**
* <pre>
* Anchor at the center of the elements. This will cause the center of the
* whole set of elements added to an arc to be pinned at the given
* anchor_angle.
* </pre>
*
* <code>ARC_ANCHOR_CENTER = 2;</code>
*/
ARC_ANCHOR_CENTER(2),
/**
* <pre>
* Anchor at the end of the elements. This will cause the set of elements
* inside the arc to end at the specified anchor_angle, i.e. all elements
* should be to the left of anchor_angle.
* </pre>
*
* <code>ARC_ANCHOR_END = 3;</code>
*/
ARC_ANCHOR_END(3),
UNRECOGNIZED(-1),
;
/**
* <pre>
* Anchor position is undefined.
* </pre>
*
* <code>ARC_ANCHOR_UNDEFINED = 0;</code>
*/
public static final int ARC_ANCHOR_UNDEFINED_VALUE = 0;
/**
* <pre>
* Anchor at the start of the elements. This will cause elements added to an
* arc to begin at the given anchor_angle, and sweep around to the right.
* </pre>
*
* <code>ARC_ANCHOR_START = 1;</code>
*/
public static final int ARC_ANCHOR_START_VALUE = 1;
/**
* <pre>
* Anchor at the center of the elements. This will cause the center of the
* whole set of elements added to an arc to be pinned at the given
* anchor_angle.
* </pre>
*
* <code>ARC_ANCHOR_CENTER = 2;</code>
*/
public static final int ARC_ANCHOR_CENTER_VALUE = 2;
/**
* <pre>
* Anchor at the end of the elements. This will cause the set of elements
* inside the arc to end at the specified anchor_angle, i.e. all elements
* should be to the left of anchor_angle.
* </pre>
*
* <code>ARC_ANCHOR_END = 3;</code>
*/
public static final int ARC_ANCHOR_END_VALUE = 3;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ArcAnchorType valueOf(int value) {
return forNumber(value);
}
public static ArcAnchorType forNumber(int value) {
switch (value) {
case 0: return ARC_ANCHOR_UNDEFINED;
case 1: return ARC_ANCHOR_START;
case 2: return ARC_ANCHOR_CENTER;
case 3: return ARC_ANCHOR_END;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ArcAnchorType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ArcAnchorType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ArcAnchorType>() {
@java.lang.Override
public ArcAnchorType findValueByNumber(int number) {
return ArcAnchorType.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return ArcAnchorTypeVerifier.INSTANCE;
}
private static final class ArcAnchorTypeVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new ArcAnchorTypeVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return ArcAnchorType.forNumber(number) != null;
}
};
private final int value;
private ArcAnchorType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:androidx.wear.protolayout.proto.ArcAnchorType)
}
/**
* <pre>
* How to lay out components in a Arc context when they are smaller than their
* container. This would be similar to HorizontalAlignment in a Box or Column.
* </pre>
*
* Protobuf enum {@code androidx.wear.protolayout.proto.AngularAlignment}
*/
public enum AngularAlignment
implements com.google.protobuf.Internal.EnumLite {
/**
* <pre>
* Angular alignment is undefined.
* </pre>
*
* <code>ANGULAR_ALIGNMENT_UNDEFINED = 0;</code>
*/
ANGULAR_ALIGNMENT_UNDEFINED(0),
/**
* <pre>
* Align to the start of the container. As an example, if the container
* starts at 90 degrees and has 180 degrees of sweep, the element within
* would draw from 90 degrees, clockwise.
* </pre>
*
* <code>ANGULAR_ALIGNMENT_START = 1;</code>
*/
ANGULAR_ALIGNMENT_START(1),
/**
* <pre>
* Align to the center of the container. As an example, if the container
* starts at 90 degrees, and has 180 degrees of sweep, and the contained
* element has 90 degrees of sweep, the element would draw between 135 and
* 225 degrees.
* </pre>
*
* <code>ANGULAR_ALIGNMENT_CENTER = 2;</code>
*/
ANGULAR_ALIGNMENT_CENTER(2),
/**
* <pre>
* Align to the end of the container. As an example, if the container
* starts at 90 degrees and has 180 degrees of sweep, and the contained
* element has 90 degrees of sweep, the element would draw between 180 and 270
* degrees.
* </pre>
*
* <code>ANGULAR_ALIGNMENT_END = 3;</code>
*/
ANGULAR_ALIGNMENT_END(3),
UNRECOGNIZED(-1),
;
/**
* <pre>
* Angular alignment is undefined.
* </pre>
*
* <code>ANGULAR_ALIGNMENT_UNDEFINED = 0;</code>
*/
public static final int ANGULAR_ALIGNMENT_UNDEFINED_VALUE = 0;
/**
* <pre>
* Align to the start of the container. As an example, if the container
* starts at 90 degrees and has 180 degrees of sweep, the element within
* would draw from 90 degrees, clockwise.
* </pre>
*
* <code>ANGULAR_ALIGNMENT_START = 1;</code>
*/
public static final int ANGULAR_ALIGNMENT_START_VALUE = 1;
/**
* <pre>
* Align to the center of the container. As an example, if the container
* starts at 90 degrees, and has 180 degrees of sweep, and the contained
* element has 90 degrees of sweep, the element would draw between 135 and
* 225 degrees.
* </pre>
*
* <code>ANGULAR_ALIGNMENT_CENTER = 2;</code>
*/
public static final int ANGULAR_ALIGNMENT_CENTER_VALUE = 2;
/**
* <pre>
* Align to the end of the container. As an example, if the container
* starts at 90 degrees and has 180 degrees of sweep, and the contained
* element has 90 degrees of sweep, the element would draw between 180 and 270
* degrees.
* </pre>
*
* <code>ANGULAR_ALIGNMENT_END = 3;</code>
*/
public static final int ANGULAR_ALIGNMENT_END_VALUE = 3;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AngularAlignment valueOf(int value) {
return forNumber(value);
}
public static AngularAlignment forNumber(int value) {
switch (value) {
case 0: return ANGULAR_ALIGNMENT_UNDEFINED;
case 1: return ANGULAR_ALIGNMENT_START;
case 2: return ANGULAR_ALIGNMENT_CENTER;
case 3: return ANGULAR_ALIGNMENT_END;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<AngularAlignment>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
AngularAlignment> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<AngularAlignment>() {
@java.lang.Override
public AngularAlignment findValueByNumber(int number) {
return AngularAlignment.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return AngularAlignmentVerifier.INSTANCE;
}
private static final class AngularAlignmentVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new AngularAlignmentVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return AngularAlignment.forNumber(number) != null;
}
};
private final int value;
private AngularAlignment(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:androidx.wear.protolayout.proto.AngularAlignment)
}
public interface HorizontalAlignmentPropOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.HorizontalAlignmentProp)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The value
* </pre>
*
* <code>.androidx.wear.protolayout.proto.HorizontalAlignment value = 1;</code>
* @return The enum numeric value on the wire for value.
*/
int getValueValue();
/**
* <pre>
* The value
* </pre>
*
* <code>.androidx.wear.protolayout.proto.HorizontalAlignment value = 1;</code>
* @return The value.
*/
androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignment getValue();
}
/**
* <pre>
* An extensible HorizontalAlignment property.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.HorizontalAlignmentProp}
*/
public static final class HorizontalAlignmentProp extends
com.google.protobuf.GeneratedMessageLite<
HorizontalAlignmentProp, HorizontalAlignmentProp.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.HorizontalAlignmentProp)
HorizontalAlignmentPropOrBuilder {
private HorizontalAlignmentProp() {
}
public static final int VALUE_FIELD_NUMBER = 1;
private int value_;
/**
* <pre>
* The value
* </pre>
*
* <code>.androidx.wear.protolayout.proto.HorizontalAlignment value = 1;</code>
* @return The enum numeric value on the wire for value.
*/
@java.lang.Override
public int getValueValue() {
return value_;
}
/**
* <pre>
* The value
* </pre>
*
* <code>.androidx.wear.protolayout.proto.HorizontalAlignment value = 1;</code>
* @return The value.
*/
@java.lang.Override
public androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignment getValue() {
androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignment result = androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignment.forNumber(value_);
return result == null ? androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignment.UNRECOGNIZED : result;
}
/**
* <pre>
* The value
* </pre>
*
* <code>.androidx.wear.protolayout.proto.HorizontalAlignment value = 1;</code>
* @param value The enum numeric value on the wire for value to set.
*/
private void setValueValue(int value) {
value_ = value;
}
/**
* <pre>
* The value
* </pre>
*
* <code>.androidx.wear.protolayout.proto.HorizontalAlignment value = 1;</code>
* @param value The value to set.
*/
private void setValue(androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignment value) {
value_ = value.getNumber();
}
/**
* <pre>
* The value
* </pre>
*
* <code>.androidx.wear.protolayout.proto.HorizontalAlignment value = 1;</code>
*/
private void clearValue() {
value_ = 0;
}
public static androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignmentProp 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.AlignmentProto.HorizontalAlignmentProp 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.AlignmentProto.HorizontalAlignmentProp 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.AlignmentProto.HorizontalAlignmentProp 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.AlignmentProto.HorizontalAlignmentProp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignmentProp 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.AlignmentProto.HorizontalAlignmentProp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignmentProp 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.AlignmentProto.HorizontalAlignmentProp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignmentProp 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.AlignmentProto.HorizontalAlignmentProp 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.AlignmentProto.HorizontalAlignmentProp 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.AlignmentProto.HorizontalAlignmentProp prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* An extensible HorizontalAlignment property.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.HorizontalAlignmentProp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignmentProp, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.HorizontalAlignmentProp)
androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignmentPropOrBuilder {
// Construct using androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignmentProp.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The value
* </pre>
*
* <code>.androidx.wear.protolayout.proto.HorizontalAlignment value = 1;</code>
* @return The enum numeric value on the wire for value.
*/
@java.lang.Override
public int getValueValue() {
return instance.getValueValue();
}
/**
* <pre>
* The value
* </pre>
*
* <code>.androidx.wear.protolayout.proto.HorizontalAlignment value = 1;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValueValue(int value) {
copyOnWrite();
instance.setValueValue(value);
return this;
}
/**
* <pre>
* The value
* </pre>
*
* <code>.androidx.wear.protolayout.proto.HorizontalAlignment value = 1;</code>
* @return The value.
*/
@java.lang.Override
public androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignment getValue() {
return instance.getValue();
}
/**
* <pre>
* The value
* </pre>
*
* <code>.androidx.wear.protolayout.proto.HorizontalAlignment value = 1;</code>
* @param value The enum numeric value on the wire for value to set.
* @return This builder for chaining.
*/
public Builder setValue(androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignment value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* The value
* </pre>
*
* <code>.androidx.wear.protolayout.proto.HorizontalAlignment 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.HorizontalAlignmentProp)
}
@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.AlignmentProto.HorizontalAlignmentProp();
}
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\f";
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.AlignmentProto.HorizontalAlignmentProp> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignmentProp.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignmentProp>(
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.HorizontalAlignmentProp)
private static final androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignmentProp DEFAULT_INSTANCE;
static {
HorizontalAlignmentProp defaultInstance = new HorizontalAlignmentProp();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
HorizontalAlignmentProp.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.AlignmentProto.HorizontalAlignmentProp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<HorizontalAlignmentProp> PARSER;
public static com.google.protobuf.Parser<HorizontalAlignmentProp> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface VerticalAlignmentPropOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.VerticalAlignmentProp)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.VerticalAlignment value = 1;</code>
* @return The enum numeric value on the wire for value.
*/
int getValueValue();
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.VerticalAlignment value = 1;</code>
* @return The value.
*/
androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignment getValue();
}
/**
* <pre>
* An extensible VerticalAlignment property.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.VerticalAlignmentProp}
*/
public static final class VerticalAlignmentProp extends
com.google.protobuf.GeneratedMessageLite<
VerticalAlignmentProp, VerticalAlignmentProp.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.VerticalAlignmentProp)
VerticalAlignmentPropOrBuilder {
private VerticalAlignmentProp() {
}
public static final int VALUE_FIELD_NUMBER = 1;
private int value_;
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.VerticalAlignment value = 1;</code>
* @return The enum numeric value on the wire for value.
*/
@java.lang.Override
public int getValueValue() {
return value_;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.VerticalAlignment value = 1;</code>
* @return The value.
*/
@java.lang.Override
public androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignment getValue() {
androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignment result = androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignment.forNumber(value_);
return result == null ? androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignment.UNRECOGNIZED : result;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.VerticalAlignment value = 1;</code>
* @param value The enum numeric value on the wire for value to set.
*/
private void setValueValue(int value) {
value_ = value;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.VerticalAlignment value = 1;</code>
* @param value The value to set.
*/
private void setValue(androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignment value) {
value_ = value.getNumber();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.VerticalAlignment value = 1;</code>
*/
private void clearValue() {
value_ = 0;
}
public static androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignmentProp 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.AlignmentProto.VerticalAlignmentProp 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.AlignmentProto.VerticalAlignmentProp 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.AlignmentProto.VerticalAlignmentProp 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.AlignmentProto.VerticalAlignmentProp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignmentProp 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.AlignmentProto.VerticalAlignmentProp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignmentProp 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.AlignmentProto.VerticalAlignmentProp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignmentProp 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.AlignmentProto.VerticalAlignmentProp 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.AlignmentProto.VerticalAlignmentProp 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.AlignmentProto.VerticalAlignmentProp prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* An extensible VerticalAlignment property.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.VerticalAlignmentProp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignmentProp, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.VerticalAlignmentProp)
androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignmentPropOrBuilder {
// Construct using androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignmentProp.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.VerticalAlignment value = 1;</code>
* @return The enum numeric value on the wire for value.
*/
@java.lang.Override
public int getValueValue() {
return instance.getValueValue();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.VerticalAlignment value = 1;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValueValue(int value) {
copyOnWrite();
instance.setValueValue(value);
return this;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.VerticalAlignment value = 1;</code>
* @return The value.
*/
@java.lang.Override
public androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignment getValue() {
return instance.getValue();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.VerticalAlignment value = 1;</code>
* @param value The enum numeric value on the wire for value to set.
* @return This builder for chaining.
*/
public Builder setValue(androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignment value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.VerticalAlignment 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.VerticalAlignmentProp)
}
@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.AlignmentProto.VerticalAlignmentProp();
}
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\f";
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.AlignmentProto.VerticalAlignmentProp> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignmentProp.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignmentProp>(
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.VerticalAlignmentProp)
private static final androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignmentProp DEFAULT_INSTANCE;
static {
VerticalAlignmentProp defaultInstance = new VerticalAlignmentProp();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
VerticalAlignmentProp.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.AlignmentProto.VerticalAlignmentProp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<VerticalAlignmentProp> PARSER;
public static com.google.protobuf.Parser<VerticalAlignmentProp> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface TextAlignmentPropOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.TextAlignmentProp)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.TextAlignment value = 1;</code>
* @return The enum numeric value on the wire for value.
*/
int getValueValue();
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.TextAlignment value = 1;</code>
* @return The value.
*/
androidx.wear.protolayout.proto.AlignmentProto.TextAlignment getValue();
}
/**
* <pre>
* An extensible TextAlignment property.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.TextAlignmentProp}
*/
public static final class TextAlignmentProp extends
com.google.protobuf.GeneratedMessageLite<
TextAlignmentProp, TextAlignmentProp.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.TextAlignmentProp)
TextAlignmentPropOrBuilder {
private TextAlignmentProp() {
}
public static final int VALUE_FIELD_NUMBER = 1;
private int value_;
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.TextAlignment value = 1;</code>
* @return The enum numeric value on the wire for value.
*/
@java.lang.Override
public int getValueValue() {
return value_;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.TextAlignment value = 1;</code>
* @return The value.
*/
@java.lang.Override
public androidx.wear.protolayout.proto.AlignmentProto.TextAlignment getValue() {
androidx.wear.protolayout.proto.AlignmentProto.TextAlignment result = androidx.wear.protolayout.proto.AlignmentProto.TextAlignment.forNumber(value_);
return result == null ? androidx.wear.protolayout.proto.AlignmentProto.TextAlignment.UNRECOGNIZED : result;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.TextAlignment value = 1;</code>
* @param value The enum numeric value on the wire for value to set.
*/
private void setValueValue(int value) {
value_ = value;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.TextAlignment value = 1;</code>
* @param value The value to set.
*/
private void setValue(androidx.wear.protolayout.proto.AlignmentProto.TextAlignment value) {
value_ = value.getNumber();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.TextAlignment value = 1;</code>
*/
private void clearValue() {
value_ = 0;
}
public static androidx.wear.protolayout.proto.AlignmentProto.TextAlignmentProp 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.AlignmentProto.TextAlignmentProp 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.AlignmentProto.TextAlignmentProp 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.AlignmentProto.TextAlignmentProp 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.AlignmentProto.TextAlignmentProp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.AlignmentProto.TextAlignmentProp 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.AlignmentProto.TextAlignmentProp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.AlignmentProto.TextAlignmentProp 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.AlignmentProto.TextAlignmentProp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.AlignmentProto.TextAlignmentProp 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.AlignmentProto.TextAlignmentProp 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.AlignmentProto.TextAlignmentProp 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.AlignmentProto.TextAlignmentProp prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* An extensible TextAlignment property.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.TextAlignmentProp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.AlignmentProto.TextAlignmentProp, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.TextAlignmentProp)
androidx.wear.protolayout.proto.AlignmentProto.TextAlignmentPropOrBuilder {
// Construct using androidx.wear.protolayout.proto.AlignmentProto.TextAlignmentProp.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.TextAlignment value = 1;</code>
* @return The enum numeric value on the wire for value.
*/
@java.lang.Override
public int getValueValue() {
return instance.getValueValue();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.TextAlignment value = 1;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValueValue(int value) {
copyOnWrite();
instance.setValueValue(value);
return this;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.TextAlignment value = 1;</code>
* @return The value.
*/
@java.lang.Override
public androidx.wear.protolayout.proto.AlignmentProto.TextAlignment getValue() {
return instance.getValue();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.TextAlignment value = 1;</code>
* @param value The enum numeric value on the wire for value to set.
* @return This builder for chaining.
*/
public Builder setValue(androidx.wear.protolayout.proto.AlignmentProto.TextAlignment value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.TextAlignment 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.TextAlignmentProp)
}
@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.AlignmentProto.TextAlignmentProp();
}
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\f";
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.AlignmentProto.TextAlignmentProp> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.AlignmentProto.TextAlignmentProp.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.AlignmentProto.TextAlignmentProp>(
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.TextAlignmentProp)
private static final androidx.wear.protolayout.proto.AlignmentProto.TextAlignmentProp DEFAULT_INSTANCE;
static {
TextAlignmentProp defaultInstance = new TextAlignmentProp();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
TextAlignmentProp.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.AlignmentProto.TextAlignmentProp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<TextAlignmentProp> PARSER;
public static com.google.protobuf.Parser<TextAlignmentProp> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ArcAnchorTypePropOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.wear.protolayout.proto.ArcAnchorTypeProp)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.ArcAnchorType value = 1;</code>
* @return The enum numeric value on the wire for value.
*/
int getValueValue();
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.ArcAnchorType value = 1;</code>
* @return The value.
*/
androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorType getValue();
}
/**
* <pre>
* An extensible ArcAnchorType property.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.ArcAnchorTypeProp}
*/
public static final class ArcAnchorTypeProp extends
com.google.protobuf.GeneratedMessageLite<
ArcAnchorTypeProp, ArcAnchorTypeProp.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.wear.protolayout.proto.ArcAnchorTypeProp)
ArcAnchorTypePropOrBuilder {
private ArcAnchorTypeProp() {
}
public static final int VALUE_FIELD_NUMBER = 1;
private int value_;
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.ArcAnchorType value = 1;</code>
* @return The enum numeric value on the wire for value.
*/
@java.lang.Override
public int getValueValue() {
return value_;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.ArcAnchorType value = 1;</code>
* @return The value.
*/
@java.lang.Override
public androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorType getValue() {
androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorType result = androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorType.forNumber(value_);
return result == null ? androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorType.UNRECOGNIZED : result;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.ArcAnchorType value = 1;</code>
* @param value The enum numeric value on the wire for value to set.
*/
private void setValueValue(int value) {
value_ = value;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.ArcAnchorType value = 1;</code>
* @param value The value to set.
*/
private void setValue(androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorType value) {
value_ = value.getNumber();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.ArcAnchorType value = 1;</code>
*/
private void clearValue() {
value_ = 0;
}
public static androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorTypeProp 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.AlignmentProto.ArcAnchorTypeProp 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.AlignmentProto.ArcAnchorTypeProp 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.AlignmentProto.ArcAnchorTypeProp 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.AlignmentProto.ArcAnchorTypeProp parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorTypeProp 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.AlignmentProto.ArcAnchorTypeProp parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorTypeProp 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.AlignmentProto.ArcAnchorTypeProp parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorTypeProp 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.AlignmentProto.ArcAnchorTypeProp 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.AlignmentProto.ArcAnchorTypeProp 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.AlignmentProto.ArcAnchorTypeProp prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* <pre>
* An extensible ArcAnchorType property.
* </pre>
*
* Protobuf type {@code androidx.wear.protolayout.proto.ArcAnchorTypeProp}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorTypeProp, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.wear.protolayout.proto.ArcAnchorTypeProp)
androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorTypePropOrBuilder {
// Construct using androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorTypeProp.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.ArcAnchorType value = 1;</code>
* @return The enum numeric value on the wire for value.
*/
@java.lang.Override
public int getValueValue() {
return instance.getValueValue();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.ArcAnchorType value = 1;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValueValue(int value) {
copyOnWrite();
instance.setValueValue(value);
return this;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.ArcAnchorType value = 1;</code>
* @return The value.
*/
@java.lang.Override
public androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorType getValue() {
return instance.getValue();
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.ArcAnchorType value = 1;</code>
* @param value The enum numeric value on the wire for value to set.
* @return This builder for chaining.
*/
public Builder setValue(androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorType value) {
copyOnWrite();
instance.setValue(value);
return this;
}
/**
* <pre>
* The value.
* </pre>
*
* <code>.androidx.wear.protolayout.proto.ArcAnchorType 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.ArcAnchorTypeProp)
}
@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.AlignmentProto.ArcAnchorTypeProp();
}
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\f";
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.AlignmentProto.ArcAnchorTypeProp> parser = PARSER;
if (parser == null) {
synchronized (androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorTypeProp.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorTypeProp>(
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.ArcAnchorTypeProp)
private static final androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorTypeProp DEFAULT_INSTANCE;
static {
ArcAnchorTypeProp defaultInstance = new ArcAnchorTypeProp();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ArcAnchorTypeProp.class, defaultInstance);
}
public static androidx.wear.protolayout.proto.AlignmentProto.ArcAnchorTypeProp getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<ArcAnchorTypeProp> PARSER;
public static com.google.protobuf.Parser<ArcAnchorTypeProp> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}