Class Location.Builder (1.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.76.0 (latest)
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.14
- 0.1.2
publicstaticfinalclass Location.BuilderextendsGeneratedMessageV3.Builder<Location.Builder>implementsLocationOrBuilderEncapsulates a location (a geographic point, and an optional heading).
Protobuf type google.cloud.optimization.v1.Location
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Location.BuilderImplements
LocationOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicLocation.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicLocationbuild()buildPartial()
publicLocationbuildPartial()clear()
publicLocation.Builderclear()clearField(Descriptors.FieldDescriptor field)
publicLocation.BuilderclearField(Descriptors.FieldDescriptorfield)clearHeading()
publicLocation.BuilderclearHeading()The compass heading associated with the direction of the flow of traffic. This value is used to specify the side of the road to use for pickup and drop-off. Heading values can be from 0 to 360, where 0 specifies a heading of due North, 90 specifies a heading of due East, etc.
optional int32 heading = 2;
This builder for chaining.
clearLatLng()
publicLocation.BuilderclearLatLng()The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
publicLocation.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clone()
publicLocation.Builderclone()getDefaultInstanceForType()
publicLocationgetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getHeading()
publicintgetHeading()The compass heading associated with the direction of the flow of traffic. This value is used to specify the side of the road to use for pickup and drop-off. Heading values can be from 0 to 360, where 0 specifies a heading of due North, 90 specifies a heading of due East, etc.
optional int32 heading = 2;
The heading.
getLatLng()
publicLatLnggetLatLng()The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1;
The latLng.
getLatLngBuilder()
publicLatLng.BuildergetLatLngBuilder()The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1;
getLatLngOrBuilder()
publicLatLngOrBuildergetLatLngOrBuilder()The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1;
hasHeading()
publicbooleanhasHeading()The compass heading associated with the direction of the flow of traffic. This value is used to specify the side of the road to use for pickup and drop-off. Heading values can be from 0 to 360, where 0 specifies a heading of due North, 90 specifies a heading of due East, etc.
optional int32 heading = 2;
Whether the heading field is set.
hasLatLng()
publicbooleanhasLatLng()The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1;
Whether the latLng field is set.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeFrom(Location other)
publicLocation.BuildermergeFrom(Locationother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicLocation.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicLocation.BuildermergeFrom(Messageother)mergeLatLng(LatLng value)
publicLocation.BuildermergeLatLng(LatLngvalue)The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1;
com.google.type.LatLngmergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalLocation.BuildermergeUnknownFields(UnknownFieldSetunknownFields)setField(Descriptors.FieldDescriptor field, Object value)
publicLocation.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setHeading(int value)
publicLocation.BuildersetHeading(intvalue)The compass heading associated with the direction of the flow of traffic. This value is used to specify the side of the road to use for pickup and drop-off. Heading values can be from 0 to 360, where 0 specifies a heading of due North, 90 specifies a heading of due East, etc.
optional int32 heading = 2;
This builder for chaining.
setLatLng(LatLng value)
publicLocation.BuildersetLatLng(LatLngvalue)The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1;
com.google.type.LatLngsetLatLng(LatLng.Builder builderForValue)
publicLocation.BuildersetLatLng(LatLng.BuilderbuilderForValue)The waypoint's geographic coordinates.
.google.type.LatLng lat_lng = 1;
com.google.type.LatLng.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicLocation.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setUnknownFields(UnknownFieldSet unknownFields)
publicfinalLocation.BuildersetUnknownFields(UnknownFieldSetunknownFields)