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.ExtensionWriter
com.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, parseUnknownField
getDescriptorForType, getOneofFieldDescriptor, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExtension, getExtension, getExtensionCount, hasExtension
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<GtfsRealtime.VehicleDescriptor> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public 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.VehicleDescriptorOrBuilder
public 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.VehicleDescriptorOrBuilder
public 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.VehicleDescriptorOrBuilder
public 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.VehicleDescriptorOrBuilder
public 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.VehicleDescriptorOrBuilder
public 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.VehicleDescriptorOrBuilder
public boolean hasLicensePlate()
optional string license_plate = 3;
The license plate of the vehicle.
hasLicensePlate
in interface GtfsRealtime.VehicleDescriptorOrBuilder
public String getLicensePlate()
optional string license_plate = 3;
The license plate of the vehicle.
getLicensePlate
in interface GtfsRealtime.VehicleDescriptorOrBuilder
public com.google.protobuf.ByteString getLicensePlateBytes()
optional string license_plate = 3;
The license plate of the vehicle.
getLicensePlateBytes
in interface GtfsRealtime.VehicleDescriptorOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
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.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static GtfsRealtime.VehicleDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GtfsRealtime.VehicleDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GtfsRealtime.VehicleDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GtfsRealtime.VehicleDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static GtfsRealtime.VehicleDescriptor parseFrom(InputStream input) throws IOException
IOException
public static GtfsRealtime.VehicleDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GtfsRealtime.VehicleDescriptor parseDelimitedFrom(InputStream input) throws IOException
IOException
public static GtfsRealtime.VehicleDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GtfsRealtime.VehicleDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static GtfsRealtime.VehicleDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static GtfsRealtime.VehicleDescriptor.Builder newBuilder()
public GtfsRealtime.VehicleDescriptor.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static GtfsRealtime.VehicleDescriptor.Builder newBuilder(GtfsRealtime.VehicleDescriptor prototype)
public GtfsRealtime.VehicleDescriptor.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected GtfsRealtime.VehicleDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2019. All rights reserved.