public static final class RouteMatrixElement.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteMatrixElement.Builder> implements RouteMatrixElementOrBuilder
Contains route information computed for an origin/destination pair in the ComputeRouteMatrix API. This proto can be streamed to the client.Protobuf type
google.maps.routing.v2.RouteMatrixElement| Modifier and Type | Method and Description |
|---|---|
RouteMatrixElement.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteMatrixElement |
build() |
RouteMatrixElement |
buildPartial() |
RouteMatrixElement.Builder |
clear() |
RouteMatrixElement.Builder |
clearCondition()
Indicates whether the route was found or not.
|
RouteMatrixElement.Builder |
clearDestinationIndex()
Zero-based index of the destination in the request.
|
RouteMatrixElement.Builder |
clearDistanceMeters()
The travel distance of the route, in meters.
|
RouteMatrixElement.Builder |
clearDuration()
The length of time needed to navigate the route.
|
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 |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteMatrixElement.Builder |
clearLocalizedValues()
Text representations of properties of the `RouteMatrixElement`.
|
RouteMatrixElement.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteMatrixElement.Builder |
clearOriginIndex()
Zero-based index of the origin in the request.
|
RouteMatrixElement.Builder |
clearStaticDuration()
The duration of traveling through the route without taking traffic
conditions into consideration.
|
RouteMatrixElement.Builder |
clearStatus()
Error status code for this element.
|
RouteMatrixElement.Builder |
clearTravelAdvisory()
Additional information about the route.
|
RouteMatrixElement.Builder |
clone() |
RouteMatrixElementCondition |
getCondition()
Indicates whether the route was found or not.
|
int |
getConditionValue()
Indicates whether the route was found or not.
|
RouteMatrixElement |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getDestinationIndex()
Zero-based index of the destination in the request.
|
int |
getDistanceMeters()
The travel distance of the route, in meters.
|
com.google.protobuf.Duration |
getDuration()
The length of time needed to navigate the route.
|
com.google.protobuf.Duration.Builder |
getDurationBuilder()
The length of time needed to navigate the route.
|
com.google.protobuf.DurationOrBuilder |
getDurationOrBuilder()
The length of time needed to navigate the route.
|
FallbackInfo |
getFallbackInfo()
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.
|
FallbackInfo.Builder |
getFallbackInfoBuilder()
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.
|
FallbackInfoOrBuilder |
getFallbackInfoOrBuilder()
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.LocalizedValues |
getLocalizedValues()
Text representations of properties of the `RouteMatrixElement`.
|
RouteMatrixElement.LocalizedValues.Builder |
getLocalizedValuesBuilder()
Text representations of properties of the `RouteMatrixElement`.
|
RouteMatrixElement.LocalizedValuesOrBuilder |
getLocalizedValuesOrBuilder()
Text representations of properties of the `RouteMatrixElement`.
|
int |
getOriginIndex()
Zero-based index of the origin in the request.
|
com.google.protobuf.Duration |
getStaticDuration()
The duration of traveling through the route without taking traffic
conditions into consideration.
|
com.google.protobuf.Duration.Builder |
getStaticDurationBuilder()
The duration of traveling through the route without taking traffic
conditions into consideration.
|
com.google.protobuf.DurationOrBuilder |
getStaticDurationOrBuilder()
The duration of traveling through the route without taking traffic
conditions into consideration.
|
com.google.rpc.Status |
getStatus()
Error status code for this element.
|
com.google.rpc.Status.Builder |
getStatusBuilder()
Error status code for this element.
|
com.google.rpc.StatusOrBuilder |
getStatusOrBuilder()
Error status code for this element.
|
RouteTravelAdvisory |
getTravelAdvisory()
Additional information about the route.
|
RouteTravelAdvisory.Builder |
getTravelAdvisoryBuilder()
Additional information about the route.
|
RouteTravelAdvisoryOrBuilder |
getTravelAdvisoryOrBuilder()
Additional information about the route.
|
boolean |
hasDestinationIndex()
Zero-based index of the destination in the request.
|
boolean |
hasDuration()
The length of time needed to navigate the route.
|
boolean |
hasFallbackInfo()
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.
|
boolean |
hasLocalizedValues()
Text representations of properties of the `RouteMatrixElement`.
|
boolean |
hasOriginIndex()
Zero-based index of the origin in the request.
|
boolean |
hasStaticDuration()
The duration of traveling through the route without taking traffic
conditions into consideration.
|
boolean |
hasStatus()
Error status code for this element.
|
boolean |
hasTravelAdvisory()
Additional information about the route.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouteMatrixElement.Builder |
mergeDuration(com.google.protobuf.Duration value)
The length of time needed to navigate the route.
|
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 |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteMatrixElement.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteMatrixElement.Builder |
mergeFrom(RouteMatrixElement other) |
RouteMatrixElement.Builder |
mergeLocalizedValues(RouteMatrixElement.LocalizedValues value)
Text representations of properties of the `RouteMatrixElement`.
|
RouteMatrixElement.Builder |
mergeStaticDuration(com.google.protobuf.Duration value)
The duration of traveling through the route without taking traffic
conditions into consideration.
|
RouteMatrixElement.Builder |
mergeStatus(com.google.rpc.Status value)
Error status code for this element.
|
RouteMatrixElement.Builder |
mergeTravelAdvisory(RouteTravelAdvisory value)
Additional information about the route.
|
RouteMatrixElement.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteMatrixElement.Builder |
setCondition(RouteMatrixElementCondition value)
Indicates whether the route was found or not.
|
RouteMatrixElement.Builder |
setConditionValue(int value)
Indicates whether the route was found or not.
|
RouteMatrixElement.Builder |
setDestinationIndex(int value)
Zero-based index of the destination in the request.
|
RouteMatrixElement.Builder |
setDistanceMeters(int value)
The travel distance of the route, in meters.
|
RouteMatrixElement.Builder |
setDuration(com.google.protobuf.Duration.Builder builderForValue)
The length of time needed to navigate the route.
|
RouteMatrixElement.Builder |
setDuration(com.google.protobuf.Duration value)
The length of time needed to navigate the route.
|
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 |
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteMatrixElement.Builder |
setLocalizedValues(RouteMatrixElement.LocalizedValues.Builder builderForValue)
Text representations of properties of the `RouteMatrixElement`.
|
RouteMatrixElement.Builder |
setLocalizedValues(RouteMatrixElement.LocalizedValues value)
Text representations of properties of the `RouteMatrixElement`.
|
RouteMatrixElement.Builder |
setOriginIndex(int value)
Zero-based index of the origin in the request.
|
RouteMatrixElement.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteMatrixElement.Builder |
setStaticDuration(com.google.protobuf.Duration.Builder builderForValue)
The duration of traveling through the route without taking traffic
conditions into consideration.
|
RouteMatrixElement.Builder |
setStaticDuration(com.google.protobuf.Duration value)
The duration of traveling through the route without taking traffic
conditions into consideration.
|
RouteMatrixElement.Builder |
setStatus(com.google.rpc.Status.Builder builderForValue)
Error status code for this element.
|
RouteMatrixElement.Builder |
setStatus(com.google.rpc.Status value)
Error status code for this element.
|
RouteMatrixElement.Builder |
setTravelAdvisory(RouteTravelAdvisory.Builder builderForValue)
Additional information about the route.
|
RouteMatrixElement.Builder |
setTravelAdvisory(RouteTravelAdvisory value)
Additional information about the route.
|
RouteMatrixElement.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatrixElement.Builder>public RouteMatrixElement.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatrixElement.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatrixElement.Builder>public RouteMatrixElement getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteMatrixElement build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteMatrixElement buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteMatrixElement.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatrixElement.Builder>public RouteMatrixElement.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatrixElement.Builder>public RouteMatrixElement.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatrixElement.Builder>public RouteMatrixElement.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatrixElement.Builder>public RouteMatrixElement.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatrixElement.Builder>public RouteMatrixElement.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatrixElement.Builder>public RouteMatrixElement.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteMatrixElement.Builder>public RouteMatrixElement.Builder mergeFrom(RouteMatrixElement other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatrixElement.Builder>public RouteMatrixElement.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteMatrixElement.Builder>IOExceptionpublic boolean hasOriginIndex()
Zero-based index of the origin in the request.
optional int32 origin_index = 1;hasOriginIndex in interface RouteMatrixElementOrBuilderpublic int getOriginIndex()
Zero-based index of the origin in the request.
optional int32 origin_index = 1;getOriginIndex in interface RouteMatrixElementOrBuilderpublic RouteMatrixElement.Builder setOriginIndex(int value)
Zero-based index of the origin in the request.
optional int32 origin_index = 1;value - The originIndex to set.public RouteMatrixElement.Builder clearOriginIndex()
Zero-based index of the origin in the request.
optional int32 origin_index = 1;public boolean hasDestinationIndex()
Zero-based index of the destination in the request.
optional int32 destination_index = 2;hasDestinationIndex in interface RouteMatrixElementOrBuilderpublic int getDestinationIndex()
Zero-based index of the destination in the request.
optional int32 destination_index = 2;getDestinationIndex in interface RouteMatrixElementOrBuilderpublic RouteMatrixElement.Builder setDestinationIndex(int value)
Zero-based index of the destination in the request.
optional int32 destination_index = 2;value - The destinationIndex to set.public RouteMatrixElement.Builder clearDestinationIndex()
Zero-based index of the destination in the request.
optional int32 destination_index = 2;public boolean hasStatus()
Error status code for this element.
.google.rpc.Status status = 3;hasStatus in interface RouteMatrixElementOrBuilderpublic com.google.rpc.Status getStatus()
Error status code for this element.
.google.rpc.Status status = 3;getStatus in interface RouteMatrixElementOrBuilderpublic RouteMatrixElement.Builder setStatus(com.google.rpc.Status value)
Error status code for this element.
.google.rpc.Status status = 3;public RouteMatrixElement.Builder setStatus(com.google.rpc.Status.Builder builderForValue)
Error status code for this element.
.google.rpc.Status status = 3;public RouteMatrixElement.Builder mergeStatus(com.google.rpc.Status value)
Error status code for this element.
.google.rpc.Status status = 3;public RouteMatrixElement.Builder clearStatus()
Error status code for this element.
.google.rpc.Status status = 3;public com.google.rpc.Status.Builder getStatusBuilder()
Error status code for this element.
.google.rpc.Status status = 3;public com.google.rpc.StatusOrBuilder getStatusOrBuilder()
Error status code for this element.
.google.rpc.Status status = 3;getStatusOrBuilder in interface RouteMatrixElementOrBuilderpublic int getConditionValue()
Indicates whether the route was found or not. Independent of status.
.google.maps.routing.v2.RouteMatrixElementCondition condition = 9;getConditionValue in interface RouteMatrixElementOrBuilderpublic RouteMatrixElement.Builder setConditionValue(int value)
Indicates whether the route was found or not. Independent of status.
.google.maps.routing.v2.RouteMatrixElementCondition condition = 9;value - The enum numeric value on the wire for condition to set.public RouteMatrixElementCondition getCondition()
Indicates whether the route was found or not. Independent of status.
.google.maps.routing.v2.RouteMatrixElementCondition condition = 9;getCondition in interface RouteMatrixElementOrBuilderpublic RouteMatrixElement.Builder setCondition(RouteMatrixElementCondition value)
Indicates whether the route was found or not. Independent of status.
.google.maps.routing.v2.RouteMatrixElementCondition condition = 9;value - The condition to set.public RouteMatrixElement.Builder clearCondition()
Indicates whether the route was found or not. Independent of status.
.google.maps.routing.v2.RouteMatrixElementCondition condition = 9;public int getDistanceMeters()
The travel distance of the route, in meters.
int32 distance_meters = 4;getDistanceMeters in interface RouteMatrixElementOrBuilderpublic RouteMatrixElement.Builder setDistanceMeters(int value)
The travel distance of the route, in meters.
int32 distance_meters = 4;value - The distanceMeters to set.public RouteMatrixElement.Builder clearDistanceMeters()
The travel distance of the route, in meters.
int32 distance_meters = 4;public boolean hasDuration()
The length of time needed to navigate the route. If you set the [routing_preference][google.maps.routing.v2.ComputeRouteMatrixRequest.routing_preference] to `TRAFFIC_UNAWARE`, then this value is the same as `static_duration`. If you set the `routing_preference` to either `TRAFFIC_AWARE` or `TRAFFIC_AWARE_OPTIMAL`, then this value is calculated taking traffic conditions into account.
.google.protobuf.Duration duration = 5;hasDuration in interface RouteMatrixElementOrBuilderpublic com.google.protobuf.Duration getDuration()
The length of time needed to navigate the route. If you set the [routing_preference][google.maps.routing.v2.ComputeRouteMatrixRequest.routing_preference] to `TRAFFIC_UNAWARE`, then this value is the same as `static_duration`. If you set the `routing_preference` to either `TRAFFIC_AWARE` or `TRAFFIC_AWARE_OPTIMAL`, then this value is calculated taking traffic conditions into account.
.google.protobuf.Duration duration = 5;getDuration in interface RouteMatrixElementOrBuilderpublic RouteMatrixElement.Builder setDuration(com.google.protobuf.Duration value)
The length of time needed to navigate the route. If you set the [routing_preference][google.maps.routing.v2.ComputeRouteMatrixRequest.routing_preference] to `TRAFFIC_UNAWARE`, then this value is the same as `static_duration`. If you set the `routing_preference` to either `TRAFFIC_AWARE` or `TRAFFIC_AWARE_OPTIMAL`, then this value is calculated taking traffic conditions into account.
.google.protobuf.Duration duration = 5;public RouteMatrixElement.Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
The length of time needed to navigate the route. If you set the [routing_preference][google.maps.routing.v2.ComputeRouteMatrixRequest.routing_preference] to `TRAFFIC_UNAWARE`, then this value is the same as `static_duration`. If you set the `routing_preference` to either `TRAFFIC_AWARE` or `TRAFFIC_AWARE_OPTIMAL`, then this value is calculated taking traffic conditions into account.
.google.protobuf.Duration duration = 5;public RouteMatrixElement.Builder mergeDuration(com.google.protobuf.Duration value)
The length of time needed to navigate the route. If you set the [routing_preference][google.maps.routing.v2.ComputeRouteMatrixRequest.routing_preference] to `TRAFFIC_UNAWARE`, then this value is the same as `static_duration`. If you set the `routing_preference` to either `TRAFFIC_AWARE` or `TRAFFIC_AWARE_OPTIMAL`, then this value is calculated taking traffic conditions into account.
.google.protobuf.Duration duration = 5;public RouteMatrixElement.Builder clearDuration()
The length of time needed to navigate the route. If you set the [routing_preference][google.maps.routing.v2.ComputeRouteMatrixRequest.routing_preference] to `TRAFFIC_UNAWARE`, then this value is the same as `static_duration`. If you set the `routing_preference` to either `TRAFFIC_AWARE` or `TRAFFIC_AWARE_OPTIMAL`, then this value is calculated taking traffic conditions into account.
.google.protobuf.Duration duration = 5;public com.google.protobuf.Duration.Builder getDurationBuilder()
The length of time needed to navigate the route. If you set the [routing_preference][google.maps.routing.v2.ComputeRouteMatrixRequest.routing_preference] to `TRAFFIC_UNAWARE`, then this value is the same as `static_duration`. If you set the `routing_preference` to either `TRAFFIC_AWARE` or `TRAFFIC_AWARE_OPTIMAL`, then this value is calculated taking traffic conditions into account.
.google.protobuf.Duration duration = 5;public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()
The length of time needed to navigate the route. If you set the [routing_preference][google.maps.routing.v2.ComputeRouteMatrixRequest.routing_preference] to `TRAFFIC_UNAWARE`, then this value is the same as `static_duration`. If you set the `routing_preference` to either `TRAFFIC_AWARE` or `TRAFFIC_AWARE_OPTIMAL`, then this value is calculated taking traffic conditions into account.
.google.protobuf.Duration duration = 5;getDurationOrBuilder in interface RouteMatrixElementOrBuilderpublic boolean hasStaticDuration()
The duration of traveling through the route without taking traffic conditions into consideration.
.google.protobuf.Duration static_duration = 6;hasStaticDuration in interface RouteMatrixElementOrBuilderpublic com.google.protobuf.Duration getStaticDuration()
The duration of traveling through the route without taking traffic conditions into consideration.
.google.protobuf.Duration static_duration = 6;getStaticDuration in interface RouteMatrixElementOrBuilderpublic RouteMatrixElement.Builder setStaticDuration(com.google.protobuf.Duration value)
The duration of traveling through the route without taking traffic conditions into consideration.
.google.protobuf.Duration static_duration = 6;public RouteMatrixElement.Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue)
The duration of traveling through the route without taking traffic conditions into consideration.
.google.protobuf.Duration static_duration = 6;public RouteMatrixElement.Builder mergeStaticDuration(com.google.protobuf.Duration value)
The duration of traveling through the route without taking traffic conditions into consideration.
.google.protobuf.Duration static_duration = 6;public RouteMatrixElement.Builder clearStaticDuration()
The duration of traveling through the route without taking traffic conditions into consideration.
.google.protobuf.Duration static_duration = 6;public com.google.protobuf.Duration.Builder getStaticDurationBuilder()
The duration of traveling through the route without taking traffic conditions into consideration.
.google.protobuf.Duration static_duration = 6;public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder()
The duration of traveling through the route without taking traffic conditions into consideration.
.google.protobuf.Duration static_duration = 6;getStaticDurationOrBuilder in interface RouteMatrixElementOrBuilderpublic boolean hasTravelAdvisory()
Additional information about the route. For example: restriction information and toll information
.google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;hasTravelAdvisory in interface RouteMatrixElementOrBuilderpublic RouteTravelAdvisory getTravelAdvisory()
Additional information about the route. For example: restriction information and toll information
.google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;getTravelAdvisory in interface RouteMatrixElementOrBuilderpublic RouteMatrixElement.Builder setTravelAdvisory(RouteTravelAdvisory value)
Additional information about the route. For example: restriction information and toll information
.google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;public RouteMatrixElement.Builder setTravelAdvisory(RouteTravelAdvisory.Builder builderForValue)
Additional information about the route. For example: restriction information and toll information
.google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;public RouteMatrixElement.Builder mergeTravelAdvisory(RouteTravelAdvisory value)
Additional information about the route. For example: restriction information and toll information
.google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;public RouteMatrixElement.Builder clearTravelAdvisory()
Additional information about the route. For example: restriction information and toll information
.google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;public RouteTravelAdvisory.Builder getTravelAdvisoryBuilder()
Additional information about the route. For example: restriction information and toll information
.google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;public RouteTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder()
Additional information about the route. For example: restriction information and toll information
.google.maps.routing.v2.RouteTravelAdvisory travel_advisory = 7;getTravelAdvisoryOrBuilder in interface RouteMatrixElementOrBuilderpublic boolean hasFallbackInfo()
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. When fallback mode is used, this field contains detailed information about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 8;hasFallbackInfo in interface RouteMatrixElementOrBuilderpublic FallbackInfo getFallbackInfo()
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. When fallback mode is used, this field contains detailed information about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 8;getFallbackInfo in interface RouteMatrixElementOrBuilderpublic 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. When fallback mode is used, this field contains detailed information about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 8;public 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. When fallback mode is used, this field contains detailed information about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 8;public 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. When fallback mode is used, this field contains detailed information about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 8;public 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. When fallback mode is used, this field contains detailed information about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 8;public FallbackInfo.Builder getFallbackInfoBuilder()
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. When fallback mode is used, this field contains detailed information about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 8;public FallbackInfoOrBuilder getFallbackInfoOrBuilder()
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. When fallback mode is used, this field contains detailed information about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 8;getFallbackInfoOrBuilder in interface RouteMatrixElementOrBuilderpublic boolean hasLocalizedValues()
Text representations of properties of the `RouteMatrixElement`.
.google.maps.routing.v2.RouteMatrixElement.LocalizedValues localized_values = 10;
hasLocalizedValues in interface RouteMatrixElementOrBuilderpublic RouteMatrixElement.LocalizedValues getLocalizedValues()
Text representations of properties of the `RouteMatrixElement`.
.google.maps.routing.v2.RouteMatrixElement.LocalizedValues localized_values = 10;
getLocalizedValues in interface RouteMatrixElementOrBuilderpublic RouteMatrixElement.Builder setLocalizedValues(RouteMatrixElement.LocalizedValues value)
Text representations of properties of the `RouteMatrixElement`.
.google.maps.routing.v2.RouteMatrixElement.LocalizedValues localized_values = 10;
public RouteMatrixElement.Builder setLocalizedValues(RouteMatrixElement.LocalizedValues.Builder builderForValue)
Text representations of properties of the `RouteMatrixElement`.
.google.maps.routing.v2.RouteMatrixElement.LocalizedValues localized_values = 10;
public RouteMatrixElement.Builder mergeLocalizedValues(RouteMatrixElement.LocalizedValues value)
Text representations of properties of the `RouteMatrixElement`.
.google.maps.routing.v2.RouteMatrixElement.LocalizedValues localized_values = 10;
public RouteMatrixElement.Builder clearLocalizedValues()
Text representations of properties of the `RouteMatrixElement`.
.google.maps.routing.v2.RouteMatrixElement.LocalizedValues localized_values = 10;
public RouteMatrixElement.LocalizedValues.Builder getLocalizedValuesBuilder()
Text representations of properties of the `RouteMatrixElement`.
.google.maps.routing.v2.RouteMatrixElement.LocalizedValues localized_values = 10;
public RouteMatrixElement.LocalizedValuesOrBuilder getLocalizedValuesOrBuilder()
Text representations of properties of the `RouteMatrixElement`.
.google.maps.routing.v2.RouteMatrixElement.LocalizedValues localized_values = 10;
getLocalizedValuesOrBuilder in interface RouteMatrixElementOrBuilderpublic final RouteMatrixElement.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatrixElement.Builder>public final RouteMatrixElement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteMatrixElement.Builder>Copyright © 2025 Google LLC. All rights reserved.