Interface SchedulingDurationOrBuilder (0.21.0)

publicinterface SchedulingDurationOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getNanos()

publicabstractintgetNanos()

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()

publicabstractlonggetSeconds()

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()

publicabstractbooleanhasNanos()

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()

publicabstractbooleanhasSeconds()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.