Interface TollInfoOrBuilder

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

@Generated public interface TollInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getEstimatedPrice(int index)
    The monetary amount of tolls for the corresponding [`Route`][google.maps.routing.v2.Route] or [`RouteLeg`][google.maps.routing.v2.RouteLeg].
    int
    The monetary amount of tolls for the corresponding [`Route`][google.maps.routing.v2.Route] or [`RouteLeg`][google.maps.routing.v2.RouteLeg].
    The monetary amount of tolls for the corresponding [`Route`][google.maps.routing.v2.Route] or [`RouteLeg`][google.maps.routing.v2.RouteLeg].
    The monetary amount of tolls for the corresponding [`Route`][google.maps.routing.v2.Route] or [`RouteLeg`][google.maps.routing.v2.RouteLeg].
    List<? extends MoneyOrBuilder>
    The monetary amount of tolls for the corresponding [`Route`][google.maps.routing.v2.Route] or [`RouteLeg`][google.maps.routing.v2.RouteLeg].

    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

    • getEstimatedPriceList

      List<Money> getEstimatedPriceList()
       The monetary amount of tolls for the corresponding
       [`Route`][google.maps.routing.v2.Route] or
       [`RouteLeg`][google.maps.routing.v2.RouteLeg]. This list contains a money
       amount for each currency that is expected to be charged by the toll
       stations. Typically this list will contain only one item for routes with
       tolls in one currency. For international trips, this list may contain
       multiple items to reflect tolls in different currencies.
       
      repeated .google.type.Money estimated_price = 1;
    • getEstimatedPrice

      Money getEstimatedPrice(int index)
       The monetary amount of tolls for the corresponding
       [`Route`][google.maps.routing.v2.Route] or
       [`RouteLeg`][google.maps.routing.v2.RouteLeg]. This list contains a money
       amount for each currency that is expected to be charged by the toll
       stations. Typically this list will contain only one item for routes with
       tolls in one currency. For international trips, this list may contain
       multiple items to reflect tolls in different currencies.
       
      repeated .google.type.Money estimated_price = 1;
    • getEstimatedPriceCount

      int getEstimatedPriceCount()
       The monetary amount of tolls for the corresponding
       [`Route`][google.maps.routing.v2.Route] or
       [`RouteLeg`][google.maps.routing.v2.RouteLeg]. This list contains a money
       amount for each currency that is expected to be charged by the toll
       stations. Typically this list will contain only one item for routes with
       tolls in one currency. For international trips, this list may contain
       multiple items to reflect tolls in different currencies.
       
      repeated .google.type.Money estimated_price = 1;
    • getEstimatedPriceOrBuilderList

      List<? extends MoneyOrBuilder> getEstimatedPriceOrBuilderList()
       The monetary amount of tolls for the corresponding
       [`Route`][google.maps.routing.v2.Route] or
       [`RouteLeg`][google.maps.routing.v2.RouteLeg]. This list contains a money
       amount for each currency that is expected to be charged by the toll
       stations. Typically this list will contain only one item for routes with
       tolls in one currency. For international trips, this list may contain
       multiple items to reflect tolls in different currencies.
       
      repeated .google.type.Money estimated_price = 1;
    • getEstimatedPriceOrBuilder

      MoneyOrBuilder getEstimatedPriceOrBuilder(int index)
       The monetary amount of tolls for the corresponding
       [`Route`][google.maps.routing.v2.Route] or
       [`RouteLeg`][google.maps.routing.v2.RouteLeg]. This list contains a money
       amount for each currency that is expected to be charged by the toll
       stations. Typically this list will contain only one item for routes with
       tolls in one currency. For international trips, this list may contain
       multiple items to reflect tolls in different currencies.
       
      repeated .google.type.Money estimated_price = 1;