public final class

LayoutElementProto.ArcSpacer

extends <any>

implements LayoutElementProto.ArcSpacerOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.LayoutElementProto.ArcSpacer

Overview

 A simple spacer used to provide padding between adjacent elements in an Arc.
 
Protobuf type androidx.wear.protolayout.proto.ArcSpacer

Summary

Fields
public static final intANGULAR_LENGTH_FIELD_NUMBER

public static final intLENGTH_FIELD_NUMBER

public static final intMODIFIERS_FIELD_NUMBER

public static final intTHICKNESS_FIELD_NUMBER

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

public DimensionProto.ArcSpacerLengthgetAngularLength()

 The length of this spacer.

public static LayoutElementProto.ArcSpacergetDefaultInstance()

public DimensionProto.DegreesPropgetLength()

 The length of this spacer, in degrees.

public ModifiersProto.ArcModifiersgetModifiers()

 Modifiers for this element.

public DimensionProto.DpPropgetThickness()

 The thickness of this spacer, in DP.

public booleanhasAngularLength()

 The length of this spacer.

public booleanhasLength()

 The length of this spacer, in degrees.

public booleanhasModifiers()

 Modifiers for this element.

public booleanhasThickness()

 The thickness of this spacer, in DP.

public static LayoutElementProto.ArcSpacer.BuildernewBuilder()

public static LayoutElementProto.ArcSpacer.BuildernewBuilder(LayoutElementProto.ArcSpacer prototype)

public static LayoutElementProto.ArcSpacerparseDelimitedFrom(java.io.InputStream input)

public static LayoutElementProto.ArcSpacerparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcSpacerparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcSpacerparseFrom(java.nio.ByteBuffer data)

public static LayoutElementProto.ArcSpacerparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcSpacerparseFrom(com.google.protobuf.ByteString data)

public static LayoutElementProto.ArcSpacerparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcSpacerparseFrom(com.google.protobuf.CodedInputStream input)

public static LayoutElementProto.ArcSpacerparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcSpacerparseFrom(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 LENGTH_FIELD_NUMBER

public static final int THICKNESS_FIELD_NUMBER

public static final int MODIFIERS_FIELD_NUMBER

public static final int ANGULAR_LENGTH_FIELD_NUMBER

Methods

public boolean hasLength()

 The length of this spacer, in degrees. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DegreesProp length = 1;

public DimensionProto.DegreesProp getLength()

 The length of this spacer, in degrees. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DegreesProp length = 1;

public boolean hasThickness()

 The thickness of this spacer, in DP. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DpProp thickness = 2;

public DimensionProto.DpProp getThickness()

 The thickness of this spacer, in DP. If not defined, defaults to 0.
 
.androidx.wear.protolayout.proto.DpProp thickness = 2;

public boolean hasModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.ArcModifiers modifiers = 3;

public ModifiersProto.ArcModifiers getModifiers()

 Modifiers for this element.
 
.androidx.wear.protolayout.proto.ArcModifiers modifiers = 3;

public boolean hasAngularLength()

 The length of this spacer. If not defined, defaults to 0 degrees.
 
.androidx.wear.protolayout.proto.ArcSpacerLength angular_length = 4;

public DimensionProto.ArcSpacerLength getAngularLength()

 The length of this spacer. If not defined, defaults to 0 degrees.
 
.androidx.wear.protolayout.proto.ArcSpacerLength angular_length = 4;

public static LayoutElementProto.ArcSpacer parseFrom(java.nio.ByteBuffer data)

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

public static LayoutElementProto.ArcSpacer parseFrom(com.google.protobuf.ByteString data)

public static LayoutElementProto.ArcSpacer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static LayoutElementProto.ArcSpacer parseDelimitedFrom(java.io.InputStream input)

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

public static LayoutElementProto.ArcSpacer parseFrom(com.google.protobuf.CodedInputStream input)

public static LayoutElementProto.ArcSpacer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static LayoutElementProto.ArcSpacer.Builder newBuilder()

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

public static LayoutElementProto.ArcSpacer getDefaultInstance()

public static <any> parser()