public final class

DimensionProto.DegreesProp

extends <any>

implements DimensionProto.DegreesPropOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.DimensionProto.DegreesProp

Overview

 A type for angular dimensions, measured in degrees.
 
Protobuf type androidx.wear.protolayout.proto.DegreesProp

Summary

Fields
public static final intANGULAR_ALIGNMENT_FOR_LAYOUT_FIELD_NUMBER

public static final intDYNAMIC_VALUE_FIELD_NUMBER

public static final intVALUE_FIELD_NUMBER

public static final intVALUE_FOR_LAYOUT_FIELD_NUMBER

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

public AlignmentProto.AngularAlignmentgetAngularAlignmentForLayout()

 Angular alignment of the actual content within the space reserved by
 value_for_layout.

public intgetAngularAlignmentForLayoutValue()

 Angular alignment of the actual content within the space reserved by
 value_for_layout.

public static DimensionProto.DegreesPropgetDefaultInstance()

public DynamicProto.DynamicFloatgetDynamicValue()

 The dynamic value, in degrees.

public DimensionProto.DegreesProp.OptionalValueCasegetOptionalValueCase()

public DimensionProto.DegreesProp.OptionalValueForLayoutCasegetOptionalValueForLayoutCase()

public floatgetValue()

 The static value, in degrees.

public floatgetValueForLayout()

 The fixed value to reserve the space when used on a layout-changing data
 bind.

public booleanhasDynamicValue()

 The dynamic value, in degrees.

public booleanhasValue()

 The static value, in degrees.

public booleanhasValueForLayout()

 The fixed value to reserve the space when used on a layout-changing data
 bind.

public static DimensionProto.DegreesProp.BuildernewBuilder()

public static DimensionProto.DegreesProp.BuildernewBuilder(DimensionProto.DegreesProp prototype)

public static DimensionProto.DegreesPropparseDelimitedFrom(java.io.InputStream input)

public static DimensionProto.DegreesPropparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DimensionProto.DegreesPropparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DimensionProto.DegreesPropparseFrom(java.nio.ByteBuffer data)

public static DimensionProto.DegreesPropparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DimensionProto.DegreesPropparseFrom(com.google.protobuf.ByteString data)

public static DimensionProto.DegreesPropparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DimensionProto.DegreesPropparseFrom(com.google.protobuf.CodedInputStream input)

public static DimensionProto.DegreesPropparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DimensionProto.DegreesPropparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int VALUE_FIELD_NUMBER

public static final int DYNAMIC_VALUE_FIELD_NUMBER

public static final int VALUE_FOR_LAYOUT_FIELD_NUMBER

public static final int ANGULAR_ALIGNMENT_FOR_LAYOUT_FIELD_NUMBER

Methods

public DimensionProto.DegreesProp.OptionalValueCase getOptionalValueCase()

public DimensionProto.DegreesProp.OptionalValueForLayoutCase getOptionalValueForLayoutCase()

public boolean hasValue()

 The static value, in degrees. If a dynamic value is also set and the
 renderer supports dynamic values for the corresponding field, this static
 value will be ignored. If the static value is not specified, zero will be
 used instead.
 
float value = 1;

Returns:

Whether the value field is set.

public float getValue()

 The static value, in degrees. If a dynamic value is also set and the
 renderer supports dynamic values for the corresponding field, this static
 value will be ignored. If the static value is not specified, zero will be
 used instead.
 
float value = 1;

Returns:

The value.

public boolean hasDynamicValue()

 The dynamic value, in degrees. Note that when setting this value, the
 static value is still required to be set to support older renderers that
 only read the static value. If {@code dynamicValue} has an invalid result,
 the provided static value will be used instead.
 
.androidx.wear.protolayout.expression.proto.DynamicFloat dynamic_value = 2;

public DynamicProto.DynamicFloat getDynamicValue()

 The dynamic value, in degrees. Note that when setting this value, the
 static value is still required to be set to support older renderers that
 only read the static value. If {@code dynamicValue} has an invalid result,
 the provided static value will be used instead.
 
.androidx.wear.protolayout.expression.proto.DynamicFloat dynamic_value = 2;

public boolean hasValueForLayout()

 The fixed value to reserve the space when used on a layout-changing data
 bind.
 
float value_for_layout = 3;

Returns:

Whether the valueForLayout field is set.

public float getValueForLayout()

 The fixed value to reserve the space when used on a layout-changing data
 bind.
 
float value_for_layout = 3;

Returns:

The valueForLayout.

public int getAngularAlignmentForLayoutValue()

 Angular alignment of the actual content within the space reserved by
 value_for_layout. If not specified, defaults to center alignment.
 
.androidx.wear.protolayout.proto.AngularAlignment angular_alignment_for_layout = 4;

Returns:

The enum numeric value on the wire for angularAlignmentForLayout.

public AlignmentProto.AngularAlignment getAngularAlignmentForLayout()

 Angular alignment of the actual content within the space reserved by
 value_for_layout. If not specified, defaults to center alignment.
 
.androidx.wear.protolayout.proto.AngularAlignment angular_alignment_for_layout = 4;

Returns:

The angularAlignmentForLayout.

public static DimensionProto.DegreesProp parseFrom(java.nio.ByteBuffer data)

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

public static DimensionProto.DegreesProp parseFrom(com.google.protobuf.ByteString data)

public static DimensionProto.DegreesProp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static DimensionProto.DegreesProp parseDelimitedFrom(java.io.InputStream input)

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

public static DimensionProto.DegreesProp parseFrom(com.google.protobuf.CodedInputStream input)

public static DimensionProto.DegreesProp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DimensionProto.DegreesProp.Builder newBuilder()

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

public static DimensionProto.DegreesProp getDefaultInstance()

public static <any> parser()