public final class

FixedProto.FixedDuration.Builder

extends <any>

implements FixedProto.FixedDurationOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.expression.proto.FixedProto.FixedDuration.Builder

Overview

 A fixed duration type.
 
Protobuf type androidx.wear.protolayout.expression.proto.FixedDuration

Summary

Methods
public FixedProto.FixedDuration.BuilderclearSeconds()

 Duration in seconds

public longgetSeconds()

 Duration in seconds

public FixedProto.FixedDuration.BuildersetSeconds(long value)

 Duration in seconds

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

Methods

public long getSeconds()

 Duration in seconds
 
int64 seconds = 1;

Returns:

The seconds.

public FixedProto.FixedDuration.Builder setSeconds(long value)

 Duration in seconds
 
int64 seconds = 1;

Parameters:

value: The seconds to set.

Returns:

This builder for chaining.

public FixedProto.FixedDuration.Builder clearSeconds()

 Duration in seconds
 
int64 seconds = 1;

Returns:

This builder for chaining.