public static final class GtfsRealtime.VehicleDescriptor extends com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.VehicleDescriptor> implements GtfsRealtime.VehicleDescriptorOrBuilder
transit_realtime.VehicleDescriptor
Identification information for the vehicle performing the trip.
| Modifier and Type | Class and Description |
|---|---|
static class |
GtfsRealtime.VehicleDescriptor.Builder
Protobuf type
transit_realtime.VehicleDescriptor |
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWritercom.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
ID_FIELD_NUMBER |
static int |
LABEL_FIELD_NUMBER |
static int |
LICENSE_PLATE_FIELD_NUMBER |
static com.google.protobuf.Parser<GtfsRealtime.VehicleDescriptor> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
static GtfsRealtime.VehicleDescriptor |
getDefaultInstance() |
GtfsRealtime.VehicleDescriptor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getId()
optional string id = 1; |
com.google.protobuf.ByteString |
getIdBytes()
optional string id = 1; |
String |
getLabel()
optional string label = 2; |
com.google.protobuf.ByteString |
getLabelBytes()
optional string label = 2; |
String |
getLicensePlate()
optional string license_plate = 3; |
com.google.protobuf.ByteString |
getLicensePlateBytes()
optional string license_plate = 3; |
com.google.protobuf.Parser<GtfsRealtime.VehicleDescriptor> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasId()
optional string id = 1; |
boolean |
hasLabel()
optional string label = 2; |
boolean |
hasLicensePlate()
optional string license_plate = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GtfsRealtime.VehicleDescriptor.Builder |
newBuilder() |
static GtfsRealtime.VehicleDescriptor.Builder |
newBuilder(GtfsRealtime.VehicleDescriptor prototype) |
GtfsRealtime.VehicleDescriptor.Builder |
newBuilderForType() |
protected GtfsRealtime.VehicleDescriptor.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static GtfsRealtime.VehicleDescriptor |
parseDelimitedFrom(InputStream input) |
static GtfsRealtime.VehicleDescriptor |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.VehicleDescriptor |
parseFrom(byte[] data) |
static GtfsRealtime.VehicleDescriptor |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.VehicleDescriptor |
parseFrom(com.google.protobuf.ByteString data) |
static GtfsRealtime.VehicleDescriptor |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.VehicleDescriptor |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GtfsRealtime.VehicleDescriptor |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.VehicleDescriptor |
parseFrom(InputStream input) |
static GtfsRealtime.VehicleDescriptor |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GtfsRealtime.VehicleDescriptor.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownFieldgetDescriptorForType, getOneofFieldDescriptor, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtensionCount, hasExtensionpublic static com.google.protobuf.Parser<GtfsRealtime.VehicleDescriptor> PARSER
public static final int ID_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
public static final int LICENSE_PLATE_FIELD_NUMBER
public static GtfsRealtime.VehicleDescriptor getDefaultInstance()
public GtfsRealtime.VehicleDescriptor getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.VehicleDescriptor>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<GtfsRealtime.VehicleDescriptor> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasId()
optional string id = 1;
Internal system identification of the vehicle. Should be unique per vehicle, and can be used for tracking the vehicle as it proceeds through the system.
hasId in interface GtfsRealtime.VehicleDescriptorOrBuilderpublic String getId()
optional string id = 1;
Internal system identification of the vehicle. Should be unique per vehicle, and can be used for tracking the vehicle as it proceeds through the system.
getId in interface GtfsRealtime.VehicleDescriptorOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
optional string id = 1;
Internal system identification of the vehicle. Should be unique per vehicle, and can be used for tracking the vehicle as it proceeds through the system.
getIdBytes in interface GtfsRealtime.VehicleDescriptorOrBuilderpublic boolean hasLabel()
optional string label = 2;
User visible label, i.e., something that must be shown to the passenger to help identify the correct vehicle.
hasLabel in interface GtfsRealtime.VehicleDescriptorOrBuilderpublic String getLabel()
optional string label = 2;
User visible label, i.e., something that must be shown to the passenger to help identify the correct vehicle.
getLabel in interface GtfsRealtime.VehicleDescriptorOrBuilderpublic com.google.protobuf.ByteString getLabelBytes()
optional string label = 2;
User visible label, i.e., something that must be shown to the passenger to help identify the correct vehicle.
getLabelBytes in interface GtfsRealtime.VehicleDescriptorOrBuilderpublic boolean hasLicensePlate()
optional string license_plate = 3;
The license plate of the vehicle.
hasLicensePlate in interface GtfsRealtime.VehicleDescriptorOrBuilderpublic String getLicensePlate()
optional string license_plate = 3;
The license plate of the vehicle.
getLicensePlate in interface GtfsRealtime.VehicleDescriptorOrBuilderpublic com.google.protobuf.ByteString getLicensePlateBytes()
optional string license_plate = 3;
The license plate of the vehicle.
getLicensePlateBytes in interface GtfsRealtime.VehicleDescriptorOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.VehicleDescriptor>public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static GtfsRealtime.VehicleDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.VehicleDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.VehicleDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.VehicleDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.VehicleDescriptor parseFrom(InputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.VehicleDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GtfsRealtime.VehicleDescriptor parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.VehicleDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GtfsRealtime.VehicleDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.VehicleDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GtfsRealtime.VehicleDescriptor.Builder newBuilder()
public GtfsRealtime.VehicleDescriptor.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GtfsRealtime.VehicleDescriptor.Builder newBuilder(GtfsRealtime.VehicleDescriptor prototype)
public GtfsRealtime.VehicleDescriptor.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GtfsRealtime.VehicleDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2018. All rights reserved.