public final class

DynamicProto.PlatformInt32Source.Builder

extends <any>

implements DynamicProto.PlatformInt32SourceOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.expression.proto.DynamicProto.PlatformInt32Source.Builder

Overview

 A dynamic Int32 which sources its data from some platform data source, e.g.
 from sensors, or the current time.
 
Protobuf type androidx.wear.protolayout.expression.proto.PlatformInt32Source

Summary

Methods
public DynamicProto.PlatformInt32Source.BuilderclearSourceType()

 The source to load data from.

public DynamicProto.PlatformInt32SourceTypegetSourceType()

 The source to load data from.

public intgetSourceTypeValue()

 The source to load data from.

public DynamicProto.PlatformInt32Source.BuildersetSourceType(DynamicProto.PlatformInt32SourceType value)

 The source to load data from.

public DynamicProto.PlatformInt32Source.BuildersetSourceTypeValue(int value)

 The source to load data from.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public int getSourceTypeValue()

 The source to load data from.
 
.androidx.wear.protolayout.expression.proto.PlatformInt32SourceType source_type = 1;

Returns:

The enum numeric value on the wire for sourceType.

public DynamicProto.PlatformInt32Source.Builder setSourceTypeValue(int value)

 The source to load data from.
 
.androidx.wear.protolayout.expression.proto.PlatformInt32SourceType source_type = 1;

Parameters:

value: The sourceType to set.

Returns:

This builder for chaining.

 The source to load data from.
 
.androidx.wear.protolayout.expression.proto.PlatformInt32SourceType source_type = 1;

Returns:

The sourceType.

 The source to load data from.
 
.androidx.wear.protolayout.expression.proto.PlatformInt32SourceType source_type = 1;

Parameters:

value: The enum numeric value on the wire for sourceType to set.

Returns:

This builder for chaining.

 The source to load data from.
 
.androidx.wear.protolayout.expression.proto.PlatformInt32SourceType source_type = 1;

Returns:

This builder for chaining.