com.google.transit.realtime
Class GtfsRealtime.VehicleDescriptor.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<BuilderType>
              extended by com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.VehicleDescriptor,GtfsRealtime.VehicleDescriptor.Builder>
                  extended by com.google.transit.realtime.GtfsRealtime.VehicleDescriptor.Builder
All Implemented Interfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.VehicleDescriptor>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GtfsRealtime.VehicleDescriptorOrBuilder, Cloneable
Enclosing class:
GtfsRealtime.VehicleDescriptor

public static final class GtfsRealtime.VehicleDescriptor.Builder
extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.VehicleDescriptor,GtfsRealtime.VehicleDescriptor.Builder>
implements GtfsRealtime.VehicleDescriptorOrBuilder

Protobuf type transit_realtime.VehicleDescriptor

 Identification information for the vehicle performing the trip.
 


Method Summary
 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;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, addRepeatedField, clearExtension, clearField, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, parseUnknownField, setExtension, setExtension, setField, setRepeatedField
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
clearOneof, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getUnknownFields, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtensionCount, hasExtension
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GtfsRealtime.VehicleDescriptor.Builder>

clear

public GtfsRealtime.VehicleDescriptor.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.VehicleDescriptor,GtfsRealtime.VehicleDescriptor.Builder>

clone

public GtfsRealtime.VehicleDescriptor.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.VehicleDescriptor,GtfsRealtime.VehicleDescriptor.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GtfsRealtime.VehicleDescriptor.Builder>

getDefaultInstanceForType

public GtfsRealtime.VehicleDescriptor getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.VehicleDescriptor>
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public GtfsRealtime.VehicleDescriptor build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public GtfsRealtime.VehicleDescriptor buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public GtfsRealtime.VehicleDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.VehicleDescriptor.Builder>

mergeFrom

public GtfsRealtime.VehicleDescriptor.Builder mergeFrom(GtfsRealtime.VehicleDescriptor other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.VehicleDescriptor,GtfsRealtime.VehicleDescriptor.Builder>

mergeFrom

public GtfsRealtime.VehicleDescriptor.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.VehicleDescriptor.Builder>
Throws:
IOException

hasId

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.
 

Specified by:
hasId in interface GtfsRealtime.VehicleDescriptorOrBuilder

getId

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.
 

Specified by:
getId in interface GtfsRealtime.VehicleDescriptorOrBuilder

getIdBytes

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.
 

Specified by:
getIdBytes in interface GtfsRealtime.VehicleDescriptorOrBuilder

setId

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.
 


clearId

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.
 


setIdBytes

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.
 


hasLabel

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.
 

Specified by:
hasLabel in interface GtfsRealtime.VehicleDescriptorOrBuilder

getLabel

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.
 

Specified by:
getLabel in interface GtfsRealtime.VehicleDescriptorOrBuilder

getLabelBytes

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.
 

Specified by:
getLabelBytes in interface GtfsRealtime.VehicleDescriptorOrBuilder

setLabel

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.
 


clearLabel

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.
 


setLabelBytes

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.
 


hasLicensePlate

public boolean hasLicensePlate()
optional string license_plate = 3;
 The license plate of the vehicle.
 

Specified by:
hasLicensePlate in interface GtfsRealtime.VehicleDescriptorOrBuilder

getLicensePlate

public String getLicensePlate()
optional string license_plate = 3;
 The license plate of the vehicle.
 

Specified by:
getLicensePlate in interface GtfsRealtime.VehicleDescriptorOrBuilder

getLicensePlateBytes

public com.google.protobuf.ByteString getLicensePlateBytes()
optional string license_plate = 3;
 The license plate of the vehicle.
 

Specified by:
getLicensePlateBytes in interface GtfsRealtime.VehicleDescriptorOrBuilder

setLicensePlate

public GtfsRealtime.VehicleDescriptor.Builder setLicensePlate(String value)
optional string license_plate = 3;
 The license plate of the vehicle.
 


clearLicensePlate

public GtfsRealtime.VehicleDescriptor.Builder clearLicensePlate()
optional string license_plate = 3;
 The license plate of the vehicle.
 


setLicensePlateBytes

public GtfsRealtime.VehicleDescriptor.Builder setLicensePlateBytes(com.google.protobuf.ByteString value)
optional string license_plate = 3;
 The license plate of the vehicle.
 



Copyright © 2015. All Rights Reserved.