Interface LocalizedTimeOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    LocalizedTime, LocalizedTime.Builder

    public interface LocalizedTimeOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.type.LocalizedText getTime()
      The time specified as a string in a given time zone.
      com.google.type.LocalizedTextOrBuilder getTimeOrBuilder()
      The time specified as a string in a given time zone.
      String getTimeZone()
      Contains the time zone.
      com.google.protobuf.ByteString getTimeZoneBytes()
      Contains the time zone.
      boolean hasTime()
      The time specified as a string in a given time zone.
      • 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 Detail

      • hasTime

        boolean hasTime()
         The time specified as a string in a given time zone.
         
        .google.type.LocalizedText time = 1;
        Returns:
        Whether the time field is set.
      • getTime

        com.google.type.LocalizedText getTime()
         The time specified as a string in a given time zone.
         
        .google.type.LocalizedText time = 1;
        Returns:
        The time.
      • getTimeOrBuilder

        com.google.type.LocalizedTextOrBuilder getTimeOrBuilder()
         The time specified as a string in a given time zone.
         
        .google.type.LocalizedText time = 1;
      • getTimeZone

        String getTimeZone()
         Contains the time zone. The value is the name of the time zone as defined
         in the [IANA Time Zone Database](http://www.iana.org/time-zones), e.g.
         "America/New_York".
         
        string time_zone = 2;
        Returns:
        The timeZone.
      • getTimeZoneBytes

        com.google.protobuf.ByteString getTimeZoneBytes()
         Contains the time zone. The value is the name of the time zone as defined
         in the [IANA Time Zone Database](http://www.iana.org/time-zones), e.g.
         "America/New_York".
         
        string time_zone = 2;
        Returns:
        The bytes for timeZone.