public static final class GtfsRealtime.EntitySelector.Builder extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.EntitySelector,GtfsRealtime.EntitySelector.Builder> implements GtfsRealtime.EntitySelectorOrBuilder
transit_realtime.EntitySelector
A selector for an entity in a GTFS feed.
| Modifier and Type | Method and Description |
|---|---|
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; |
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.EntitySelector.Builder>public GtfsRealtime.EntitySelector.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.EntitySelector,GtfsRealtime.EntitySelector.Builder>public GtfsRealtime.EntitySelector.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.EntitySelector,GtfsRealtime.EntitySelector.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.EntitySelector.Builder>public GtfsRealtime.EntitySelector getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.EntitySelector>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GtfsRealtime.EntitySelector build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GtfsRealtime.EntitySelector buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GtfsRealtime.EntitySelector.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.EntitySelector.Builder>public GtfsRealtime.EntitySelector.Builder mergeFrom(GtfsRealtime.EntitySelector other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<GtfsRealtime.EntitySelector,GtfsRealtime.EntitySelector.Builder>public GtfsRealtime.EntitySelector.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.EntitySelector.Builder>IOExceptionpublic 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.
hasAgencyId in interface GtfsRealtime.EntitySelectorOrBuilderpublic 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.
getAgencyId in interface GtfsRealtime.EntitySelectorOrBuilderpublic 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.
getAgencyIdBytes in interface GtfsRealtime.EntitySelectorOrBuilderpublic 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.
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.
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.
public boolean hasRouteId()
optional string route_id = 2;hasRouteId in interface GtfsRealtime.EntitySelectorOrBuilderpublic String getRouteId()
optional string route_id = 2;getRouteId in interface GtfsRealtime.EntitySelectorOrBuilderpublic com.google.protobuf.ByteString getRouteIdBytes()
optional string route_id = 2;getRouteIdBytes in interface GtfsRealtime.EntitySelectorOrBuilderpublic GtfsRealtime.EntitySelector.Builder setRouteId(String value)
optional string route_id = 2;public GtfsRealtime.EntitySelector.Builder clearRouteId()
optional string route_id = 2;public GtfsRealtime.EntitySelector.Builder setRouteIdBytes(com.google.protobuf.ByteString value)
optional string route_id = 2;public boolean hasRouteType()
optional int32 route_type = 3;
corresponds to route_type in GTFS.
hasRouteType in interface GtfsRealtime.EntitySelectorOrBuilderpublic int getRouteType()
optional int32 route_type = 3;
corresponds to route_type in GTFS.
getRouteType in interface GtfsRealtime.EntitySelectorOrBuilderpublic GtfsRealtime.EntitySelector.Builder setRouteType(int value)
optional int32 route_type = 3;
corresponds to route_type in GTFS.
public GtfsRealtime.EntitySelector.Builder clearRouteType()
optional int32 route_type = 3;
corresponds to route_type in GTFS.
public boolean hasTrip()
optional .transit_realtime.TripDescriptor trip = 4;hasTrip in interface GtfsRealtime.EntitySelectorOrBuilderpublic GtfsRealtime.TripDescriptor getTrip()
optional .transit_realtime.TripDescriptor trip = 4;getTrip in interface GtfsRealtime.EntitySelectorOrBuilderpublic GtfsRealtime.EntitySelector.Builder setTrip(GtfsRealtime.TripDescriptor value)
optional .transit_realtime.TripDescriptor trip = 4;public GtfsRealtime.EntitySelector.Builder setTrip(GtfsRealtime.TripDescriptor.Builder builderForValue)
optional .transit_realtime.TripDescriptor trip = 4;public GtfsRealtime.EntitySelector.Builder mergeTrip(GtfsRealtime.TripDescriptor value)
optional .transit_realtime.TripDescriptor trip = 4;public GtfsRealtime.EntitySelector.Builder clearTrip()
optional .transit_realtime.TripDescriptor trip = 4;public GtfsRealtime.TripDescriptor.Builder getTripBuilder()
optional .transit_realtime.TripDescriptor trip = 4;public GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder()
optional .transit_realtime.TripDescriptor trip = 4;getTripOrBuilder in interface GtfsRealtime.EntitySelectorOrBuilderpublic boolean hasStopId()
optional string stop_id = 5;hasStopId in interface GtfsRealtime.EntitySelectorOrBuilderpublic String getStopId()
optional string stop_id = 5;getStopId in interface GtfsRealtime.EntitySelectorOrBuilderpublic com.google.protobuf.ByteString getStopIdBytes()
optional string stop_id = 5;getStopIdBytes in interface GtfsRealtime.EntitySelectorOrBuilderpublic GtfsRealtime.EntitySelector.Builder setStopId(String value)
optional string stop_id = 5;public GtfsRealtime.EntitySelector.Builder clearStopId()
optional string stop_id = 5;public GtfsRealtime.EntitySelector.Builder setStopIdBytes(com.google.protobuf.ByteString value)
optional string stop_id = 5;Copyright © 2018. All rights reserved.