Interface Route.RouteLocalizedValuesOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Route.RouteLocalizedValues, Route.RouteLocalizedValues.Builder
Enclosing class:
Route

public static interface Route.RouteLocalizedValuesOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasDistance

      boolean hasDistance()
       Travel distance represented in text form.
       
      .google.type.LocalizedText distance = 1;
      Returns:
      Whether the distance field is set.
    • getDistance

      LocalizedText getDistance()
       Travel distance represented in text form.
       
      .google.type.LocalizedText distance = 1;
      Returns:
      The distance.
    • getDistanceOrBuilder

      LocalizedTextOrBuilder getDistanceOrBuilder()
       Travel distance represented in text form.
       
      .google.type.LocalizedText distance = 1;
    • hasDuration

      boolean hasDuration()
       Duration, represented in text form and localized to the region of the
       query. Takes traffic conditions into consideration. Note: If you did not
       request traffic information, this value is the same value as
       `static_duration`.
       
      .google.type.LocalizedText duration = 2;
      Returns:
      Whether the duration field is set.
    • getDuration

      LocalizedText getDuration()
       Duration, represented in text form and localized to the region of the
       query. Takes traffic conditions into consideration. Note: If you did not
       request traffic information, this value is the same value as
       `static_duration`.
       
      .google.type.LocalizedText duration = 2;
      Returns:
      The duration.
    • getDurationOrBuilder

      LocalizedTextOrBuilder getDurationOrBuilder()
       Duration, represented in text form and localized to the region of the
       query. Takes traffic conditions into consideration. Note: If you did not
       request traffic information, this value is the same value as
       `static_duration`.
       
      .google.type.LocalizedText duration = 2;
    • hasStaticDuration

      boolean hasStaticDuration()
       Duration without taking traffic conditions into consideration,
       represented in text form.
       
      .google.type.LocalizedText static_duration = 3;
      Returns:
      Whether the staticDuration field is set.
    • getStaticDuration

      LocalizedText getStaticDuration()
       Duration without taking traffic conditions into consideration,
       represented in text form.
       
      .google.type.LocalizedText static_duration = 3;
      Returns:
      The staticDuration.
    • getStaticDurationOrBuilder

      LocalizedTextOrBuilder getStaticDurationOrBuilder()
       Duration without taking traffic conditions into consideration,
       represented in text form.
       
      .google.type.LocalizedText static_duration = 3;
    • hasTransitFare

      boolean hasTransitFare()
       Transit fare represented in text form.
       
      .google.type.LocalizedText transit_fare = 4;
      Returns:
      Whether the transitFare field is set.
    • getTransitFare

      LocalizedText getTransitFare()
       Transit fare represented in text form.
       
      .google.type.LocalizedText transit_fare = 4;
      Returns:
      The transitFare.
    • getTransitFareOrBuilder

      LocalizedTextOrBuilder getTransitFareOrBuilder()
       Transit fare represented in text form.
       
      .google.type.LocalizedText transit_fare = 4;