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, setRepeatedField
clearOneof, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getUnknownFields, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.VehicleDescriptor,GtfsRealtime.VehicleDescriptor.Builder>
public GtfsRealtime.VehicleDescriptor.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public GtfsRealtime.VehicleDescriptor build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public GtfsRealtime.VehicleDescriptor buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public GtfsRealtime.VehicleDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.VehicleDescriptor.Builder>
IOException
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 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.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 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.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 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.