- 1.51.0 (latest)
- 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
public static final class ShipmentRoute.EncodedPolyline.Builder extends GeneratedMessageV3.Builder<ShipmentRoute.EncodedPolyline.Builder> implements ShipmentRoute.EncodedPolylineOrBuilder
The encoded representation of a polyline. More information on polyline encoding can be found here: https://developers.google.com/maps/documentation/utilities/polylinealgorithm https://developers.google.com/maps/documentation/javascript/reference/geometry#encoding.
Protobuf type google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ShipmentRoute.EncodedPolyline.BuilderImplements
ShipmentRoute.EncodedPolylineOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ShipmentRoute.EncodedPolyline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ShipmentRoute.EncodedPolyline.Builder |
build()
public ShipmentRoute.EncodedPolyline build()
Type | Description |
ShipmentRoute.EncodedPolyline |
buildPartial()
public ShipmentRoute.EncodedPolyline buildPartial()
Type | Description |
ShipmentRoute.EncodedPolyline |
clear()
public ShipmentRoute.EncodedPolyline.Builder clear()
Type | Description |
ShipmentRoute.EncodedPolyline.Builder |
clearField(Descriptors.FieldDescriptor field)
public ShipmentRoute.EncodedPolyline.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ShipmentRoute.EncodedPolyline.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ShipmentRoute.EncodedPolyline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ShipmentRoute.EncodedPolyline.Builder |
clearPoints()
public ShipmentRoute.EncodedPolyline.Builder clearPoints()
String representing encoded points of the polyline.
string points = 1;
Type | Description |
ShipmentRoute.EncodedPolyline.Builder | This builder for chaining. |
clone()
public ShipmentRoute.EncodedPolyline.Builder clone()
Type | Description |
ShipmentRoute.EncodedPolyline.Builder |
getDefaultInstanceForType()
public ShipmentRoute.EncodedPolyline getDefaultInstanceForType()
Type | Description |
ShipmentRoute.EncodedPolyline |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPoints()
public String getPoints()
String representing encoded points of the polyline.
string points = 1;
Type | Description |
String | The points. |
getPointsBytes()
public ByteString getPointsBytes()
String representing encoded points of the polyline.
string points = 1;
Type | Description |
ByteString | The bytes for points. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ShipmentRoute.EncodedPolyline other)
public ShipmentRoute.EncodedPolyline.Builder mergeFrom(ShipmentRoute.EncodedPolyline other)
Name | Description |
other | ShipmentRoute.EncodedPolyline |
Type | Description |
ShipmentRoute.EncodedPolyline.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ShipmentRoute.EncodedPolyline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ShipmentRoute.EncodedPolyline.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ShipmentRoute.EncodedPolyline.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ShipmentRoute.EncodedPolyline.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ShipmentRoute.EncodedPolyline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ShipmentRoute.EncodedPolyline.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ShipmentRoute.EncodedPolyline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ShipmentRoute.EncodedPolyline.Builder |
setPoints(String value)
public ShipmentRoute.EncodedPolyline.Builder setPoints(String value)
String representing encoded points of the polyline.
string points = 1;
Name | Description |
value | String The points to set. |
Type | Description |
ShipmentRoute.EncodedPolyline.Builder | This builder for chaining. |
setPointsBytes(ByteString value)
public ShipmentRoute.EncodedPolyline.Builder setPointsBytes(ByteString value)
String representing encoded points of the polyline.
string points = 1;
Name | Description |
value | ByteString The bytes for points to set. |
Type | Description |
ShipmentRoute.EncodedPolyline.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ShipmentRoute.EncodedPolyline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ShipmentRoute.EncodedPolyline.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ShipmentRoute.EncodedPolyline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ShipmentRoute.EncodedPolyline.Builder |