Interface RouteLegStep.RouteLegStepLocalizedValuesOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.type.LocalizedText getDistance()
      Travel distance represented in text form.
      com.google.type.LocalizedTextOrBuilder getDistanceOrBuilder()
      Travel distance represented in text form.
      com.google.type.LocalizedText getStaticDuration()
      Duration without taking traffic conditions into consideration, represented in text form.
      com.google.type.LocalizedTextOrBuilder getStaticDurationOrBuilder()
      Duration without taking traffic conditions into consideration, represented in text form.
      boolean hasDistance()
      Travel distance represented in text form.
      boolean hasStaticDuration()
      Duration without taking traffic conditions into consideration, represented in text form.
      • 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

      • hasDistance

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

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

        com.google.type.LocalizedTextOrBuilder getDistanceOrBuilder()
         Travel distance represented in text form.
         
        .google.type.LocalizedText distance = 1;
      • 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

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

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