public final class

FixedProto.FixedInstant.Builder

extends <any>

implements FixedProto.FixedInstantOrBuilder

 java.lang.Object

↳<any>

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

Overview

 A fixed time instant type.
 
Protobuf type androidx.wear.protolayout.expression.proto.FixedInstant

Summary

Methods
public FixedProto.FixedInstant.BuilderclearEpochSeconds()

 The number of seconds that have elapsed since 00:00:00 UTC on 1 January
 1970.

public longgetEpochSeconds()

 The number of seconds that have elapsed since 00:00:00 UTC on 1 January
 1970.

public FixedProto.FixedInstant.BuildersetEpochSeconds(long value)

 The number of seconds that have elapsed since 00:00:00 UTC on 1 January
 1970.

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

Methods

public long getEpochSeconds()

 The number of seconds that have elapsed since 00:00:00 UTC on 1 January
 1970.
 
int64 epoch_seconds = 1;

Returns:

The epochSeconds.

public FixedProto.FixedInstant.Builder setEpochSeconds(long value)

 The number of seconds that have elapsed since 00:00:00 UTC on 1 January
 1970.
 
int64 epoch_seconds = 1;

Parameters:

value: The epochSeconds to set.

Returns:

This builder for chaining.

public FixedProto.FixedInstant.Builder clearEpochSeconds()

 The number of seconds that have elapsed since 00:00:00 UTC on 1 January
 1970.
 
int64 epoch_seconds = 1;

Returns:

This builder for chaining.