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 Type
    Method
    Description
    long
    Year-to-month component
    long
    Day-to-second component

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.