Interface FallbackInfoOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The reason why fallback response was used instead of the original response.
    int
    The reason why fallback response was used instead of the original response.
    Routing mode used for the response.
    int
    Routing mode used for the response.

    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

    • getRoutingModeValue

      int getRoutingModeValue()
       Routing mode used for the response. If fallback was triggered, the mode
       may be different from routing preference set in the original client
       request.
       
      .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1;
      Returns:
      The enum numeric value on the wire for routingMode.
    • getRoutingMode

      FallbackRoutingMode getRoutingMode()
       Routing mode used for the response. If fallback was triggered, the mode
       may be different from routing preference set in the original client
       request.
       
      .google.maps.routing.v2.FallbackRoutingMode routing_mode = 1;
      Returns:
      The routingMode.
    • getReasonValue

      int getReasonValue()
       The reason why fallback response was used instead of the original response.
       This field is only populated when the fallback mode is triggered and the
       fallback response is returned.
       
      .google.maps.routing.v2.FallbackReason reason = 2;
      Returns:
      The enum numeric value on the wire for reason.
    • getReason

      FallbackReason getReason()
       The reason why fallback response was used instead of the original response.
       This field is only populated when the fallback mode is triggered and the
       fallback response is returned.
       
      .google.maps.routing.v2.FallbackReason reason = 2;
      Returns:
      The reason.