public static final class GroundingChunk.Maps.Route extends GeneratedMessage implements GroundingChunk.Maps.RouteOrBuilderRoute information from Google Maps.
Protobuf type google.cloud.aiplatform.v1.GroundingChunk.Maps.Route
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GroundingChunk.Maps.RouteImplements
GroundingChunk.Maps.RouteOrBuilderStatic Fields
DISTANCE_METERS_FIELD_NUMBER
public static final int DISTANCE_METERS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ENCODED_POLYLINE_FIELD_NUMBER
public static final int ENCODED_POLYLINE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static GroundingChunk.Maps.Route getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static GroundingChunk.Maps.Route.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route.Builder |
|
newBuilder(GroundingChunk.Maps.Route prototype)
public static GroundingChunk.Maps.Route.Builder newBuilder(GroundingChunk.Maps.Route prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
GroundingChunk.Maps.Route |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route.Builder |
|
parseDelimitedFrom(InputStream input)
public static GroundingChunk.Maps.Route parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GroundingChunk.Maps.Route parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static GroundingChunk.Maps.Route parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GroundingChunk.Maps.Route parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static GroundingChunk.Maps.Route parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GroundingChunk.Maps.Route parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static GroundingChunk.Maps.Route parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GroundingChunk.Maps.Route parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static GroundingChunk.Maps.Route parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GroundingChunk.Maps.Route parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static GroundingChunk.Maps.Route parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GroundingChunk.Maps.Route parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<GroundingChunk.Maps.Route> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Route> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public GroundingChunk.Maps.Route getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route |
|
getDistanceMeters()
public int getDistanceMeters()The total distance of the route, in meters.
int32 distance_meters = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The distanceMeters. |
getDuration()
public Duration getDuration()The total duration of the route.
.google.protobuf.Duration duration = 2;
| Returns | |
|---|---|
| Type | Description |
Duration |
The duration. |
getDurationOrBuilder()
public DurationOrBuilder getDurationOrBuilder()The total duration of the route.
.google.protobuf.Duration duration = 2;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getEncodedPolyline()
public String getEncodedPolyline()An encoded polyline of the route. See https://developers.google.com/maps/documentation/utilities/polylinealgorithm
string encoded_polyline = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The encodedPolyline. |
getEncodedPolylineBytes()
public ByteString getEncodedPolylineBytes()An encoded polyline of the route. See https://developers.google.com/maps/documentation/utilities/polylinealgorithm
string encoded_polyline = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for encodedPolyline. |
getParserForType()
public Parser<GroundingChunk.Maps.Route> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Route> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasDuration()
public boolean hasDuration()The total duration of the route.
.google.protobuf.Duration duration = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the duration field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public GroundingChunk.Maps.Route.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected GroundingChunk.Maps.Route.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route.Builder |
|
toBuilder()
public GroundingChunk.Maps.Route.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.Maps.Route.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|