public final class

ModifiersProto.Border

extends <any>

implements ModifiersProto.BorderOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ModifiersProto.Border

Overview

 A modifier to apply a border around an element.
 
Protobuf type androidx.wear.protolayout.proto.Border

Summary

Fields
public static final intCOLOR_FIELD_NUMBER

public static final intWIDTH_FIELD_NUMBER

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

public ColorProto.ColorPropgetColor()

 The color of the border.

public static ModifiersProto.BordergetDefaultInstance()

public DimensionProto.DpPropgetWidth()

 The width of the border, in DP.

public booleanhasColor()

 The color of the border.

public booleanhasWidth()

 The width of the border, in DP.

public static ModifiersProto.Border.BuildernewBuilder()

public static ModifiersProto.Border.BuildernewBuilder(ModifiersProto.Border prototype)

public static ModifiersProto.BorderparseDelimitedFrom(java.io.InputStream input)

public static ModifiersProto.BorderparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.BorderparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.BorderparseFrom(java.nio.ByteBuffer data)

public static ModifiersProto.BorderparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.BorderparseFrom(com.google.protobuf.ByteString data)

public static ModifiersProto.BorderparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.BorderparseFrom(com.google.protobuf.CodedInputStream input)

public static ModifiersProto.BorderparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.BorderparseFrom(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 WIDTH_FIELD_NUMBER

public static final int COLOR_FIELD_NUMBER

Methods

public boolean hasWidth()

 The width of the border, in DP.
 
.androidx.wear.protolayout.proto.DpProp width = 1;

public DimensionProto.DpProp getWidth()

 The width of the border, in DP.
 
.androidx.wear.protolayout.proto.DpProp width = 1;

public boolean hasColor()

 The color of the border.

 While this field is statically accessible from 1.0, it's only bindable
 since version 1.2 and renderers supporting version 1.2 will use the dynamic
 value (if set).
 
.androidx.wear.protolayout.proto.ColorProp color = 2;

public ColorProto.ColorProp getColor()

 The color of the border.

 While this field is statically accessible from 1.0, it's only bindable
 since version 1.2 and renderers supporting version 1.2 will use the dynamic
 value (if set).
 
.androidx.wear.protolayout.proto.ColorProp color = 2;

public static ModifiersProto.Border parseFrom(java.nio.ByteBuffer data)

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

public static ModifiersProto.Border parseFrom(com.google.protobuf.ByteString data)

public static ModifiersProto.Border parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

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

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

public static ModifiersProto.Border parseDelimitedFrom(java.io.InputStream input)

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

public static ModifiersProto.Border parseFrom(com.google.protobuf.CodedInputStream input)

public static ModifiersProto.Border parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static ModifiersProto.Border.Builder newBuilder()

public static ModifiersProto.Border.Builder newBuilder(ModifiersProto.Border prototype)

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

public static ModifiersProto.Border getDefaultInstance()

public static <any> parser()