Package com.google.maps.routing.v2
Interface RouteMatrixOriginOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouteMatrixOrigin,RouteMatrixOrigin.Builder
@Generated
public interface RouteMatrixOriginOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Required.Required.booleanOptional.booleanRequired.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
-
hasWaypoint
boolean hasWaypoint()Required. Origin waypoint
.google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the waypoint field is set.
-
getWaypoint
Waypoint getWaypoint()Required. Origin waypoint
.google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The waypoint.
-
getWaypointOrBuilder
WaypointOrBuilder getWaypointOrBuilder()Required. Origin waypoint
.google.maps.routing.v2.Waypoint waypoint = 1 [(.google.api.field_behavior) = REQUIRED]; -
hasRouteModifiers
boolean hasRouteModifiers()Optional. Modifiers for every route that takes this as the origin
.google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the routeModifiers field is set.
-
getRouteModifiers
RouteModifiers getRouteModifiers()Optional. Modifiers for every route that takes this as the origin
.google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The routeModifiers.
-
getRouteModifiersOrBuilder
RouteModifiersOrBuilder getRouteModifiersOrBuilder()Optional. Modifiers for every route that takes this as the origin
.google.maps.routing.v2.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL];
-