public final class

ModifiersProto.Background

extends <any>

implements ModifiersProto.BackgroundOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ModifiersProto.Background

Overview

 A modifier to apply a background to an element.
 
Protobuf type androidx.wear.protolayout.proto.Background

Summary

Fields
public static final intCOLOR_FIELD_NUMBER

public static final intCORNER_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 background color for this element.

public ModifiersProto.CornergetCorner()

 The corner properties of this element.

public static ModifiersProto.BackgroundgetDefaultInstance()

public booleanhasColor()

 The background color for this element.

public booleanhasCorner()

 The corner properties of this element.

public static ModifiersProto.Background.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static ModifiersProto.BackgroundparseFrom(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 COLOR_FIELD_NUMBER

public static final int CORNER_FIELD_NUMBER

Methods

public boolean hasColor()

 The background color for this element. If not defined, defaults to being
 transparent.

 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 = 1;

public ColorProto.ColorProp getColor()

 The background color for this element. If not defined, defaults to being
 transparent.

 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 = 1;

public boolean hasCorner()

 The corner properties of this element. This only affects the drawing of
 this element if it has a background color or border. If not defined,
 defaults to having a square corner.
 
.androidx.wear.protolayout.proto.Corner corner = 2;

public ModifiersProto.Corner getCorner()

 The corner properties of this element. This only affects the drawing of
 this element if it has a background color or border. If not defined,
 defaults to having a square corner.
 
.androidx.wear.protolayout.proto.Corner corner = 2;

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

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

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

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

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

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

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

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

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

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

public static ModifiersProto.Background.Builder newBuilder()

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

public static ModifiersProto.Background getDefaultInstance()

public static <any> parser()