public final class

LayoutElementProto.Span

extends <any>

implements LayoutElementProto.SpanOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.LayoutElementProto.Span

Overview

 A single Span. Each Span forms part of a larger Spannable widget. At the
 moment, the only widgets which can be added to Spannable containers are
 SpanText and SpanImage elements.
 
Protobuf type androidx.wear.protolayout.proto.Span

Summary

Fields
public static final intIMAGE_FIELD_NUMBER

public static final intTEXT_FIELD_NUMBER

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

public static LayoutElementProto.SpangetDefaultInstance()

public LayoutElementProto.SpanImagegetImage()

.androidx.wear.protolayout.proto.SpanImage image = 2;

public LayoutElementProto.Span.InnerCasegetInnerCase()

public LayoutElementProto.SpanTextgetText()

.androidx.wear.protolayout.proto.SpanText text = 1;

public booleanhasImage()

.androidx.wear.protolayout.proto.SpanImage image = 2;

public booleanhasText()

.androidx.wear.protolayout.proto.SpanText text = 1;

public static LayoutElementProto.Span.BuildernewBuilder()

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

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

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

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

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

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

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

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

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

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

public static LayoutElementProto.SpanparseFrom(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 TEXT_FIELD_NUMBER

public static final int IMAGE_FIELD_NUMBER

Methods

public LayoutElementProto.Span.InnerCase getInnerCase()

public boolean hasText()

.androidx.wear.protolayout.proto.SpanText text = 1;

.androidx.wear.protolayout.proto.SpanText text = 1;

public boolean hasImage()

.androidx.wear.protolayout.proto.SpanImage image = 2;

.androidx.wear.protolayout.proto.SpanImage image = 2;

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

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

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

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

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

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

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

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

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

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

public static LayoutElementProto.Span.Builder newBuilder()

public static LayoutElementProto.Span.Builder newBuilder(LayoutElementProto.Span prototype)

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

public static LayoutElementProto.Span getDefaultInstance()

public static <any> parser()