Package com.google.maps.routing.v2
Interface LocalizedTimeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LocalizedTime,LocalizedTime.Builder
@Generated
public interface LocalizedTimeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetTime()The time specified as a string in a given time zone.The time specified as a string in a given time zone.Contains the time zone.com.google.protobuf.ByteStringContains the time zone.booleanhasTime()The time specified as a string in a given time zone.Methods 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
-
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
LocalizedText getTime()The time specified as a string in a given time zone.
.google.type.LocalizedText time = 1;- Returns:
- The time.
-
getTimeOrBuilder
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.
-