| Modifier and Type | Method and Description |
|---|---|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.clear() |
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.clearCondition()
Indicates whether the route was found or not.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.clearDestinationIndex()
Zero-based index of the destination in the request.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.clearDistanceMeters()
The travel distance of the route, in meters.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.clearDuration()
The length of time needed to navigate the route.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.clearFallbackInfo()
In some cases when the server is not able to compute the route with the
given preferences for this particular origin/destination pair, it may
fall back to using a different mode of computation.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.clearLocalizedValues()
Text representations of properties of the `RouteMatrixElement`.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.clearOriginIndex()
Zero-based index of the origin in the request.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.clearStaticDuration()
The duration of traveling through the route without taking traffic
conditions into consideration.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.clearStatus()
Error status code for this element.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.clearTravelAdvisory()
Additional information about the route.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.mergeDuration(com.google.protobuf.Duration value)
The length of time needed to navigate the route.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.mergeFallbackInfo(FallbackInfo value)
In some cases when the server is not able to compute the route with the
given preferences for this particular origin/destination pair, it may
fall back to using a different mode of computation.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.mergeFrom(com.google.protobuf.Message other) |
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.mergeFrom(RouteMatrixElement other) |
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.mergeLocalizedValues(RouteMatrixElement.LocalizedValues value)
Text representations of properties of the `RouteMatrixElement`.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.mergeStaticDuration(com.google.protobuf.Duration value)
The duration of traveling through the route without taking traffic
conditions into consideration.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.mergeStatus(com.google.rpc.Status value)
Error status code for this element.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.mergeTravelAdvisory(RouteTravelAdvisory value)
Additional information about the route.
|
static RouteMatrixElement.Builder |
RouteMatrixElement.newBuilder() |
static RouteMatrixElement.Builder |
RouteMatrixElement.newBuilder(RouteMatrixElement prototype) |
RouteMatrixElement.Builder |
RouteMatrixElement.newBuilderForType() |
protected RouteMatrixElement.Builder |
RouteMatrixElement.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setCondition(RouteMatrixElementCondition value)
Indicates whether the route was found or not.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setConditionValue(int value)
Indicates whether the route was found or not.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setDestinationIndex(int value)
Zero-based index of the destination in the request.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setDistanceMeters(int value)
The travel distance of the route, in meters.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setDuration(com.google.protobuf.Duration.Builder builderForValue)
The length of time needed to navigate the route.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setDuration(com.google.protobuf.Duration value)
The length of time needed to navigate the route.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setFallbackInfo(FallbackInfo.Builder builderForValue)
In some cases when the server is not able to compute the route with the
given preferences for this particular origin/destination pair, it may
fall back to using a different mode of computation.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setFallbackInfo(FallbackInfo value)
In some cases when the server is not able to compute the route with the
given preferences for this particular origin/destination pair, it may
fall back to using a different mode of computation.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setLocalizedValues(RouteMatrixElement.LocalizedValues.Builder builderForValue)
Text representations of properties of the `RouteMatrixElement`.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setLocalizedValues(RouteMatrixElement.LocalizedValues value)
Text representations of properties of the `RouteMatrixElement`.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setOriginIndex(int value)
Zero-based index of the origin in the request.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setStaticDuration(com.google.protobuf.Duration.Builder builderForValue)
The duration of traveling through the route without taking traffic
conditions into consideration.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setStaticDuration(com.google.protobuf.Duration value)
The duration of traveling through the route without taking traffic
conditions into consideration.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setStatus(com.google.rpc.Status.Builder builderForValue)
Error status code for this element.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setStatus(com.google.rpc.Status value)
Error status code for this element.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setTravelAdvisory(RouteTravelAdvisory.Builder builderForValue)
Additional information about the route.
|
RouteMatrixElement.Builder |
RouteMatrixElement.Builder.setTravelAdvisory(RouteTravelAdvisory value)
Additional information about the route.
|
RouteMatrixElement.Builder |
RouteMatrixElement.toBuilder() |
Copyright © 2026 Google LLC. All rights reserved.