Package com.google.maps.routing.v2
Class ComputeRoutesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder>
-
- com.google.maps.routing.v2.ComputeRoutesResponse.Builder
-
- All Implemented Interfaces:
ComputeRoutesResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ComputeRoutesResponse
public static final class ComputeRoutesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder> implements ComputeRoutesResponseOrBuilder
ComputeRoutes the response message.
Protobuf typegoogle.maps.routing.v2.ComputeRoutesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRoutesResponse.Builder
addAllRoutes(Iterable<? extends Route> values)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.ComputeRoutesResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ComputeRoutesResponse.Builder
addRoutes(int index, Route value)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.ComputeRoutesResponse.Builder
addRoutes(int index, Route.Builder builderForValue)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.ComputeRoutesResponse.Builder
addRoutes(Route value)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.ComputeRoutesResponse.Builder
addRoutes(Route.Builder builderForValue)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.Route.Builder
addRoutesBuilder()
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.Route.Builder
addRoutesBuilder(int index)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.ComputeRoutesResponse
build()
ComputeRoutesResponse
buildPartial()
ComputeRoutesResponse.Builder
clear()
ComputeRoutesResponse.Builder
clearFallbackInfo()
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation.ComputeRoutesResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ComputeRoutesResponse.Builder
clearGeocodingResults()
Contains geocoding response info for waypoints specified as addresses.ComputeRoutesResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ComputeRoutesResponse.Builder
clearRoutes()
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.ComputeRoutesResponse.Builder
clone()
ComputeRoutesResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
FallbackInfo
getFallbackInfo()
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation.FallbackInfo.Builder
getFallbackInfoBuilder()
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation.FallbackInfoOrBuilder
getFallbackInfoOrBuilder()
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation.GeocodingResults
getGeocodingResults()
Contains geocoding response info for waypoints specified as addresses.GeocodingResults.Builder
getGeocodingResultsBuilder()
Contains geocoding response info for waypoints specified as addresses.GeocodingResultsOrBuilder
getGeocodingResultsOrBuilder()
Contains geocoding response info for waypoints specified as addresses.Route
getRoutes(int index)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.Route.Builder
getRoutesBuilder(int index)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.List<Route.Builder>
getRoutesBuilderList()
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.int
getRoutesCount()
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.List<Route>
getRoutesList()
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.RouteOrBuilder
getRoutesOrBuilder(int index)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.List<? extends RouteOrBuilder>
getRoutesOrBuilderList()
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.boolean
hasFallbackInfo()
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation.boolean
hasGeocodingResults()
Contains geocoding response info for waypoints specified as addresses.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ComputeRoutesResponse.Builder
mergeFallbackInfo(FallbackInfo value)
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation.ComputeRoutesResponse.Builder
mergeFrom(ComputeRoutesResponse other)
ComputeRoutesResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ComputeRoutesResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ComputeRoutesResponse.Builder
mergeGeocodingResults(GeocodingResults value)
Contains geocoding response info for waypoints specified as addresses.ComputeRoutesResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ComputeRoutesResponse.Builder
removeRoutes(int index)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.ComputeRoutesResponse.Builder
setFallbackInfo(FallbackInfo value)
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation.ComputeRoutesResponse.Builder
setFallbackInfo(FallbackInfo.Builder builderForValue)
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation.ComputeRoutesResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ComputeRoutesResponse.Builder
setGeocodingResults(GeocodingResults value)
Contains geocoding response info for waypoints specified as addresses.ComputeRoutesResponse.Builder
setGeocodingResults(GeocodingResults.Builder builderForValue)
Contains geocoding response info for waypoints specified as addresses.ComputeRoutesResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ComputeRoutesResponse.Builder
setRoutes(int index, Route value)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.ComputeRoutesResponse.Builder
setRoutes(int index, Route.Builder builderForValue)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't.ComputeRoutesResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder>
-
clear
public ComputeRoutesResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder>
-
getDefaultInstanceForType
public ComputeRoutesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ComputeRoutesResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ComputeRoutesResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ComputeRoutesResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder>
-
setField
public ComputeRoutesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder>
-
clearField
public ComputeRoutesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder>
-
clearOneof
public ComputeRoutesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder>
-
setRepeatedField
public ComputeRoutesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder>
-
addRepeatedField
public ComputeRoutesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder>
-
mergeFrom
public ComputeRoutesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ComputeRoutesResponse.Builder>
-
mergeFrom
public ComputeRoutesResponse.Builder mergeFrom(ComputeRoutesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder>
-
mergeFrom
public ComputeRoutesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ComputeRoutesResponse.Builder>
- Throws:
IOException
-
getRoutesList
public List<Route> getRoutesList()
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
- Specified by:
getRoutesList
in interfaceComputeRoutesResponseOrBuilder
-
getRoutesCount
public int getRoutesCount()
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
- Specified by:
getRoutesCount
in interfaceComputeRoutesResponseOrBuilder
-
getRoutes
public Route getRoutes(int index)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
- Specified by:
getRoutes
in interfaceComputeRoutesResponseOrBuilder
-
setRoutes
public ComputeRoutesResponse.Builder setRoutes(int index, Route value)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
-
setRoutes
public ComputeRoutesResponse.Builder setRoutes(int index, Route.Builder builderForValue)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
-
addRoutes
public ComputeRoutesResponse.Builder addRoutes(Route value)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
-
addRoutes
public ComputeRoutesResponse.Builder addRoutes(int index, Route value)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
-
addRoutes
public ComputeRoutesResponse.Builder addRoutes(Route.Builder builderForValue)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
-
addRoutes
public ComputeRoutesResponse.Builder addRoutes(int index, Route.Builder builderForValue)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
-
addAllRoutes
public ComputeRoutesResponse.Builder addAllRoutes(Iterable<? extends Route> values)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
-
clearRoutes
public ComputeRoutesResponse.Builder clearRoutes()
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
-
removeRoutes
public ComputeRoutesResponse.Builder removeRoutes(int index)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
-
getRoutesBuilder
public Route.Builder getRoutesBuilder(int index)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
-
getRoutesOrBuilder
public RouteOrBuilder getRoutesOrBuilder(int index)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
- Specified by:
getRoutesOrBuilder
in interfaceComputeRoutesResponseOrBuilder
-
getRoutesOrBuilderList
public List<? extends RouteOrBuilder> getRoutesOrBuilderList()
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
- Specified by:
getRoutesOrBuilderList
in interfaceComputeRoutesResponseOrBuilder
-
addRoutesBuilder
public Route.Builder addRoutesBuilder()
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
-
addRoutesBuilder
public Route.Builder addRoutesBuilder(int index)
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
-
getRoutesBuilderList
public List<Route.Builder> getRoutesBuilderList()
Contains an array of computed routes (up to three) when you specify compute_alternatives_routes, and contains just one route when you don't. When this array contains multiple entries, the first one is the most recommended route. If the array is empty, then it means no route could be found.
repeated .google.maps.routing.v2.Route routes = 1;
-
hasFallbackInfo
public boolean hasFallbackInfo()
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation. When fallback mode is used, this field contains detailed info about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 2;
- Specified by:
hasFallbackInfo
in interfaceComputeRoutesResponseOrBuilder
- Returns:
- Whether the fallbackInfo field is set.
-
getFallbackInfo
public FallbackInfo getFallbackInfo()
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation. When fallback mode is used, this field contains detailed info about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 2;
- Specified by:
getFallbackInfo
in interfaceComputeRoutesResponseOrBuilder
- Returns:
- The fallbackInfo.
-
setFallbackInfo
public ComputeRoutesResponse.Builder setFallbackInfo(FallbackInfo value)
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation. When fallback mode is used, this field contains detailed info about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 2;
-
setFallbackInfo
public ComputeRoutesResponse.Builder setFallbackInfo(FallbackInfo.Builder builderForValue)
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation. When fallback mode is used, this field contains detailed info about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 2;
-
mergeFallbackInfo
public ComputeRoutesResponse.Builder mergeFallbackInfo(FallbackInfo value)
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation. When fallback mode is used, this field contains detailed info about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 2;
-
clearFallbackInfo
public ComputeRoutesResponse.Builder clearFallbackInfo()
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation. When fallback mode is used, this field contains detailed info about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 2;
-
getFallbackInfoBuilder
public FallbackInfo.Builder getFallbackInfoBuilder()
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation. When fallback mode is used, this field contains detailed info about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 2;
-
getFallbackInfoOrBuilder
public FallbackInfoOrBuilder getFallbackInfoOrBuilder()
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation. When fallback mode is used, this field contains detailed info about the fallback response. Otherwise this field is unset.
.google.maps.routing.v2.FallbackInfo fallback_info = 2;
- Specified by:
getFallbackInfoOrBuilder
in interfaceComputeRoutesResponseOrBuilder
-
hasGeocodingResults
public boolean hasGeocodingResults()
Contains geocoding response info for waypoints specified as addresses.
.google.maps.routing.v2.GeocodingResults geocoding_results = 3;
- Specified by:
hasGeocodingResults
in interfaceComputeRoutesResponseOrBuilder
- Returns:
- Whether the geocodingResults field is set.
-
getGeocodingResults
public GeocodingResults getGeocodingResults()
Contains geocoding response info for waypoints specified as addresses.
.google.maps.routing.v2.GeocodingResults geocoding_results = 3;
- Specified by:
getGeocodingResults
in interfaceComputeRoutesResponseOrBuilder
- Returns:
- The geocodingResults.
-
setGeocodingResults
public ComputeRoutesResponse.Builder setGeocodingResults(GeocodingResults value)
Contains geocoding response info for waypoints specified as addresses.
.google.maps.routing.v2.GeocodingResults geocoding_results = 3;
-
setGeocodingResults
public ComputeRoutesResponse.Builder setGeocodingResults(GeocodingResults.Builder builderForValue)
Contains geocoding response info for waypoints specified as addresses.
.google.maps.routing.v2.GeocodingResults geocoding_results = 3;
-
mergeGeocodingResults
public ComputeRoutesResponse.Builder mergeGeocodingResults(GeocodingResults value)
Contains geocoding response info for waypoints specified as addresses.
.google.maps.routing.v2.GeocodingResults geocoding_results = 3;
-
clearGeocodingResults
public ComputeRoutesResponse.Builder clearGeocodingResults()
Contains geocoding response info for waypoints specified as addresses.
.google.maps.routing.v2.GeocodingResults geocoding_results = 3;
-
getGeocodingResultsBuilder
public GeocodingResults.Builder getGeocodingResultsBuilder()
Contains geocoding response info for waypoints specified as addresses.
.google.maps.routing.v2.GeocodingResults geocoding_results = 3;
-
getGeocodingResultsOrBuilder
public GeocodingResultsOrBuilder getGeocodingResultsOrBuilder()
Contains geocoding response info for waypoints specified as addresses.
.google.maps.routing.v2.GeocodingResults geocoding_results = 3;
- Specified by:
getGeocodingResultsOrBuilder
in interfaceComputeRoutesResponseOrBuilder
-
setUnknownFields
public final ComputeRoutesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder>
-
mergeUnknownFields
public final ComputeRoutesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeRoutesResponse.Builder>
-
-