Package gql
Interface GqlTypes.DurationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GqlTypes.Duration,GqlTypes.Duration.Builder
- Enclosing class:
- GqlTypes
public static interface GqlTypes.DurationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongYear-to-month componentlongDay-to-second componentMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMonths
long getMonths()Year-to-month component
int64 months = 1;- Returns:
- The months.
-
getNanoseconds
long getNanoseconds()Day-to-second component
int64 nanoseconds = 2;- Returns:
- The nanoseconds.
-