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, 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.EntitySelector.Builder>
public GtfsRealtime.EntitySelector.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.EntitySelector,GtfsRealtime.EntitySelector.Builder>
public GtfsRealtime.EntitySelector.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.EntitySelector,GtfsRealtime.EntitySelector.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.EntitySelector.Builder>
public GtfsRealtime.EntitySelector getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.EntitySelector>
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public GtfsRealtime.EntitySelector build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public GtfsRealtime.EntitySelector buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public GtfsRealtime.EntitySelector.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<GtfsRealtime.EntitySelector.Builder>
IOException
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.
hasAgencyId
in interface GtfsRealtime.EntitySelectorOrBuilder
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.
getAgencyId
in interface GtfsRealtime.EntitySelectorOrBuilder
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.
getAgencyIdBytes
in interface GtfsRealtime.EntitySelectorOrBuilder
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.
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.EntitySelectorOrBuilder
public String getRouteId()
optional string route_id = 2;
getRouteId
in interface GtfsRealtime.EntitySelectorOrBuilder
public com.google.protobuf.ByteString getRouteIdBytes()
optional string route_id = 2;
getRouteIdBytes
in interface GtfsRealtime.EntitySelectorOrBuilder
public 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.EntitySelectorOrBuilder
public int getRouteType()
optional int32 route_type = 3;
corresponds to route_type in GTFS.
getRouteType
in interface GtfsRealtime.EntitySelectorOrBuilder
public 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.EntitySelectorOrBuilder
public GtfsRealtime.TripDescriptor getTrip()
optional .transit_realtime.TripDescriptor trip = 4;
getTrip
in interface GtfsRealtime.EntitySelectorOrBuilder
public 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.EntitySelectorOrBuilder
public boolean hasStopId()
optional string stop_id = 5;
hasStopId
in interface GtfsRealtime.EntitySelectorOrBuilder
public String getStopId()
optional string stop_id = 5;
getStopId
in interface GtfsRealtime.EntitySelectorOrBuilder
public com.google.protobuf.ByteString getStopIdBytes()
optional string stop_id = 5;
getStopIdBytes
in interface GtfsRealtime.EntitySelectorOrBuilder
public 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 © 2019. All rights reserved.