public static enum ComputeRouteMatrixRequest.ExtraComputation extends Enum<ComputeRouteMatrixRequest.ExtraComputation> implements com.google.protobuf.ProtocolMessageEnum
Extra computations to perform while completing the request.Protobuf enum
google.maps.routing.v2.ComputeRouteMatrixRequest.ExtraComputation| Enum Constant and Description |
|---|
EXTRA_COMPUTATION_UNSPECIFIED
Not used.
|
TOLLS
Toll information for the matrix element(s).
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EXTRA_COMPUTATION_UNSPECIFIED_VALUE
Not used.
|
static int |
TOLLS_VALUE
Toll information for the matrix element(s).
|
| Modifier and Type | Method and Description |
|---|---|
static ComputeRouteMatrixRequest.ExtraComputation |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ComputeRouteMatrixRequest.ExtraComputation> |
internalGetValueMap() |
static ComputeRouteMatrixRequest.ExtraComputation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ComputeRouteMatrixRequest.ExtraComputation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ComputeRouteMatrixRequest.ExtraComputation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComputeRouteMatrixRequest.ExtraComputation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComputeRouteMatrixRequest.ExtraComputation EXTRA_COMPUTATION_UNSPECIFIED
Not used. Requests containing this value will fail.
EXTRA_COMPUTATION_UNSPECIFIED = 0;public static final ComputeRouteMatrixRequest.ExtraComputation TOLLS
Toll information for the matrix element(s).
TOLLS = 1;public static final ComputeRouteMatrixRequest.ExtraComputation UNRECOGNIZED
public static final int EXTRA_COMPUTATION_UNSPECIFIED_VALUE
Not used. Requests containing this value will fail.
EXTRA_COMPUTATION_UNSPECIFIED = 0;public static final int TOLLS_VALUE
Toll information for the matrix element(s).
TOLLS = 1;public static ComputeRouteMatrixRequest.ExtraComputation[] values()
for (ComputeRouteMatrixRequest.ExtraComputation c : ComputeRouteMatrixRequest.ExtraComputation.values()) System.out.println(c);
public static ComputeRouteMatrixRequest.ExtraComputation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ComputeRouteMatrixRequest.ExtraComputation valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ComputeRouteMatrixRequest.ExtraComputation forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ComputeRouteMatrixRequest.ExtraComputation> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ComputeRouteMatrixRequest.ExtraComputation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.