com.google.transit.realtime
Class GtfsRealtime.EntitySelector.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.EntitySelector,GtfsRealtime.EntitySelector.Builder>
                  extended by com.google.transit.realtime.GtfsRealtime.EntitySelector.Builder
All Implemented Interfaces:
com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.EntitySelector>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GtfsRealtime.EntitySelectorOrBuilder, Cloneable
Enclosing class:
GtfsRealtime.EntitySelector

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

Protobuf type transit_realtime.EntitySelector

 A selector for an entity in a GTFS feed.
 


Method Summary
 GtfsRealtime.EntitySelector build()
           
 GtfsRealtime.EntitySelector buildPartial()
           
 GtfsRealtime.EntitySelector.Builder clear()
           
 GtfsRealtime.EntitySelector.Builder clearAgencyId()
          optional string agency_id = 1;
 GtfsRealtime.EntitySelector.Builder clearRouteId()
          optional string route_id = 2;
 GtfsRealtime.EntitySelector.Builder clearRouteType()
          optional int32 route_type = 3;
 GtfsRealtime.EntitySelector.Builder clearStopId()
          optional string stop_id = 5;
 GtfsRealtime.EntitySelector.Builder clearTrip()
          optional .transit_realtime.TripDescriptor trip = 4;
 GtfsRealtime.EntitySelector.Builder clone()
           
 String getAgencyId()
          optional string agency_id = 1;
 com.google.protobuf.ByteString getAgencyIdBytes()
          optional string agency_id = 1;
 GtfsRealtime.EntitySelector getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 String getRouteId()
          optional string route_id = 2;
 com.google.protobuf.ByteString getRouteIdBytes()
          optional string route_id = 2;
 int getRouteType()
          optional int32 route_type = 3;
 String getStopId()
          optional string stop_id = 5;
 com.google.protobuf.ByteString getStopIdBytes()
          optional string stop_id = 5;
 GtfsRealtime.TripDescriptor getTrip()
          optional .transit_realtime.TripDescriptor trip = 4;
 GtfsRealtime.TripDescriptor.Builder getTripBuilder()
          optional .transit_realtime.TripDescriptor trip = 4;
 GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder()
          optional .transit_realtime.TripDescriptor trip = 4;
 boolean hasAgencyId()
          optional string agency_id = 1;
 boolean hasRouteId()
          optional string route_id = 2;
 boolean hasRouteType()
          optional int32 route_type = 3;
 boolean hasStopId()
          optional string stop_id = 5;
 boolean hasTrip()
          optional .transit_realtime.TripDescriptor trip = 4;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 GtfsRealtime.EntitySelector.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 GtfsRealtime.EntitySelector.Builder mergeFrom(GtfsRealtime.EntitySelector other)
           
 GtfsRealtime.EntitySelector.Builder mergeFrom(com.google.protobuf.Message other)
           
 GtfsRealtime.EntitySelector.Builder mergeTrip(GtfsRealtime.TripDescriptor value)
          optional .transit_realtime.TripDescriptor trip = 4;
 GtfsRealtime.EntitySelector.Builder setAgencyId(String value)
          optional string agency_id = 1;
 GtfsRealtime.EntitySelector.Builder setAgencyIdBytes(com.google.protobuf.ByteString value)
          optional string agency_id = 1;
 GtfsRealtime.EntitySelector.Builder setRouteId(String value)
          optional string route_id = 2;
 GtfsRealtime.EntitySelector.Builder setRouteIdBytes(com.google.protobuf.ByteString value)
          optional string route_id = 2;
 GtfsRealtime.EntitySelector.Builder setRouteType(int value)
          optional int32 route_type = 3;
 GtfsRealtime.EntitySelector.Builder setStopId(String value)
          optional string stop_id = 5;
 GtfsRealtime.EntitySelector.Builder setStopIdBytes(com.google.protobuf.ByteString value)
          optional string stop_id = 5;
 GtfsRealtime.EntitySelector.Builder setTrip(GtfsRealtime.TripDescriptor.Builder builderForValue)
          optional .transit_realtime.TripDescriptor trip = 4;
 GtfsRealtime.EntitySelector.Builder setTrip(GtfsRealtime.TripDescriptor value)
          optional .transit_realtime.TripDescriptor trip = 4;
 
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.EntitySelector.Builder>

clear

public GtfsRealtime.EntitySelector.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.EntitySelector,GtfsRealtime.EntitySelector.Builder>

clone

public GtfsRealtime.EntitySelector.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.EntitySelector,GtfsRealtime.EntitySelector.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.EntitySelector.Builder>

getDefaultInstanceForType

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

build

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

buildPartial

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

mergeFrom

public GtfsRealtime.EntitySelector.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.EntitySelector.Builder>

mergeFrom

public GtfsRealtime.EntitySelector.Builder mergeFrom(GtfsRealtime.EntitySelector 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.EntitySelector,GtfsRealtime.EntitySelector.Builder>

mergeFrom

public GtfsRealtime.EntitySelector.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.EntitySelector.Builder>
Throws:
IOException

hasAgencyId

public boolean hasAgencyId()
optional string agency_id = 1;
 The values of the fields should correspond to the appropriate fields in the
 GTFS feed.
 At least one specifier must be given. If several are given, then the
 matching has to apply to all the given specifiers.
 

Specified by:
hasAgencyId in interface GtfsRealtime.EntitySelectorOrBuilder

getAgencyId

public String getAgencyId()
optional string agency_id = 1;
 The values of the fields should correspond to the appropriate fields in the
 GTFS feed.
 At least one specifier must be given. If several are given, then the
 matching has to apply to all the given specifiers.
 

Specified by:
getAgencyId in interface GtfsRealtime.EntitySelectorOrBuilder

getAgencyIdBytes

public com.google.protobuf.ByteString getAgencyIdBytes()
optional string agency_id = 1;
 The values of the fields should correspond to the appropriate fields in the
 GTFS feed.
 At least one specifier must be given. If several are given, then the
 matching has to apply to all the given specifiers.
 

Specified by:
getAgencyIdBytes in interface GtfsRealtime.EntitySelectorOrBuilder

setAgencyId

public GtfsRealtime.EntitySelector.Builder setAgencyId(String value)
optional string agency_id = 1;
 The values of the fields should correspond to the appropriate fields in the
 GTFS feed.
 At least one specifier must be given. If several are given, then the
 matching has to apply to all the given specifiers.
 


clearAgencyId

public GtfsRealtime.EntitySelector.Builder clearAgencyId()
optional string agency_id = 1;
 The values of the fields should correspond to the appropriate fields in the
 GTFS feed.
 At least one specifier must be given. If several are given, then the
 matching has to apply to all the given specifiers.
 


setAgencyIdBytes

public GtfsRealtime.EntitySelector.Builder setAgencyIdBytes(com.google.protobuf.ByteString value)
optional string agency_id = 1;
 The values of the fields should correspond to the appropriate fields in the
 GTFS feed.
 At least one specifier must be given. If several are given, then the
 matching has to apply to all the given specifiers.
 


hasRouteId

public boolean hasRouteId()
optional string route_id = 2;

Specified by:
hasRouteId in interface GtfsRealtime.EntitySelectorOrBuilder

getRouteId

public String getRouteId()
optional string route_id = 2;

Specified by:
getRouteId in interface GtfsRealtime.EntitySelectorOrBuilder

getRouteIdBytes

public com.google.protobuf.ByteString getRouteIdBytes()
optional string route_id = 2;

Specified by:
getRouteIdBytes in interface GtfsRealtime.EntitySelectorOrBuilder

setRouteId

public GtfsRealtime.EntitySelector.Builder setRouteId(String value)
optional string route_id = 2;


clearRouteId

public GtfsRealtime.EntitySelector.Builder clearRouteId()
optional string route_id = 2;


setRouteIdBytes

public GtfsRealtime.EntitySelector.Builder setRouteIdBytes(com.google.protobuf.ByteString value)
optional string route_id = 2;


hasRouteType

public boolean hasRouteType()
optional int32 route_type = 3;
 corresponds to route_type in GTFS.
 

Specified by:
hasRouteType in interface GtfsRealtime.EntitySelectorOrBuilder

getRouteType

public int getRouteType()
optional int32 route_type = 3;
 corresponds to route_type in GTFS.
 

Specified by:
getRouteType in interface GtfsRealtime.EntitySelectorOrBuilder

setRouteType

public GtfsRealtime.EntitySelector.Builder setRouteType(int value)
optional int32 route_type = 3;
 corresponds to route_type in GTFS.
 


clearRouteType

public GtfsRealtime.EntitySelector.Builder clearRouteType()
optional int32 route_type = 3;
 corresponds to route_type in GTFS.
 


hasTrip

public boolean hasTrip()
optional .transit_realtime.TripDescriptor trip = 4;

Specified by:
hasTrip in interface GtfsRealtime.EntitySelectorOrBuilder

getTrip

public GtfsRealtime.TripDescriptor getTrip()
optional .transit_realtime.TripDescriptor trip = 4;

Specified by:
getTrip in interface GtfsRealtime.EntitySelectorOrBuilder

setTrip

public GtfsRealtime.EntitySelector.Builder setTrip(GtfsRealtime.TripDescriptor value)
optional .transit_realtime.TripDescriptor trip = 4;


setTrip

public GtfsRealtime.EntitySelector.Builder setTrip(GtfsRealtime.TripDescriptor.Builder builderForValue)
optional .transit_realtime.TripDescriptor trip = 4;


mergeTrip

public GtfsRealtime.EntitySelector.Builder mergeTrip(GtfsRealtime.TripDescriptor value)
optional .transit_realtime.TripDescriptor trip = 4;


clearTrip

public GtfsRealtime.EntitySelector.Builder clearTrip()
optional .transit_realtime.TripDescriptor trip = 4;


getTripBuilder

public GtfsRealtime.TripDescriptor.Builder getTripBuilder()
optional .transit_realtime.TripDescriptor trip = 4;


getTripOrBuilder

public GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder()
optional .transit_realtime.TripDescriptor trip = 4;

Specified by:
getTripOrBuilder in interface GtfsRealtime.EntitySelectorOrBuilder

hasStopId

public boolean hasStopId()
optional string stop_id = 5;

Specified by:
hasStopId in interface GtfsRealtime.EntitySelectorOrBuilder

getStopId

public String getStopId()
optional string stop_id = 5;

Specified by:
getStopId in interface GtfsRealtime.EntitySelectorOrBuilder

getStopIdBytes

public com.google.protobuf.ByteString getStopIdBytes()
optional string stop_id = 5;

Specified by:
getStopIdBytes in interface GtfsRealtime.EntitySelectorOrBuilder

setStopId

public GtfsRealtime.EntitySelector.Builder setStopId(String value)
optional string stop_id = 5;


clearStopId

public GtfsRealtime.EntitySelector.Builder clearStopId()
optional string stop_id = 5;


setStopIdBytes

public GtfsRealtime.EntitySelector.Builder setStopIdBytes(com.google.protobuf.ByteString value)
optional string stop_id = 5;



Copyright © 2015. All Rights Reserved.