public static enum PolylineDetails.RoadFeatureState extends Enum<PolylineDetails.RoadFeatureState> implements com.google.protobuf.ProtocolMessageEnum
Encapsulates the states of road features along a stretch of polyline.Protobuf enum
google.maps.routing.v2.PolylineDetails.RoadFeatureState| Enum Constant and Description |
|---|
DOES_NOT_EXIST
The road feature does not exist.
|
EXISTS
The road feature exists.
|
ROAD_FEATURE_STATE_UNSPECIFIED
The road feature's state was not computed (default value).
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DOES_NOT_EXIST_VALUE
The road feature does not exist.
|
static int |
EXISTS_VALUE
The road feature exists.
|
static int |
ROAD_FEATURE_STATE_UNSPECIFIED_VALUE
The road feature's state was not computed (default value).
|
| Modifier and Type | Method and Description |
|---|---|
static PolylineDetails.RoadFeatureState |
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<PolylineDetails.RoadFeatureState> |
internalGetValueMap() |
static PolylineDetails.RoadFeatureState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PolylineDetails.RoadFeatureState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PolylineDetails.RoadFeatureState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolylineDetails.RoadFeatureState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolylineDetails.RoadFeatureState ROAD_FEATURE_STATE_UNSPECIFIED
The road feature's state was not computed (default value).
ROAD_FEATURE_STATE_UNSPECIFIED = 0;public static final PolylineDetails.RoadFeatureState EXISTS
The road feature exists.
EXISTS = 1;public static final PolylineDetails.RoadFeatureState DOES_NOT_EXIST
The road feature does not exist.
DOES_NOT_EXIST = 2;public static final PolylineDetails.RoadFeatureState UNRECOGNIZED
public static final int ROAD_FEATURE_STATE_UNSPECIFIED_VALUE
The road feature's state was not computed (default value).
ROAD_FEATURE_STATE_UNSPECIFIED = 0;public static final int EXISTS_VALUE
The road feature exists.
EXISTS = 1;public static final int DOES_NOT_EXIST_VALUE
The road feature does not exist.
DOES_NOT_EXIST = 2;public static PolylineDetails.RoadFeatureState[] values()
for (PolylineDetails.RoadFeatureState c : PolylineDetails.RoadFeatureState.values()) System.out.println(c);
public static PolylineDetails.RoadFeatureState 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 PolylineDetails.RoadFeatureState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PolylineDetails.RoadFeatureState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PolylineDetails.RoadFeatureState> 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 PolylineDetails.RoadFeatureState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.