Package com.google.maps.routing.v2
Class PolylineDetails.FlyoverInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PolylineDetails.FlyoverInfo.Builder>
com.google.maps.routing.v2.PolylineDetails.FlyoverInfo.Builder
- All Implemented Interfaces:
PolylineDetails.FlyoverInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PolylineDetails.FlyoverInfo
public static final class PolylineDetails.FlyoverInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PolylineDetails.FlyoverInfo.Builder>
implements PolylineDetails.FlyoverInfoOrBuilder
Encapsulates information about flyovers along the polyline.Protobuf type
google.maps.routing.v2.PolylineDetails.FlyoverInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.The location of flyover related information along the polyline.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.intOutput only.The location of flyover related information along the polyline.The location of flyover related information along the polyline.The location of flyover related information along the polyline.booleanThe location of flyover related information along the polyline.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The location of flyover related information along the polyline.Output only.setFlyoverPresenceValue(int value) Output only.The location of flyover related information along the polyline.setPolylinePointIndex(PolylineDetails.PolylinePointIndex.Builder builderForValue) The location of flyover related information along the polyline.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PolylineDetails.FlyoverInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PolylineDetails.FlyoverInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PolylineDetails.FlyoverInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PolylineDetails.FlyoverInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PolylineDetails.FlyoverInfo.Builder>
-
mergeFrom
public PolylineDetails.FlyoverInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PolylineDetails.FlyoverInfo.Builder>- Throws:
IOException
-
getFlyoverPresenceValue
public int getFlyoverPresenceValue()Output only. Denotes whether a flyover exists for a given stretch of the polyline.
.google.maps.routing.v2.PolylineDetails.RoadFeatureState flyover_presence = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFlyoverPresenceValuein interfacePolylineDetails.FlyoverInfoOrBuilder- Returns:
- The enum numeric value on the wire for flyoverPresence.
-
setFlyoverPresenceValue
Output only. Denotes whether a flyover exists for a given stretch of the polyline.
.google.maps.routing.v2.PolylineDetails.RoadFeatureState flyover_presence = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for flyoverPresence to set.- Returns:
- This builder for chaining.
-
getFlyoverPresence
Output only. Denotes whether a flyover exists for a given stretch of the polyline.
.google.maps.routing.v2.PolylineDetails.RoadFeatureState flyover_presence = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFlyoverPresencein interfacePolylineDetails.FlyoverInfoOrBuilder- Returns:
- The flyoverPresence.
-
setFlyoverPresence
public PolylineDetails.FlyoverInfo.Builder setFlyoverPresence(PolylineDetails.RoadFeatureState value) Output only. Denotes whether a flyover exists for a given stretch of the polyline.
.google.maps.routing.v2.PolylineDetails.RoadFeatureState flyover_presence = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The flyoverPresence to set.- Returns:
- This builder for chaining.
-
clearFlyoverPresence
Output only. Denotes whether a flyover exists for a given stretch of the polyline.
.google.maps.routing.v2.PolylineDetails.RoadFeatureState flyover_presence = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasPolylinePointIndex
public boolean hasPolylinePointIndex()The location of flyover related information along the polyline.
.google.maps.routing.v2.PolylineDetails.PolylinePointIndex polyline_point_index = 2;- Specified by:
hasPolylinePointIndexin interfacePolylineDetails.FlyoverInfoOrBuilder- Returns:
- Whether the polylinePointIndex field is set.
-
getPolylinePointIndex
The location of flyover related information along the polyline.
.google.maps.routing.v2.PolylineDetails.PolylinePointIndex polyline_point_index = 2;- Specified by:
getPolylinePointIndexin interfacePolylineDetails.FlyoverInfoOrBuilder- Returns:
- The polylinePointIndex.
-
setPolylinePointIndex
public PolylineDetails.FlyoverInfo.Builder setPolylinePointIndex(PolylineDetails.PolylinePointIndex value) The location of flyover related information along the polyline.
.google.maps.routing.v2.PolylineDetails.PolylinePointIndex polyline_point_index = 2; -
setPolylinePointIndex
public PolylineDetails.FlyoverInfo.Builder setPolylinePointIndex(PolylineDetails.PolylinePointIndex.Builder builderForValue) The location of flyover related information along the polyline.
.google.maps.routing.v2.PolylineDetails.PolylinePointIndex polyline_point_index = 2; -
mergePolylinePointIndex
public PolylineDetails.FlyoverInfo.Builder mergePolylinePointIndex(PolylineDetails.PolylinePointIndex value) The location of flyover related information along the polyline.
.google.maps.routing.v2.PolylineDetails.PolylinePointIndex polyline_point_index = 2; -
clearPolylinePointIndex
The location of flyover related information along the polyline.
.google.maps.routing.v2.PolylineDetails.PolylinePointIndex polyline_point_index = 2; -
getPolylinePointIndexBuilder
The location of flyover related information along the polyline.
.google.maps.routing.v2.PolylineDetails.PolylinePointIndex polyline_point_index = 2; -
getPolylinePointIndexOrBuilder
The location of flyover related information along the polyline.
.google.maps.routing.v2.PolylineDetails.PolylinePointIndex polyline_point_index = 2;- Specified by:
getPolylinePointIndexOrBuilderin interfacePolylineDetails.FlyoverInfoOrBuilder
-