public static final class GtfsRealtime.VehicleDescriptor.Builder extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.VehicleDescriptor,GtfsRealtime.VehicleDescriptor.Builder> implements GtfsRealtime.VehicleDescriptorOrBuilder
transit_realtime.VehicleDescriptor
Identification information for the vehicle performing the trip.
| Modifier and Type | Method and Description |
|---|---|
GtfsRealtime.VehicleDescriptor |
build() |
GtfsRealtime.VehicleDescriptor |
buildPartial() |
GtfsRealtime.VehicleDescriptor.Builder |
clear() |
GtfsRealtime.VehicleDescriptor.Builder |
clearId()
optional string id = 1; |
GtfsRealtime.VehicleDescriptor.Builder |
clearLabel()
optional string label = 2; |
GtfsRealtime.VehicleDescriptor.Builder |
clearLicensePlate()
optional string license_plate = 3; |
GtfsRealtime.VehicleDescriptor.Builder |
clone() |
GtfsRealtime.VehicleDescriptor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
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() |
GtfsRealtime.VehicleDescriptor.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GtfsRealtime.VehicleDescriptor.Builder |
mergeFrom(GtfsRealtime.VehicleDescriptor other) |
GtfsRealtime.VehicleDescriptor.Builder |
mergeFrom(com.google.protobuf.Message other) |
GtfsRealtime.VehicleDescriptor.Builder |
setId(String value)
optional string id = 1; |
GtfsRealtime.VehicleDescriptor.Builder |
setIdBytes(com.google.protobuf.ByteString value)
optional string id = 1; |
GtfsRealtime.VehicleDescriptor.Builder |
setLabel(String value)
optional string label = 2; |
GtfsRealtime.VehicleDescriptor.Builder |
setLabelBytes(com.google.protobuf.ByteString value)
optional string label = 2; |
GtfsRealtime.VehicleDescriptor.Builder |
setLicensePlate(String value)
optional string license_plate = 3; |
GtfsRealtime.VehicleDescriptor.Builder |
setLicensePlateBytes(com.google.protobuf.ByteString value)
optional string license_plate = 3; |
addExtension, addRepeatedField, clearExtension, clearField, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, parseUnknownField, setExtension, setExtension, setField, setRepeatedFieldclearOneof, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getUnknownFields, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GtfsRealtime.VehicleDescriptor.Builder>public GtfsRealtime.VehicleDescriptor.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.VehicleDescriptor,GtfsRealtime.VehicleDescriptor.Builder>public GtfsRealtime.VehicleDescriptor.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.VehicleDescriptor,GtfsRealtime.VehicleDescriptor.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GtfsRealtime.VehicleDescriptor.Builder>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 GtfsRealtime.VehicleDescriptor build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GtfsRealtime.VehicleDescriptor buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GtfsRealtime.VehicleDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.VehicleDescriptor.Builder>public GtfsRealtime.VehicleDescriptor.Builder mergeFrom(GtfsRealtime.VehicleDescriptor other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.VehicleDescriptor,GtfsRealtime.VehicleDescriptor.Builder>public GtfsRealtime.VehicleDescriptor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.VehicleDescriptor.Builder>IOExceptionpublic 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 GtfsRealtime.VehicleDescriptor.Builder setId(String value)
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.
public GtfsRealtime.VehicleDescriptor.Builder clearId()
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.
public GtfsRealtime.VehicleDescriptor.Builder setIdBytes(com.google.protobuf.ByteString value)
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.
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.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 GtfsRealtime.VehicleDescriptor.Builder setLabel(String value)
optional string label = 2;
User visible label, i.e., something that must be shown to the passenger to help identify the correct vehicle.
public GtfsRealtime.VehicleDescriptor.Builder clearLabel()
optional string label = 2;
User visible label, i.e., something that must be shown to the passenger to help identify the correct vehicle.
public GtfsRealtime.VehicleDescriptor.Builder setLabelBytes(com.google.protobuf.ByteString value)
optional string label = 2;
User visible label, i.e., something that must be shown to the passenger to help identify the correct vehicle.
public 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 GtfsRealtime.VehicleDescriptor.Builder setLicensePlate(String value)
optional string license_plate = 3;
The license plate of the vehicle.
public GtfsRealtime.VehicleDescriptor.Builder clearLicensePlate()
optional string license_plate = 3;
The license plate of the vehicle.
public GtfsRealtime.VehicleDescriptor.Builder setLicensePlateBytes(com.google.protobuf.ByteString value)
optional string license_plate = 3;
The license plate of the vehicle.
Copyright © 2018. All rights reserved.