Interface SchedulingDurationOrBuilder (0.13.0)

public interface SchedulingDurationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNanos()

public abstract int getNanos()

Optional. Span of time that's a fraction of a second at nanosecond resolution.

optional int32 nanos = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The nanos.

getSeconds()

public abstract long getSeconds()

Optional. Span of time at a resolution of a second.

optional int64 seconds = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The seconds.

hasNanos()

public abstract boolean hasNanos()

Optional. Span of time that's a fraction of a second at nanosecond resolution.

optional int32 nanos = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the nanos field is set.

hasSeconds()

public abstract boolean hasSeconds()

Optional. Span of time at a resolution of a second.

optional int64 seconds = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the seconds field is set.