public interface

TypesProto.StringPropOrBuilder

 androidx.wear.protolayout.proto.TypesProto.StringPropOrBuilder

Subclasses:

TypesProto.StringProp, TypesProto.StringProp.Builder

Summary

Methods
public DynamicProto.DynamicStringgetDynamicValue()

 The dynamic value.

public TypesProto.StringProp.OptionalValueCasegetOptionalValueCase()

public TypesProto.StringProp.OptionalValueForLayoutCasegetOptionalValueForLayoutCase()

public AlignmentProto.TextAlignmentgetTextAlignmentForLayout()

 Alignment alignment of the actual text within the space reserved by
 value_for_layout.

public intgetTextAlignmentForLayoutValue()

 Alignment alignment of the actual text within the space reserved by
 value_for_layout.

public java.lang.StringgetValue()

 The static value.

public com.google.protobuf.ByteStringgetValueBytes()

 The static value.

public java.lang.StringgetValueForLayout()

 When used as a layout-changing data bind, the string to measure, when
 considering how wide the element should be in the layout.

public com.google.protobuf.ByteStringgetValueForLayoutBytes()

 When used as a layout-changing data bind, the string to measure, when
 considering how wide the element should be in the layout.

public booleanhasDynamicValue()

 The dynamic value.

public booleanhasValue()

 The static value.

public booleanhasValueForLayout()

 When used as a layout-changing data bind, the string to measure, when
 considering how wide the element should be in the layout.

Methods

public boolean hasValue()

 The static value. 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, {@code null} will
 be used instead.
 
string value = 1;

Returns:

Whether the value field is set.

public java.lang.String getValue()

 The static value. 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, {@code null} will
 be used instead.
 
string value = 1;

Returns:

The value.

public com.google.protobuf.ByteString getValueBytes()

 The static value. 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, {@code null} will
 be used instead.
 
string value = 1;

Returns:

The bytes for value.

public boolean hasDynamicValue()

 The dynamic value. 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.DynamicString dynamic_value = 2;

Returns:

Whether the dynamicValue field is set.

public DynamicProto.DynamicString getDynamicValue()

 The dynamic value. 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.DynamicString dynamic_value = 2;

Returns:

The dynamicValue.

public boolean hasValueForLayout()

 When used as a layout-changing data bind, the string to measure, when
 considering how wide the element should be in the layout.
 
string value_for_layout = 3;

Returns:

Whether the valueForLayout field is set.

public java.lang.String getValueForLayout()

 When used as a layout-changing data bind, the string to measure, when
 considering how wide the element should be in the layout.
 
string value_for_layout = 3;

Returns:

The valueForLayout.

public com.google.protobuf.ByteString getValueForLayoutBytes()

 When used as a layout-changing data bind, the string to measure, when
 considering how wide the element should be in the layout.
 
string value_for_layout = 3;

Returns:

The bytes for valueForLayout.

public int getTextAlignmentForLayoutValue()

 Alignment alignment of the actual text within the space reserved by
 value_for_layout. If not specified, defaults to center alignment.
 
.androidx.wear.protolayout.proto.TextAlignment text_alignment_for_layout = 4;

Returns:

The enum numeric value on the wire for textAlignmentForLayout.

public AlignmentProto.TextAlignment getTextAlignmentForLayout()

 Alignment alignment of the actual text within the space reserved by
 value_for_layout. If not specified, defaults to center alignment.
 
.androidx.wear.protolayout.proto.TextAlignment text_alignment_for_layout = 4;

Returns:

The textAlignmentForLayout.

public TypesProto.StringProp.OptionalValueCase getOptionalValueCase()

public TypesProto.StringProp.OptionalValueForLayoutCase getOptionalValueForLayoutCase()