required .transit_realtime.FeedHeader header = 1;
+ * @return Whether the header field is set.
*/
boolean hasHeader();
/**
@@ -33,6 +34,7 @@ public interface FeedMessageOrBuilder extends
*
*
* required .transit_realtime.FeedHeader header = 1;
+ * @return The header.
*/
com.google.transit.realtime.GtfsRealtime.FeedHeader getHeader();
/**
@@ -103,11 +105,12 @@ com.google.transit.realtime.GtfsRealtime.FeedEntityOrBuilder getEntityOrBuilder(
*
* Protobuf type {@code transit_realtime.FeedMessage}
*/
- public static final class FeedMessage extends
+ public static final class FeedMessage extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
FeedMessage> implements
// @@protoc_insertion_point(message_implements:transit_realtime.FeedMessage)
FeedMessageOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use FeedMessage.newBuilder() to construct.
private FeedMessage(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderrequired .transit_realtime.FeedHeader header = 1;
+ * @return Whether the header field is set.
*/
+ @java.lang.Override
public boolean hasHeader() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -212,7 +228,9 @@ public boolean hasHeader() {
*
*
* required .transit_realtime.FeedHeader header = 1;
+ * @return The header.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.FeedHeader getHeader() {
return header_ == null ? com.google.transit.realtime.GtfsRealtime.FeedHeader.getDefaultInstance() : header_;
}
@@ -223,6 +241,7 @@ public com.google.transit.realtime.GtfsRealtime.FeedHeader getHeader() {
*
* required .transit_realtime.FeedHeader header = 1;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.FeedHeaderOrBuilder getHeaderOrBuilder() {
return header_ == null ? com.google.transit.realtime.GtfsRealtime.FeedHeader.getDefaultInstance() : header_;
}
@@ -236,6 +255,7 @@ public com.google.transit.realtime.GtfsRealtime.FeedHeaderOrBuilder getHeaderOrB
*
* repeated .transit_realtime.FeedEntity entity = 2;
*/
+ @java.lang.Override
public java.util.Listrepeated .transit_realtime.FeedEntity entity = 2;
*/
+ @java.lang.Override
public java.util.List extends com.google.transit.realtime.GtfsRealtime.FeedEntityOrBuilder>
getEntityOrBuilderList() {
return entity_;
@@ -257,6 +278,7 @@ public java.util.Listrepeated .transit_realtime.FeedEntity entity = 2;
*/
+ @java.lang.Override
public int getEntityCount() {
return entity_.size();
}
@@ -267,6 +289,7 @@ public int getEntityCount() {
*
* repeated .transit_realtime.FeedEntity entity = 2;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.FeedEntity getEntity(int index) {
return entity_.get(index);
}
@@ -277,12 +300,14 @@ public com.google.transit.realtime.GtfsRealtime.FeedEntity getEntity(int index)
*
* repeated .transit_realtime.FeedEntity entity = 2;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.FeedEntityOrBuilder getEntityOrBuilder(
int index) {
return entity_.get(index);
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -310,12 +335,13 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.ExtendableMessagerequired .transit_realtime.FeedHeader header = 1;
+ * @return Whether the header field is set.
*/
public boolean hasHeader() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -727,6 +785,7 @@ public boolean hasHeader() {
*
*
* required .transit_realtime.FeedHeader header = 1;
+ * @return The header.
*/
public com.google.transit.realtime.GtfsRealtime.FeedHeader getHeader() {
if (headerBuilder_ == null) {
@@ -782,7 +841,7 @@ public Builder setHeader(
*/
public Builder mergeHeader(com.google.transit.realtime.GtfsRealtime.FeedHeader value) {
if (headerBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
+ if (((bitField0_ & 0x00000001) != 0) &&
header_ != null &&
header_ != com.google.transit.realtime.GtfsRealtime.FeedHeader.getDefaultInstance()) {
header_ =
@@ -865,7 +924,7 @@ public com.google.transit.realtime.GtfsRealtime.FeedHeaderOrBuilder getHeaderOrB
private java.util.Listrequired string gtfs_realtime_version = 1;
+ * @return Whether the gtfsRealtimeVersion field is set.
*/
boolean hasGtfsRealtimeVersion();
/**
@@ -1243,6 +1307,7 @@ public interface FeedHeaderOrBuilder extends
*
*
* required string gtfs_realtime_version = 1;
+ * @return The gtfsRealtimeVersion.
*/
java.lang.String getGtfsRealtimeVersion();
/**
@@ -1252,16 +1317,19 @@ public interface FeedHeaderOrBuilder extends
*
*
* required string gtfs_realtime_version = 1;
+ * @return The bytes for gtfsRealtimeVersion.
*/
com.google.protobuf.ByteString
getGtfsRealtimeVersionBytes();
/**
* optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];
+ * @return Whether the incrementality field is set.
*/
boolean hasIncrementality();
/**
* optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];
+ * @return The incrementality.
*/
com.google.transit.realtime.GtfsRealtime.FeedHeader.Incrementality getIncrementality();
@@ -1273,6 +1341,7 @@ public interface FeedHeaderOrBuilder extends
*
*
* optional uint64 timestamp = 3;
+ * @return Whether the timestamp field is set.
*/
boolean hasTimestamp();
/**
@@ -1283,6 +1352,7 @@ public interface FeedHeaderOrBuilder extends
*
*
* optional uint64 timestamp = 3;
+ * @return The timestamp.
*/
long getTimestamp();
}
@@ -1293,11 +1363,12 @@ public interface FeedHeaderOrBuilder extends
*
* Protobuf type {@code transit_realtime.FeedHeader}
*/
- public static final class FeedHeader extends
+ public static final class FeedHeader extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
FeedHeader> implements
// @@protoc_insertion_point(message_implements:transit_realtime.FeedHeader)
FeedHeaderOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use FeedHeader.newBuilder() to construct.
private FeedHeader(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderrequired string gtfs_realtime_version = 1;
+ * @return Whether the gtfsRealtimeVersion field is set.
*/
+ @java.lang.Override
public boolean hasGtfsRealtimeVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -1501,7 +1591,9 @@ public boolean hasGtfsRealtimeVersion() {
*
*
* required string gtfs_realtime_version = 1;
+ * @return The gtfsRealtimeVersion.
*/
+ @java.lang.Override
public java.lang.String getGtfsRealtimeVersion() {
java.lang.Object ref = gtfsRealtimeVersion_;
if (ref instanceof java.lang.String) {
@@ -1523,7 +1615,9 @@ public java.lang.String getGtfsRealtimeVersion() {
*
*
* required string gtfs_realtime_version = 1;
+ * @return The bytes for gtfsRealtimeVersion.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getGtfsRealtimeVersionBytes() {
java.lang.Object ref = gtfsRealtimeVersion_;
@@ -1542,14 +1636,17 @@ public java.lang.String getGtfsRealtimeVersion() {
private int incrementality_;
/**
* optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];
+ * @return Whether the incrementality field is set.
*/
- public boolean hasIncrementality() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ @java.lang.Override public boolean hasIncrementality() {
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];
+ * @return The incrementality.
*/
- public com.google.transit.realtime.GtfsRealtime.FeedHeader.Incrementality getIncrementality() {
+ @java.lang.Override public com.google.transit.realtime.GtfsRealtime.FeedHeader.Incrementality getIncrementality() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.FeedHeader.Incrementality result = com.google.transit.realtime.GtfsRealtime.FeedHeader.Incrementality.valueOf(incrementality_);
return result == null ? com.google.transit.realtime.GtfsRealtime.FeedHeader.Incrementality.FULL_DATASET : result;
}
@@ -1564,9 +1661,11 @@ public com.google.transit.realtime.GtfsRealtime.FeedHeader.Incrementality getInc
*
*
* optional uint64 timestamp = 3;
+ * @return Whether the timestamp field is set.
*/
+ @java.lang.Override
public boolean hasTimestamp() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -1576,12 +1675,15 @@ public boolean hasTimestamp() {
*
*
* optional uint64 timestamp = 3;
+ * @return The timestamp.
*/
+ @java.lang.Override
public long getTimestamp() {
return timestamp_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -1599,37 +1701,39 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.ExtendableMessagerequired string gtfs_realtime_version = 1;
+ * @return Whether the gtfsRealtimeVersion field is set.
*/
public boolean hasGtfsRealtimeVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -1987,6 +2122,7 @@ public boolean hasGtfsRealtimeVersion() {
*
*
* required string gtfs_realtime_version = 1;
+ * @return The gtfsRealtimeVersion.
*/
public java.lang.String getGtfsRealtimeVersion() {
java.lang.Object ref = gtfsRealtimeVersion_;
@@ -2009,6 +2145,7 @@ public java.lang.String getGtfsRealtimeVersion() {
*
*
* required string gtfs_realtime_version = 1;
+ * @return The bytes for gtfsRealtimeVersion.
*/
public com.google.protobuf.ByteString
getGtfsRealtimeVersionBytes() {
@@ -2030,6 +2167,8 @@ public java.lang.String getGtfsRealtimeVersion() {
*
*
* required string gtfs_realtime_version = 1;
+ * @param value The gtfsRealtimeVersion to set.
+ * @return This builder for chaining.
*/
public Builder setGtfsRealtimeVersion(
java.lang.String value) {
@@ -2048,6 +2187,7 @@ public Builder setGtfsRealtimeVersion(
*
*
* required string gtfs_realtime_version = 1;
+ * @return This builder for chaining.
*/
public Builder clearGtfsRealtimeVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -2062,6 +2202,8 @@ public Builder clearGtfsRealtimeVersion() {
*
*
* required string gtfs_realtime_version = 1;
+ * @param value The bytes for gtfsRealtimeVersion to set.
+ * @return This builder for chaining.
*/
public Builder setGtfsRealtimeVersionBytes(
com.google.protobuf.ByteString value) {
@@ -2077,19 +2219,25 @@ public Builder setGtfsRealtimeVersionBytes(
private int incrementality_ = 0;
/**
* optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];
+ * @return Whether the incrementality field is set.
*/
- public boolean hasIncrementality() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ @java.lang.Override public boolean hasIncrementality() {
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];
+ * @return The incrementality.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.FeedHeader.Incrementality getIncrementality() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.FeedHeader.Incrementality result = com.google.transit.realtime.GtfsRealtime.FeedHeader.Incrementality.valueOf(incrementality_);
return result == null ? com.google.transit.realtime.GtfsRealtime.FeedHeader.Incrementality.FULL_DATASET : result;
}
/**
* optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];
+ * @param value The incrementality to set.
+ * @return This builder for chaining.
*/
public Builder setIncrementality(com.google.transit.realtime.GtfsRealtime.FeedHeader.Incrementality value) {
if (value == null) {
@@ -2102,6 +2250,7 @@ public Builder setIncrementality(com.google.transit.realtime.GtfsRealtime.FeedHe
}
/**
* optional .transit_realtime.FeedHeader.Incrementality incrementality = 2 [default = FULL_DATASET];
+ * @return This builder for chaining.
*/
public Builder clearIncrementality() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -2119,9 +2268,11 @@ public Builder clearIncrementality() {
*
*
* optional uint64 timestamp = 3;
+ * @return Whether the timestamp field is set.
*/
+ @java.lang.Override
public boolean hasTimestamp() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -2131,7 +2282,9 @@ public boolean hasTimestamp() {
*
*
* optional uint64 timestamp = 3;
+ * @return The timestamp.
*/
+ @java.lang.Override
public long getTimestamp() {
return timestamp_;
}
@@ -2143,6 +2296,8 @@ public long getTimestamp() {
*
*
* optional uint64 timestamp = 3;
+ * @param value The timestamp to set.
+ * @return This builder for chaining.
*/
public Builder setTimestamp(long value) {
bitField0_ |= 0x00000004;
@@ -2158,6 +2313,7 @@ public Builder setTimestamp(long value) {
*
*
* optional uint64 timestamp = 3;
+ * @return This builder for chaining.
*/
public Builder clearTimestamp() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -2165,11 +2321,13 @@ public Builder clearTimestamp() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -2191,11 +2349,12 @@ public static com.google.transit.realtime.GtfsRealtime.FeedHeader getDefaultInst
@java.lang.Deprecated public static final com.google.protobuf.Parserrequired string id = 1;
+ * @return Whether the id field is set.
*/
boolean hasId();
/**
@@ -2247,6 +2408,7 @@ public interface FeedEntityOrBuilder extends
*
*
* required string id = 1;
+ * @return The id.
*/
java.lang.String getId();
/**
@@ -2262,6 +2424,7 @@ public interface FeedEntityOrBuilder extends
*
*
* required string id = 1;
+ * @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
@@ -2273,6 +2436,7 @@ public interface FeedEntityOrBuilder extends
*
*
* optional bool is_deleted = 2 [default = false];
+ * @return Whether the isDeleted field is set.
*/
boolean hasIsDeleted();
/**
@@ -2282,6 +2446,7 @@ public interface FeedEntityOrBuilder extends
*
*
* optional bool is_deleted = 2 [default = false];
+ * @return The isDeleted.
*/
boolean getIsDeleted();
@@ -2292,6 +2457,7 @@ public interface FeedEntityOrBuilder extends
*
*
* optional .transit_realtime.TripUpdate trip_update = 3;
+ * @return Whether the tripUpdate field is set.
*/
boolean hasTripUpdate();
/**
@@ -2301,6 +2467,7 @@ public interface FeedEntityOrBuilder extends
*
*
* optional .transit_realtime.TripUpdate trip_update = 3;
+ * @return The tripUpdate.
*/
com.google.transit.realtime.GtfsRealtime.TripUpdate getTripUpdate();
/**
@@ -2315,10 +2482,12 @@ public interface FeedEntityOrBuilder extends
/**
* optional .transit_realtime.VehiclePosition vehicle = 4;
+ * @return Whether the vehicle field is set.
*/
boolean hasVehicle();
/**
* optional .transit_realtime.VehiclePosition vehicle = 4;
+ * @return The vehicle.
*/
com.google.transit.realtime.GtfsRealtime.VehiclePosition getVehicle();
/**
@@ -2328,10 +2497,12 @@ public interface FeedEntityOrBuilder extends
/**
* optional .transit_realtime.Alert alert = 5;
+ * @return Whether the alert field is set.
*/
boolean hasAlert();
/**
* optional .transit_realtime.Alert alert = 5;
+ * @return The alert.
*/
com.google.transit.realtime.GtfsRealtime.Alert getAlert();
/**
@@ -2346,18 +2517,25 @@ public interface FeedEntityOrBuilder extends
*
* Protobuf type {@code transit_realtime.FeedEntity}
*/
- public static final class FeedEntity extends
+ public static final class FeedEntity extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
FeedEntity> implements
// @@protoc_insertion_point(message_implements:transit_realtime.FeedEntity)
FeedEntityOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use FeedEntity.newBuilder() to construct.
private FeedEntity(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderrequired string id = 1;
+ * @return Whether the id field is set.
*/
+ @java.lang.Override
public boolean hasId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -2495,7 +2679,9 @@ public boolean hasId() {
*
*
* required string id = 1;
+ * @return The id.
*/
+ @java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
@@ -2523,7 +2709,9 @@ public java.lang.String getId() {
*
*
* required string id = 1;
+ * @return The bytes for id.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
@@ -2547,9 +2735,11 @@ public java.lang.String getId() {
*
*
* optional bool is_deleted = 2 [default = false];
+ * @return Whether the isDeleted field is set.
*/
+ @java.lang.Override
public boolean hasIsDeleted() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -2558,7 +2748,9 @@ public boolean hasIsDeleted() {
*
*
* optional bool is_deleted = 2 [default = false];
+ * @return The isDeleted.
*/
+ @java.lang.Override
public boolean getIsDeleted() {
return isDeleted_;
}
@@ -2572,9 +2764,11 @@ public boolean getIsDeleted() {
*
*
* optional .transit_realtime.TripUpdate trip_update = 3;
+ * @return Whether the tripUpdate field is set.
*/
+ @java.lang.Override
public boolean hasTripUpdate() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -2583,7 +2777,9 @@ public boolean hasTripUpdate() {
*
*
* optional .transit_realtime.TripUpdate trip_update = 3;
+ * @return The tripUpdate.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripUpdate getTripUpdate() {
return tripUpdate_ == null ? com.google.transit.realtime.GtfsRealtime.TripUpdate.getDefaultInstance() : tripUpdate_;
}
@@ -2595,6 +2791,7 @@ public com.google.transit.realtime.GtfsRealtime.TripUpdate getTripUpdate() {
*
* optional .transit_realtime.TripUpdate trip_update = 3;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripUpdateOrBuilder getTripUpdateOrBuilder() {
return tripUpdate_ == null ? com.google.transit.realtime.GtfsRealtime.TripUpdate.getDefaultInstance() : tripUpdate_;
}
@@ -2603,19 +2800,24 @@ public com.google.transit.realtime.GtfsRealtime.TripUpdateOrBuilder getTripUpdat
private com.google.transit.realtime.GtfsRealtime.VehiclePosition vehicle_;
/**
* optional .transit_realtime.VehiclePosition vehicle = 4;
+ * @return Whether the vehicle field is set.
*/
+ @java.lang.Override
public boolean hasVehicle() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .transit_realtime.VehiclePosition vehicle = 4;
+ * @return The vehicle.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.VehiclePosition getVehicle() {
return vehicle_ == null ? com.google.transit.realtime.GtfsRealtime.VehiclePosition.getDefaultInstance() : vehicle_;
}
/**
* optional .transit_realtime.VehiclePosition vehicle = 4;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.VehiclePositionOrBuilder getVehicleOrBuilder() {
return vehicle_ == null ? com.google.transit.realtime.GtfsRealtime.VehiclePosition.getDefaultInstance() : vehicle_;
}
@@ -2624,24 +2826,30 @@ public com.google.transit.realtime.GtfsRealtime.VehiclePositionOrBuilder getVehi
private com.google.transit.realtime.GtfsRealtime.Alert alert_;
/**
* optional .transit_realtime.Alert alert = 5;
+ * @return Whether the alert field is set.
*/
+ @java.lang.Override
public boolean hasAlert() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .transit_realtime.Alert alert = 5;
+ * @return The alert.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.Alert getAlert() {
return alert_ == null ? com.google.transit.realtime.GtfsRealtime.Alert.getDefaultInstance() : alert_;
}
/**
* optional .transit_realtime.Alert alert = 5;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.AlertOrBuilder getAlertOrBuilder() {
return alert_ == null ? com.google.transit.realtime.GtfsRealtime.Alert.getDefaultInstance() : alert_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -2677,51 +2885,53 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.ExtendableMessagerequired string id = 1;
+ * @return Whether the id field is set.
*/
public boolean hasId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -3170,6 +3411,7 @@ public boolean hasId() {
*
*
* required string id = 1;
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -3198,6 +3440,7 @@ public java.lang.String getId() {
*
*
* required string id = 1;
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
@@ -3225,6 +3468,8 @@ public java.lang.String getId() {
*
*
* required string id = 1;
+ * @param value The id to set.
+ * @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
@@ -3249,6 +3494,7 @@ public Builder setId(
*
*
* required string id = 1;
+ * @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -3269,6 +3515,8 @@ public Builder clearId() {
*
*
* required string id = 1;
+ * @param value The bytes for id to set.
+ * @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
@@ -3289,9 +3537,11 @@ public Builder setIdBytes(
*
*
* optional bool is_deleted = 2 [default = false];
+ * @return Whether the isDeleted field is set.
*/
+ @java.lang.Override
public boolean hasIsDeleted() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -3300,7 +3550,9 @@ public boolean hasIsDeleted() {
*
*
* optional bool is_deleted = 2 [default = false];
+ * @return The isDeleted.
*/
+ @java.lang.Override
public boolean getIsDeleted() {
return isDeleted_;
}
@@ -3311,6 +3563,8 @@ public boolean getIsDeleted() {
*
*
* optional bool is_deleted = 2 [default = false];
+ * @param value The isDeleted to set.
+ * @return This builder for chaining.
*/
public Builder setIsDeleted(boolean value) {
bitField0_ |= 0x00000002;
@@ -3325,6 +3579,7 @@ public Builder setIsDeleted(boolean value) {
*
*
* optional bool is_deleted = 2 [default = false];
+ * @return This builder for chaining.
*/
public Builder clearIsDeleted() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -3333,7 +3588,7 @@ public Builder clearIsDeleted() {
return this;
}
- private com.google.transit.realtime.GtfsRealtime.TripUpdate tripUpdate_ = null;
+ private com.google.transit.realtime.GtfsRealtime.TripUpdate tripUpdate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.TripUpdate, com.google.transit.realtime.GtfsRealtime.TripUpdate.Builder, com.google.transit.realtime.GtfsRealtime.TripUpdateOrBuilder> tripUpdateBuilder_;
/**
@@ -3343,9 +3598,10 @@ public Builder clearIsDeleted() {
*
*
* optional .transit_realtime.TripUpdate trip_update = 3;
+ * @return Whether the tripUpdate field is set.
*/
public boolean hasTripUpdate() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -3354,6 +3610,7 @@ public boolean hasTripUpdate() {
*
*
* optional .transit_realtime.TripUpdate trip_update = 3;
+ * @return The tripUpdate.
*/
public com.google.transit.realtime.GtfsRealtime.TripUpdate getTripUpdate() {
if (tripUpdateBuilder_ == null) {
@@ -3412,7 +3669,7 @@ public Builder setTripUpdate(
*/
public Builder mergeTripUpdate(com.google.transit.realtime.GtfsRealtime.TripUpdate value) {
if (tripUpdateBuilder_ == null) {
- if (((bitField0_ & 0x00000004) == 0x00000004) &&
+ if (((bitField0_ & 0x00000004) != 0) &&
tripUpdate_ != null &&
tripUpdate_ != com.google.transit.realtime.GtfsRealtime.TripUpdate.getDefaultInstance()) {
tripUpdate_ =
@@ -3496,17 +3753,19 @@ public com.google.transit.realtime.GtfsRealtime.TripUpdateOrBuilder getTripUpdat
return tripUpdateBuilder_;
}
- private com.google.transit.realtime.GtfsRealtime.VehiclePosition vehicle_ = null;
+ private com.google.transit.realtime.GtfsRealtime.VehiclePosition vehicle_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.VehiclePosition, com.google.transit.realtime.GtfsRealtime.VehiclePosition.Builder, com.google.transit.realtime.GtfsRealtime.VehiclePositionOrBuilder> vehicleBuilder_;
/**
* optional .transit_realtime.VehiclePosition vehicle = 4;
+ * @return Whether the vehicle field is set.
*/
public boolean hasVehicle() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .transit_realtime.VehiclePosition vehicle = 4;
+ * @return The vehicle.
*/
public com.google.transit.realtime.GtfsRealtime.VehiclePosition getVehicle() {
if (vehicleBuilder_ == null) {
@@ -3550,7 +3809,7 @@ public Builder setVehicle(
*/
public Builder mergeVehicle(com.google.transit.realtime.GtfsRealtime.VehiclePosition value) {
if (vehicleBuilder_ == null) {
- if (((bitField0_ & 0x00000008) == 0x00000008) &&
+ if (((bitField0_ & 0x00000008) != 0) &&
vehicle_ != null &&
vehicle_ != com.google.transit.realtime.GtfsRealtime.VehiclePosition.getDefaultInstance()) {
vehicle_ =
@@ -3614,17 +3873,19 @@ public com.google.transit.realtime.GtfsRealtime.VehiclePositionOrBuilder getVehi
return vehicleBuilder_;
}
- private com.google.transit.realtime.GtfsRealtime.Alert alert_ = null;
+ private com.google.transit.realtime.GtfsRealtime.Alert alert_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.Alert, com.google.transit.realtime.GtfsRealtime.Alert.Builder, com.google.transit.realtime.GtfsRealtime.AlertOrBuilder> alertBuilder_;
/**
* optional .transit_realtime.Alert alert = 5;
+ * @return Whether the alert field is set.
*/
public boolean hasAlert() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .transit_realtime.Alert alert = 5;
+ * @return The alert.
*/
public com.google.transit.realtime.GtfsRealtime.Alert getAlert() {
if (alertBuilder_ == null) {
@@ -3668,7 +3929,7 @@ public Builder setAlert(
*/
public Builder mergeAlert(com.google.transit.realtime.GtfsRealtime.Alert value) {
if (alertBuilder_ == null) {
- if (((bitField0_ & 0x00000010) == 0x00000010) &&
+ if (((bitField0_ & 0x00000010) != 0) &&
alert_ != null &&
alert_ != com.google.transit.realtime.GtfsRealtime.Alert.getDefaultInstance()) {
alert_ =
@@ -3731,11 +3992,13 @@ public com.google.transit.realtime.GtfsRealtime.AlertOrBuilder getAlertOrBuilder
}
return alertBuilder_;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -3757,11 +4020,12 @@ public static com.google.transit.realtime.GtfsRealtime.FeedEntity getDefaultInst
@java.lang.Deprecated public static final com.google.protobuf.Parserrequired .transit_realtime.TripDescriptor trip = 1;
+ * @return Whether the trip field is set.
*/
boolean hasTrip();
/**
@@ -3805,6 +4071,7 @@ public interface TripUpdateOrBuilder extends
*
*
* required .transit_realtime.TripDescriptor trip = 1;
+ * @return The trip.
*/
com.google.transit.realtime.GtfsRealtime.TripDescriptor getTrip();
/**
@@ -3825,6 +4092,7 @@ public interface TripUpdateOrBuilder extends
*
*
* optional .transit_realtime.VehicleDescriptor vehicle = 3;
+ * @return Whether the vehicle field is set.
*/
boolean hasVehicle();
/**
@@ -3833,6 +4101,7 @@ public interface TripUpdateOrBuilder extends
*
*
* optional .transit_realtime.VehicleDescriptor vehicle = 3;
+ * @return The vehicle.
*/
com.google.transit.realtime.GtfsRealtime.VehicleDescriptor getVehicle();
/**
@@ -3975,6 +4244,7 @@ com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder getS
*
*
* optional uint64 timestamp = 4;
+ * @return Whether the timestamp field is set.
*/
boolean hasTimestamp();
/**
@@ -3984,6 +4254,7 @@ com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder getS
*
*
* optional uint64 timestamp = 4;
+ * @return The timestamp.
*/
long getTimestamp();
@@ -4006,6 +4277,7 @@ com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder getS
*
*
* optional int32 delay = 5;
+ * @return Whether the delay field is set.
*/
boolean hasDelay();
/**
@@ -4027,6 +4299,7 @@ com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder getS
*
*
* optional int32 delay = 5;
+ * @return The delay.
*/
int getDelay();
}
@@ -4060,19 +4333,25 @@ com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder getS
*
* Protobuf type {@code transit_realtime.TripUpdate}
*/
- public static final class TripUpdate extends
+ public static final class TripUpdate extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
TripUpdate> implements
// @@protoc_insertion_point(message_implements:transit_realtime.TripUpdate)
TripUpdateOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use TripUpdate.newBuilder() to construct.
private TripUpdate(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderoptional int32 delay = 1;
+ * @return Whether the delay field is set.
*/
boolean hasDelay();
/**
@@ -4198,6 +4482,7 @@ public interface StopTimeEventOrBuilder extends
*
*
* optional int32 delay = 1;
+ * @return The delay.
*/
int getDelay();
@@ -4209,6 +4494,7 @@ public interface StopTimeEventOrBuilder extends
*
*
* optional int64 time = 2;
+ * @return Whether the time field is set.
*/
boolean hasTime();
/**
@@ -4219,6 +4505,7 @@ public interface StopTimeEventOrBuilder extends
*
*
* optional int64 time = 2;
+ * @return The time.
*/
long getTime();
@@ -4231,6 +4518,7 @@ public interface StopTimeEventOrBuilder extends
*
*
* optional int32 uncertainty = 3;
+ * @return Whether the uncertainty field is set.
*/
boolean hasUncertainty();
/**
@@ -4242,6 +4530,7 @@ public interface StopTimeEventOrBuilder extends
*
*
* optional int32 uncertainty = 3;
+ * @return The uncertainty.
*/
int getUncertainty();
}
@@ -4265,19 +4554,24 @@ public interface StopTimeEventOrBuilder extends
*
* Protobuf type {@code transit_realtime.TripUpdate.StopTimeEvent}
*/
- public static final class StopTimeEvent extends
+ public static final class StopTimeEvent extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
StopTimeEvent> implements
// @@protoc_insertion_point(message_implements:transit_realtime.TripUpdate.StopTimeEvent)
StopTimeEventOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use StopTimeEvent.newBuilder() to construct.
private StopTimeEvent(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderoptional int32 delay = 1;
+ * @return Whether the delay field is set.
*/
+ @java.lang.Override
public boolean hasDelay() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -4370,7 +4670,9 @@ public boolean hasDelay() {
*
*
* optional int32 delay = 1;
+ * @return The delay.
*/
+ @java.lang.Override
public int getDelay() {
return delay_;
}
@@ -4385,9 +4687,11 @@ public int getDelay() {
*
*
* optional int64 time = 2;
+ * @return Whether the time field is set.
*/
+ @java.lang.Override
public boolean hasTime() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -4397,7 +4701,9 @@ public boolean hasTime() {
*
*
* optional int64 time = 2;
+ * @return The time.
*/
+ @java.lang.Override
public long getTime() {
return time_;
}
@@ -4413,9 +4719,11 @@ public long getTime() {
*
*
* optional int32 uncertainty = 3;
+ * @return Whether the uncertainty field is set.
*/
+ @java.lang.Override
public boolean hasUncertainty() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -4426,12 +4734,15 @@ public boolean hasUncertainty() {
*
*
* optional int32 uncertainty = 3;
+ * @return The uncertainty.
*/
+ @java.lang.Override
public int getUncertainty() {
return uncertainty_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -4445,38 +4756,40 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.ExtendableMessageoptional int32 delay = 1;
+ * @return Whether the delay field is set.
*/
+ @java.lang.Override
public boolean hasDelay() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -4845,7 +5190,9 @@ public boolean hasDelay() {
*
*
* optional int32 delay = 1;
+ * @return The delay.
*/
+ @java.lang.Override
public int getDelay() {
return delay_;
}
@@ -4857,6 +5204,8 @@ public int getDelay() {
*
*
* optional int32 delay = 1;
+ * @param value The delay to set.
+ * @return This builder for chaining.
*/
public Builder setDelay(int value) {
bitField0_ |= 0x00000001;
@@ -4872,6 +5221,7 @@ public Builder setDelay(int value) {
*
*
* optional int32 delay = 1;
+ * @return This builder for chaining.
*/
public Builder clearDelay() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -4889,9 +5239,11 @@ public Builder clearDelay() {
*
*
* optional int64 time = 2;
+ * @return Whether the time field is set.
*/
+ @java.lang.Override
public boolean hasTime() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -4901,7 +5253,9 @@ public boolean hasTime() {
*
*
* optional int64 time = 2;
+ * @return The time.
*/
+ @java.lang.Override
public long getTime() {
return time_;
}
@@ -4913,6 +5267,8 @@ public long getTime() {
*
*
* optional int64 time = 2;
+ * @param value The time to set.
+ * @return This builder for chaining.
*/
public Builder setTime(long value) {
bitField0_ |= 0x00000002;
@@ -4928,6 +5284,7 @@ public Builder setTime(long value) {
*
*
* optional int64 time = 2;
+ * @return This builder for chaining.
*/
public Builder clearTime() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -4946,9 +5303,11 @@ public Builder clearTime() {
*
*
* optional int32 uncertainty = 3;
+ * @return Whether the uncertainty field is set.
*/
+ @java.lang.Override
public boolean hasUncertainty() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -4959,7 +5318,9 @@ public boolean hasUncertainty() {
*
*
* optional int32 uncertainty = 3;
+ * @return The uncertainty.
*/
+ @java.lang.Override
public int getUncertainty() {
return uncertainty_;
}
@@ -4972,6 +5333,8 @@ public int getUncertainty() {
*
*
* optional int32 uncertainty = 3;
+ * @param value The uncertainty to set.
+ * @return This builder for chaining.
*/
public Builder setUncertainty(int value) {
bitField0_ |= 0x00000004;
@@ -4988,6 +5351,7 @@ public Builder setUncertainty(int value) {
*
*
* optional int32 uncertainty = 3;
+ * @return This builder for chaining.
*/
public Builder clearUncertainty() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -4995,11 +5359,13 @@ public Builder clearUncertainty() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -5021,11 +5387,12 @@ public static com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent
@java.lang.Deprecated public static final com.google.protobuf.Parseroptional uint32 stop_sequence = 1;
+ * @return Whether the stopSequence field is set.
*/
boolean hasStopSequence();
/**
@@ -5063,6 +5432,7 @@ public interface StopTimeUpdateOrBuilder extends
*
*
* optional uint32 stop_sequence = 1;
+ * @return The stopSequence.
*/
int getStopSequence();
@@ -5072,6 +5442,7 @@ public interface StopTimeUpdateOrBuilder extends
*
*
* optional string stop_id = 4;
+ * @return Whether the stopId field is set.
*/
boolean hasStopId();
/**
@@ -5080,6 +5451,7 @@ public interface StopTimeUpdateOrBuilder extends
*
*
* optional string stop_id = 4;
+ * @return The stopId.
*/
java.lang.String getStopId();
/**
@@ -5088,16 +5460,19 @@ public interface StopTimeUpdateOrBuilder extends
*
*
* optional string stop_id = 4;
+ * @return The bytes for stopId.
*/
com.google.protobuf.ByteString
getStopIdBytes();
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
+ * @return Whether the arrival field is set.
*/
boolean hasArrival();
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
+ * @return The arrival.
*/
com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent getArrival();
/**
@@ -5107,10 +5482,12 @@ public interface StopTimeUpdateOrBuilder extends
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
+ * @return Whether the departure field is set.
*/
boolean hasDeparture();
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
+ * @return The departure.
*/
com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent getDeparture();
/**
@@ -5120,10 +5497,12 @@ public interface StopTimeUpdateOrBuilder extends
/**
* optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
+ * @return Whether the scheduleRelationship field is set.
*/
boolean hasScheduleRelationship();
/**
* optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
+ * @return The scheduleRelationship.
*/
com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship getScheduleRelationship();
}
@@ -5136,21 +5515,28 @@ public interface StopTimeUpdateOrBuilder extends
*
* Protobuf type {@code transit_realtime.TripUpdate.StopTimeUpdate}
*/
- public static final class StopTimeUpdate extends
+ public static final class StopTimeUpdate extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
StopTimeUpdate> implements
// @@protoc_insertion_point(message_implements:transit_realtime.TripUpdate.StopTimeUpdate)
StopTimeUpdateOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use StopTimeUpdate.newBuilder() to construct.
private StopTimeUpdate(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderoptional uint32 stop_sequence = 1;
+ * @return Whether the stopSequence field is set.
*/
+ @java.lang.Override
public boolean hasStopSequence() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -5415,7 +5814,9 @@ public boolean hasStopSequence() {
*
*
* optional uint32 stop_sequence = 1;
+ * @return The stopSequence.
*/
+ @java.lang.Override
public int getStopSequence() {
return stopSequence_;
}
@@ -5428,9 +5829,11 @@ public int getStopSequence() {
*
*
* optional string stop_id = 4;
+ * @return Whether the stopId field is set.
*/
+ @java.lang.Override
public boolean hasStopId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -5438,7 +5841,9 @@ public boolean hasStopId() {
*
*
* optional string stop_id = 4;
+ * @return The stopId.
*/
+ @java.lang.Override
public java.lang.String getStopId() {
java.lang.Object ref = stopId_;
if (ref instanceof java.lang.String) {
@@ -5459,7 +5864,9 @@ public java.lang.String getStopId() {
*
*
* optional string stop_id = 4;
+ * @return The bytes for stopId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStopIdBytes() {
java.lang.Object ref = stopId_;
@@ -5478,19 +5885,24 @@ public java.lang.String getStopId() {
private com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent arrival_;
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
+ * @return Whether the arrival field is set.
*/
+ @java.lang.Override
public boolean hasArrival() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
+ * @return The arrival.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent getArrival() {
return arrival_ == null ? com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent.getDefaultInstance() : arrival_;
}
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEventOrBuilder getArrivalOrBuilder() {
return arrival_ == null ? com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent.getDefaultInstance() : arrival_;
}
@@ -5499,19 +5911,24 @@ public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEventOrBuilde
private com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent departure_;
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
+ * @return Whether the departure field is set.
*/
+ @java.lang.Override
public boolean hasDeparture() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
+ * @return The departure.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent getDeparture() {
return departure_ == null ? com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent.getDefaultInstance() : departure_;
}
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEventOrBuilder getDepartureOrBuilder() {
return departure_ == null ? com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent.getDefaultInstance() : departure_;
}
@@ -5520,19 +5937,23 @@ public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEventOrBuilde
private int scheduleRelationship_;
/**
* optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
+ * @return Whether the scheduleRelationship field is set.
*/
- public boolean hasScheduleRelationship() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ @java.lang.Override public boolean hasScheduleRelationship() {
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
+ * @return The scheduleRelationship.
*/
- public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship getScheduleRelationship() {
+ @java.lang.Override public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship getScheduleRelationship() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship result = com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship.valueOf(scheduleRelationship_);
return result == null ? com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship.SCHEDULED : result;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -5558,51 +5979,53 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.ExtendableMessageoptional uint32 stop_sequence = 1;
+ * @return Whether the stopSequence field is set.
*/
+ @java.lang.Override
public boolean hasStopSequence() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -6020,7 +6475,9 @@ public boolean hasStopSequence() {
*
*
* optional uint32 stop_sequence = 1;
+ * @return The stopSequence.
*/
+ @java.lang.Override
public int getStopSequence() {
return stopSequence_;
}
@@ -6030,6 +6487,8 @@ public int getStopSequence() {
*
*
* optional uint32 stop_sequence = 1;
+ * @param value The stopSequence to set.
+ * @return This builder for chaining.
*/
public Builder setStopSequence(int value) {
bitField0_ |= 0x00000001;
@@ -6043,6 +6502,7 @@ public Builder setStopSequence(int value) {
*
*
* optional uint32 stop_sequence = 1;
+ * @return This builder for chaining.
*/
public Builder clearStopSequence() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -6058,9 +6518,10 @@ public Builder clearStopSequence() {
*
*
* optional string stop_id = 4;
+ * @return Whether the stopId field is set.
*/
public boolean hasStopId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -6068,6 +6529,7 @@ public boolean hasStopId() {
*
*
* optional string stop_id = 4;
+ * @return The stopId.
*/
public java.lang.String getStopId() {
java.lang.Object ref = stopId_;
@@ -6089,6 +6551,7 @@ public java.lang.String getStopId() {
*
*
* optional string stop_id = 4;
+ * @return The bytes for stopId.
*/
public com.google.protobuf.ByteString
getStopIdBytes() {
@@ -6109,6 +6572,8 @@ public java.lang.String getStopId() {
*
*
* optional string stop_id = 4;
+ * @param value The stopId to set.
+ * @return This builder for chaining.
*/
public Builder setStopId(
java.lang.String value) {
@@ -6126,6 +6591,7 @@ public Builder setStopId(
*
*
* optional string stop_id = 4;
+ * @return This builder for chaining.
*/
public Builder clearStopId() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -6139,6 +6605,8 @@ public Builder clearStopId() {
*
*
* optional string stop_id = 4;
+ * @param value The bytes for stopId to set.
+ * @return This builder for chaining.
*/
public Builder setStopIdBytes(
com.google.protobuf.ByteString value) {
@@ -6151,17 +6619,19 @@ public Builder setStopIdBytes(
return this;
}
- private com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent arrival_ = null;
+ private com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent arrival_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent, com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent.Builder, com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEventOrBuilder> arrivalBuilder_;
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
+ * @return Whether the arrival field is set.
*/
public boolean hasArrival() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent arrival = 2;
+ * @return The arrival.
*/
public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent getArrival() {
if (arrivalBuilder_ == null) {
@@ -6205,7 +6675,7 @@ public Builder setArrival(
*/
public Builder mergeArrival(com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent value) {
if (arrivalBuilder_ == null) {
- if (((bitField0_ & 0x00000004) == 0x00000004) &&
+ if (((bitField0_ & 0x00000004) != 0) &&
arrival_ != null &&
arrival_ != com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent.getDefaultInstance()) {
arrival_ =
@@ -6269,17 +6739,19 @@ public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEventOrBuilde
return arrivalBuilder_;
}
- private com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent departure_ = null;
+ private com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent departure_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent, com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent.Builder, com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEventOrBuilder> departureBuilder_;
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
+ * @return Whether the departure field is set.
*/
public boolean hasDeparture() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .transit_realtime.TripUpdate.StopTimeEvent departure = 3;
+ * @return The departure.
*/
public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent getDeparture() {
if (departureBuilder_ == null) {
@@ -6323,7 +6795,7 @@ public Builder setDeparture(
*/
public Builder mergeDeparture(com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent value) {
if (departureBuilder_ == null) {
- if (((bitField0_ & 0x00000008) == 0x00000008) &&
+ if (((bitField0_ & 0x00000008) != 0) &&
departure_ != null &&
departure_ != com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEvent.getDefaultInstance()) {
departure_ =
@@ -6390,19 +6862,25 @@ public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeEventOrBuilde
private int scheduleRelationship_ = 0;
/**
* optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
+ * @return Whether the scheduleRelationship field is set.
*/
- public boolean hasScheduleRelationship() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ @java.lang.Override public boolean hasScheduleRelationship() {
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
+ * @return The scheduleRelationship.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship getScheduleRelationship() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship result = com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship.valueOf(scheduleRelationship_);
return result == null ? com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship.SCHEDULED : result;
}
/**
* optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
+ * @param value The scheduleRelationship to set.
+ * @return This builder for chaining.
*/
public Builder setScheduleRelationship(com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate.ScheduleRelationship value) {
if (value == null) {
@@ -6415,6 +6893,7 @@ public Builder setScheduleRelationship(com.google.transit.realtime.GtfsRealtime.
}
/**
* optional .transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship schedule_relationship = 5 [default = SCHEDULED];
+ * @return This builder for chaining.
*/
public Builder clearScheduleRelationship() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -6422,11 +6901,13 @@ public Builder clearScheduleRelationship() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -6448,11 +6929,12 @@ public static com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate
@java.lang.Deprecated public static final com.google.protobuf.Parserrequired .transit_realtime.TripDescriptor trip = 1;
+ * @return Whether the trip field is set.
*/
+ @java.lang.Override
public boolean hasTrip() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -6496,7 +6981,9 @@ public boolean hasTrip() {
*
*
* required .transit_realtime.TripDescriptor trip = 1;
+ * @return The trip.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripDescriptor getTrip() {
return trip_ == null ? com.google.transit.realtime.GtfsRealtime.TripDescriptor.getDefaultInstance() : trip_;
}
@@ -6510,6 +6997,7 @@ public com.google.transit.realtime.GtfsRealtime.TripDescriptor getTrip() {
*
* required .transit_realtime.TripDescriptor trip = 1;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder() {
return trip_ == null ? com.google.transit.realtime.GtfsRealtime.TripDescriptor.getDefaultInstance() : trip_;
}
@@ -6522,9 +7010,11 @@ public com.google.transit.realtime.GtfsRealtime.TripDescriptorOrBuilder getTripO
*
*
* optional .transit_realtime.VehicleDescriptor vehicle = 3;
+ * @return Whether the vehicle field is set.
*/
+ @java.lang.Override
public boolean hasVehicle() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -6532,7 +7022,9 @@ public boolean hasVehicle() {
*
*
* optional .transit_realtime.VehicleDescriptor vehicle = 3;
+ * @return The vehicle.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.VehicleDescriptor getVehicle() {
return vehicle_ == null ? com.google.transit.realtime.GtfsRealtime.VehicleDescriptor.getDefaultInstance() : vehicle_;
}
@@ -6543,6 +7035,7 @@ public com.google.transit.realtime.GtfsRealtime.VehicleDescriptor getVehicle() {
*
* optional .transit_realtime.VehicleDescriptor vehicle = 3;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.VehicleDescriptorOrBuilder getVehicleOrBuilder() {
return vehicle_ == null ? com.google.transit.realtime.GtfsRealtime.VehicleDescriptor.getDefaultInstance() : vehicle_;
}
@@ -6572,6 +7065,7 @@ public com.google.transit.realtime.GtfsRealtime.VehicleDescriptorOrBuilder getVe
*
* repeated .transit_realtime.TripUpdate.StopTimeUpdate stop_time_update = 2;
*/
+ @java.lang.Override
public java.util.Listrepeated .transit_realtime.TripUpdate.StopTimeUpdate stop_time_update = 2;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate getStopTimeUpdate(int index) {
return stopTimeUpdate_.get(index);
}
@@ -6677,6 +7174,7 @@ public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdate getSto
*
* repeated .transit_realtime.TripUpdate.StopTimeUpdate stop_time_update = 2;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdateOrBuilder getStopTimeUpdateOrBuilder(
int index) {
return stopTimeUpdate_.get(index);
@@ -6691,9 +7189,11 @@ public com.google.transit.realtime.GtfsRealtime.TripUpdate.StopTimeUpdateOrBuild
*
*
* optional uint64 timestamp = 4;
+ * @return Whether the timestamp field is set.
*/
+ @java.lang.Override
public boolean hasTimestamp() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -6702,7 +7202,9 @@ public boolean hasTimestamp() {
*
*
* optional uint64 timestamp = 4;
+ * @return The timestamp.
*/
+ @java.lang.Override
public long getTimestamp() {
return timestamp_;
}
@@ -6728,9 +7230,11 @@ public long getTimestamp() {
*
*
* optional int32 delay = 5;
+ * @return Whether the delay field is set.
*/
+ @java.lang.Override
public boolean hasDelay() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -6751,12 +7255,15 @@ public boolean hasDelay() {
*
*
* optional int32 delay = 5;
+ * @return The delay.
*/
+ @java.lang.Override
public int getDelay() {
return delay_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -6790,36 +7297,38 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.ExtendableMessagerequired .transit_realtime.TripDescriptor trip = 1;
+ * @return Whether the trip field is set.
*/
public boolean hasTrip() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -7318,6 +7858,7 @@ public boolean hasTrip() {
*
*
* required .transit_realtime.TripDescriptor trip = 1;
+ * @return The trip.
*/
public com.google.transit.realtime.GtfsRealtime.TripDescriptor getTrip() {
if (tripBuilder_ == null) {
@@ -7382,7 +7923,7 @@ public Builder setTrip(
*/
public Builder mergeTrip(com.google.transit.realtime.GtfsRealtime.TripDescriptor value) {
if (tripBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
+ if (((bitField0_ & 0x00000001) != 0) &&
trip_ != null &&
trip_ != com.google.transit.realtime.GtfsRealtime.TripDescriptor.getDefaultInstance()) {
trip_ =
@@ -7474,7 +8015,7 @@ public com.google.transit.realtime.GtfsRealtime.TripDescriptorOrBuilder getTripO
return tripBuilder_;
}
- private com.google.transit.realtime.GtfsRealtime.VehicleDescriptor vehicle_ = null;
+ private com.google.transit.realtime.GtfsRealtime.VehicleDescriptor vehicle_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.VehicleDescriptor, com.google.transit.realtime.GtfsRealtime.VehicleDescriptor.Builder, com.google.transit.realtime.GtfsRealtime.VehicleDescriptorOrBuilder> vehicleBuilder_;
/**
@@ -7483,9 +8024,10 @@ public com.google.transit.realtime.GtfsRealtime.TripDescriptorOrBuilder getTripO
*
*
* optional .transit_realtime.VehicleDescriptor vehicle = 3;
+ * @return Whether the vehicle field is set.
*/
public boolean hasVehicle() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -7493,6 +8035,7 @@ public boolean hasVehicle() {
*
*
* optional .transit_realtime.VehicleDescriptor vehicle = 3;
+ * @return The vehicle.
*/
public com.google.transit.realtime.GtfsRealtime.VehicleDescriptor getVehicle() {
if (vehicleBuilder_ == null) {
@@ -7548,7 +8091,7 @@ public Builder setVehicle(
*/
public Builder mergeVehicle(com.google.transit.realtime.GtfsRealtime.VehicleDescriptor value) {
if (vehicleBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
+ if (((bitField0_ & 0x00000002) != 0) &&
vehicle_ != null &&
vehicle_ != com.google.transit.realtime.GtfsRealtime.VehicleDescriptor.getDefaultInstance()) {
vehicle_ =
@@ -7631,7 +8174,7 @@ public com.google.transit.realtime.GtfsRealtime.VehicleDescriptorOrBuilder getVe
private java.util.Listoptional uint64 timestamp = 4;
+ * @return Whether the timestamp field is set.
*/
+ @java.lang.Override
public boolean hasTimestamp() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -8247,7 +8792,9 @@ public boolean hasTimestamp() {
*
*
* optional uint64 timestamp = 4;
+ * @return The timestamp.
*/
+ @java.lang.Override
public long getTimestamp() {
return timestamp_;
}
@@ -8258,6 +8805,8 @@ public long getTimestamp() {
*
*
* optional uint64 timestamp = 4;
+ * @param value The timestamp to set.
+ * @return This builder for chaining.
*/
public Builder setTimestamp(long value) {
bitField0_ |= 0x00000008;
@@ -8272,6 +8821,7 @@ public Builder setTimestamp(long value) {
*
*
* optional uint64 timestamp = 4;
+ * @return This builder for chaining.
*/
public Builder clearTimestamp() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -8300,9 +8850,11 @@ public Builder clearTimestamp() {
*
*
* optional int32 delay = 5;
+ * @return Whether the delay field is set.
*/
+ @java.lang.Override
public boolean hasDelay() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -8323,7 +8875,9 @@ public boolean hasDelay() {
*
*
* optional int32 delay = 5;
+ * @return The delay.
*/
+ @java.lang.Override
public int getDelay() {
return delay_;
}
@@ -8346,6 +8900,8 @@ public int getDelay() {
*
*
* optional int32 delay = 5;
+ * @param value The delay to set.
+ * @return This builder for chaining.
*/
public Builder setDelay(int value) {
bitField0_ |= 0x00000010;
@@ -8372,6 +8928,7 @@ public Builder setDelay(int value) {
*
*
* optional int32 delay = 5;
+ * @return This builder for chaining.
*/
public Builder clearDelay() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -8379,11 +8936,13 @@ public Builder clearDelay() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -8405,11 +8964,12 @@ public static com.google.transit.realtime.GtfsRealtime.TripUpdate getDefaultInst
@java.lang.Deprecated public static final com.google.protobuf.Parseroptional .transit_realtime.TripDescriptor trip = 1;
+ * @return Whether the trip field is set.
*/
boolean hasTrip();
/**
@@ -8451,6 +9013,7 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional .transit_realtime.TripDescriptor trip = 1;
+ * @return The trip.
*/
com.google.transit.realtime.GtfsRealtime.TripDescriptor getTrip();
/**
@@ -8470,6 +9033,7 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional .transit_realtime.VehicleDescriptor vehicle = 8;
+ * @return Whether the vehicle field is set.
*/
boolean hasVehicle();
/**
@@ -8478,6 +9042,7 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional .transit_realtime.VehicleDescriptor vehicle = 8;
+ * @return The vehicle.
*/
com.google.transit.realtime.GtfsRealtime.VehicleDescriptor getVehicle();
/**
@@ -8495,6 +9060,7 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional .transit_realtime.Position position = 2;
+ * @return Whether the position field is set.
*/
boolean hasPosition();
/**
@@ -8503,6 +9069,7 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional .transit_realtime.Position position = 2;
+ * @return The position.
*/
com.google.transit.realtime.GtfsRealtime.Position getPosition();
/**
@@ -8523,6 +9090,7 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional uint32 current_stop_sequence = 3;
+ * @return Whether the currentStopSequence field is set.
*/
boolean hasCurrentStopSequence();
/**
@@ -8534,6 +9102,7 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional uint32 current_stop_sequence = 3;
+ * @return The currentStopSequence.
*/
int getCurrentStopSequence();
@@ -8544,6 +9113,7 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional string stop_id = 7;
+ * @return Whether the stopId field is set.
*/
boolean hasStopId();
/**
@@ -8553,6 +9123,7 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional string stop_id = 7;
+ * @return The stopId.
*/
java.lang.String getStopId();
/**
@@ -8562,6 +9133,7 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional string stop_id = 7;
+ * @return The bytes for stopId.
*/
com.google.protobuf.ByteString
getStopIdBytes();
@@ -8573,6 +9145,7 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];
+ * @return Whether the currentStatus field is set.
*/
boolean hasCurrentStatus();
/**
@@ -8582,6 +9155,7 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];
+ * @return The currentStatus.
*/
com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatus getCurrentStatus();
@@ -8592,6 +9166,7 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional uint64 timestamp = 5;
+ * @return Whether the timestamp field is set.
*/
boolean hasTimestamp();
/**
@@ -8601,24 +9176,29 @@ public interface VehiclePositionOrBuilder extends
*
*
* optional uint64 timestamp = 5;
+ * @return The timestamp.
*/
long getTimestamp();
/**
* optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;
+ * @return Whether the congestionLevel field is set.
*/
boolean hasCongestionLevel();
/**
* optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;
+ * @return The congestionLevel.
*/
com.google.transit.realtime.GtfsRealtime.VehiclePosition.CongestionLevel getCongestionLevel();
/**
* optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;
+ * @return Whether the occupancyStatus field is set.
*/
boolean hasOccupancyStatus();
/**
* optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;
+ * @return The occupancyStatus.
*/
com.google.transit.realtime.GtfsRealtime.VehiclePosition.OccupancyStatus getOccupancyStatus();
}
@@ -8629,24 +9209,30 @@ public interface VehiclePositionOrBuilder extends
*
* Protobuf type {@code transit_realtime.VehiclePosition}
*/
- public static final class VehiclePosition extends
+ public static final class VehiclePosition extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
VehiclePosition> implements
// @@protoc_insertion_point(message_implements:transit_realtime.VehiclePosition)
VehiclePositionOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use VehiclePosition.newBuilder() to construct.
private VehiclePosition(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderoptional .transit_realtime.TripDescriptor trip = 1;
+ * @return Whether the trip field is set.
*/
+ @java.lang.Override
public boolean hasTrip() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -9279,7 +9892,9 @@ public boolean hasTrip() {
*
*
* optional .transit_realtime.TripDescriptor trip = 1;
+ * @return The trip.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripDescriptor getTrip() {
return trip_ == null ? com.google.transit.realtime.GtfsRealtime.TripDescriptor.getDefaultInstance() : trip_;
}
@@ -9292,6 +9907,7 @@ public com.google.transit.realtime.GtfsRealtime.TripDescriptor getTrip() {
*
* optional .transit_realtime.TripDescriptor trip = 1;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder() {
return trip_ == null ? com.google.transit.realtime.GtfsRealtime.TripDescriptor.getDefaultInstance() : trip_;
}
@@ -9304,9 +9920,11 @@ public com.google.transit.realtime.GtfsRealtime.TripDescriptorOrBuilder getTripO
*
*
* optional .transit_realtime.VehicleDescriptor vehicle = 8;
+ * @return Whether the vehicle field is set.
*/
+ @java.lang.Override
public boolean hasVehicle() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -9314,7 +9932,9 @@ public boolean hasVehicle() {
*
*
* optional .transit_realtime.VehicleDescriptor vehicle = 8;
+ * @return The vehicle.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.VehicleDescriptor getVehicle() {
return vehicle_ == null ? com.google.transit.realtime.GtfsRealtime.VehicleDescriptor.getDefaultInstance() : vehicle_;
}
@@ -9325,6 +9945,7 @@ public com.google.transit.realtime.GtfsRealtime.VehicleDescriptor getVehicle() {
*
* optional .transit_realtime.VehicleDescriptor vehicle = 8;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.VehicleDescriptorOrBuilder getVehicleOrBuilder() {
return vehicle_ == null ? com.google.transit.realtime.GtfsRealtime.VehicleDescriptor.getDefaultInstance() : vehicle_;
}
@@ -9337,9 +9958,11 @@ public com.google.transit.realtime.GtfsRealtime.VehicleDescriptorOrBuilder getVe
*
*
* optional .transit_realtime.Position position = 2;
+ * @return Whether the position field is set.
*/
+ @java.lang.Override
public boolean hasPosition() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -9347,7 +9970,9 @@ public boolean hasPosition() {
*
*
* optional .transit_realtime.Position position = 2;
+ * @return The position.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.Position getPosition() {
return position_ == null ? com.google.transit.realtime.GtfsRealtime.Position.getDefaultInstance() : position_;
}
@@ -9358,6 +9983,7 @@ public com.google.transit.realtime.GtfsRealtime.Position getPosition() {
*
* optional .transit_realtime.Position position = 2;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.PositionOrBuilder getPositionOrBuilder() {
return position_ == null ? com.google.transit.realtime.GtfsRealtime.Position.getDefaultInstance() : position_;
}
@@ -9373,9 +9999,11 @@ public com.google.transit.realtime.GtfsRealtime.PositionOrBuilder getPositionOrB
*
*
* optional uint32 current_stop_sequence = 3;
+ * @return Whether the currentStopSequence field is set.
*/
+ @java.lang.Override
public boolean hasCurrentStopSequence() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -9386,7 +10014,9 @@ public boolean hasCurrentStopSequence() {
*
*
* optional uint32 current_stop_sequence = 3;
+ * @return The currentStopSequence.
*/
+ @java.lang.Override
public int getCurrentStopSequence() {
return currentStopSequence_;
}
@@ -9400,9 +10030,11 @@ public int getCurrentStopSequence() {
*
*
* optional string stop_id = 7;
+ * @return Whether the stopId field is set.
*/
+ @java.lang.Override
public boolean hasStopId() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -9411,7 +10043,9 @@ public boolean hasStopId() {
*
*
* optional string stop_id = 7;
+ * @return The stopId.
*/
+ @java.lang.Override
public java.lang.String getStopId() {
java.lang.Object ref = stopId_;
if (ref instanceof java.lang.String) {
@@ -9433,7 +10067,9 @@ public java.lang.String getStopId() {
*
*
* optional string stop_id = 7;
+ * @return The bytes for stopId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStopIdBytes() {
java.lang.Object ref = stopId_;
@@ -9457,9 +10093,10 @@ public java.lang.String getStopId() {
*
*
* optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];
+ * @return Whether the currentStatus field is set.
*/
- public boolean hasCurrentStatus() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ @java.lang.Override public boolean hasCurrentStatus() {
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
*
@@ -9468,8 +10105,10 @@ public boolean hasCurrentStatus() {
*
*
* optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];
+ * @return The currentStatus.
*/
- public com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatus getCurrentStatus() {
+ @java.lang.Override public com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatus getCurrentStatus() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatus result = com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatus.valueOf(currentStatus_);
return result == null ? com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatus.IN_TRANSIT_TO : result;
}
@@ -9483,9 +10122,11 @@ public com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatu
*
*
* optional uint64 timestamp = 5;
+ * @return Whether the timestamp field is set.
*/
+ @java.lang.Override
public boolean hasTimestamp() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -9494,7 +10135,9 @@ public boolean hasTimestamp() {
*
*
* optional uint64 timestamp = 5;
+ * @return The timestamp.
*/
+ @java.lang.Override
public long getTimestamp() {
return timestamp_;
}
@@ -9503,14 +10146,17 @@ public long getTimestamp() {
private int congestionLevel_;
/**
* optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;
+ * @return Whether the congestionLevel field is set.
*/
- public boolean hasCongestionLevel() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ @java.lang.Override public boolean hasCongestionLevel() {
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;
+ * @return The congestionLevel.
*/
- public com.google.transit.realtime.GtfsRealtime.VehiclePosition.CongestionLevel getCongestionLevel() {
+ @java.lang.Override public com.google.transit.realtime.GtfsRealtime.VehiclePosition.CongestionLevel getCongestionLevel() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.VehiclePosition.CongestionLevel result = com.google.transit.realtime.GtfsRealtime.VehiclePosition.CongestionLevel.valueOf(congestionLevel_);
return result == null ? com.google.transit.realtime.GtfsRealtime.VehiclePosition.CongestionLevel.UNKNOWN_CONGESTION_LEVEL : result;
}
@@ -9519,19 +10165,23 @@ public com.google.transit.realtime.GtfsRealtime.VehiclePosition.CongestionLevel
private int occupancyStatus_;
/**
* optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;
+ * @return Whether the occupancyStatus field is set.
*/
- public boolean hasOccupancyStatus() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ @java.lang.Override public boolean hasOccupancyStatus() {
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;
+ * @return The occupancyStatus.
*/
- public com.google.transit.realtime.GtfsRealtime.VehiclePosition.OccupancyStatus getOccupancyStatus() {
+ @java.lang.Override public com.google.transit.realtime.GtfsRealtime.VehiclePosition.OccupancyStatus getOccupancyStatus() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.VehiclePosition.OccupancyStatus result = com.google.transit.realtime.GtfsRealtime.VehiclePosition.OccupancyStatus.valueOf(occupancyStatus_);
return result == null ? com.google.transit.realtime.GtfsRealtime.VehiclePosition.OccupancyStatus.EMPTY : result;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -9563,79 +10213,81 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.ExtendableMessageoptional .transit_realtime.TripDescriptor trip = 1;
+ * @return Whether the trip field is set.
*/
public boolean hasTrip() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -10142,6 +10825,7 @@ public boolean hasTrip() {
*
*
* optional .transit_realtime.TripDescriptor trip = 1;
+ * @return The trip.
*/
public com.google.transit.realtime.GtfsRealtime.TripDescriptor getTrip() {
if (tripBuilder_ == null) {
@@ -10203,7 +10887,7 @@ public Builder setTrip(
*/
public Builder mergeTrip(com.google.transit.realtime.GtfsRealtime.TripDescriptor value) {
if (tripBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001) &&
+ if (((bitField0_ & 0x00000001) != 0) &&
trip_ != null &&
trip_ != com.google.transit.realtime.GtfsRealtime.TripDescriptor.getDefaultInstance()) {
trip_ =
@@ -10291,7 +10975,7 @@ public com.google.transit.realtime.GtfsRealtime.TripDescriptorOrBuilder getTripO
return tripBuilder_;
}
- private com.google.transit.realtime.GtfsRealtime.VehicleDescriptor vehicle_ = null;
+ private com.google.transit.realtime.GtfsRealtime.VehicleDescriptor vehicle_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.VehicleDescriptor, com.google.transit.realtime.GtfsRealtime.VehicleDescriptor.Builder, com.google.transit.realtime.GtfsRealtime.VehicleDescriptorOrBuilder> vehicleBuilder_;
/**
@@ -10300,9 +10984,10 @@ public com.google.transit.realtime.GtfsRealtime.TripDescriptorOrBuilder getTripO
*
*
* optional .transit_realtime.VehicleDescriptor vehicle = 8;
+ * @return Whether the vehicle field is set.
*/
public boolean hasVehicle() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -10310,6 +10995,7 @@ public boolean hasVehicle() {
*
*
* optional .transit_realtime.VehicleDescriptor vehicle = 8;
+ * @return The vehicle.
*/
public com.google.transit.realtime.GtfsRealtime.VehicleDescriptor getVehicle() {
if (vehicleBuilder_ == null) {
@@ -10365,7 +11051,7 @@ public Builder setVehicle(
*/
public Builder mergeVehicle(com.google.transit.realtime.GtfsRealtime.VehicleDescriptor value) {
if (vehicleBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
+ if (((bitField0_ & 0x00000002) != 0) &&
vehicle_ != null &&
vehicle_ != com.google.transit.realtime.GtfsRealtime.VehicleDescriptor.getDefaultInstance()) {
vehicle_ =
@@ -10445,7 +11131,7 @@ public com.google.transit.realtime.GtfsRealtime.VehicleDescriptorOrBuilder getVe
return vehicleBuilder_;
}
- private com.google.transit.realtime.GtfsRealtime.Position position_ = null;
+ private com.google.transit.realtime.GtfsRealtime.Position position_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.Position, com.google.transit.realtime.GtfsRealtime.Position.Builder, com.google.transit.realtime.GtfsRealtime.PositionOrBuilder> positionBuilder_;
/**
@@ -10454,9 +11140,10 @@ public com.google.transit.realtime.GtfsRealtime.VehicleDescriptorOrBuilder getVe
*
*
* optional .transit_realtime.Position position = 2;
+ * @return Whether the position field is set.
*/
public boolean hasPosition() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -10464,6 +11151,7 @@ public boolean hasPosition() {
*
*
* optional .transit_realtime.Position position = 2;
+ * @return The position.
*/
public com.google.transit.realtime.GtfsRealtime.Position getPosition() {
if (positionBuilder_ == null) {
@@ -10519,7 +11207,7 @@ public Builder setPosition(
*/
public Builder mergePosition(com.google.transit.realtime.GtfsRealtime.Position value) {
if (positionBuilder_ == null) {
- if (((bitField0_ & 0x00000004) == 0x00000004) &&
+ if (((bitField0_ & 0x00000004) != 0) &&
position_ != null &&
position_ != com.google.transit.realtime.GtfsRealtime.Position.getDefaultInstance()) {
position_ =
@@ -10609,9 +11297,11 @@ public com.google.transit.realtime.GtfsRealtime.PositionOrBuilder getPositionOrB
*
*
* optional uint32 current_stop_sequence = 3;
+ * @return Whether the currentStopSequence field is set.
*/
+ @java.lang.Override
public boolean hasCurrentStopSequence() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -10622,7 +11312,9 @@ public boolean hasCurrentStopSequence() {
*
*
* optional uint32 current_stop_sequence = 3;
+ * @return The currentStopSequence.
*/
+ @java.lang.Override
public int getCurrentStopSequence() {
return currentStopSequence_;
}
@@ -10635,6 +11327,8 @@ public int getCurrentStopSequence() {
*
*
* optional uint32 current_stop_sequence = 3;
+ * @param value The currentStopSequence to set.
+ * @return This builder for chaining.
*/
public Builder setCurrentStopSequence(int value) {
bitField0_ |= 0x00000008;
@@ -10651,6 +11345,7 @@ public Builder setCurrentStopSequence(int value) {
*
*
* optional uint32 current_stop_sequence = 3;
+ * @return This builder for chaining.
*/
public Builder clearCurrentStopSequence() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -10667,9 +11362,10 @@ public Builder clearCurrentStopSequence() {
*
*
* optional string stop_id = 7;
+ * @return Whether the stopId field is set.
*/
public boolean hasStopId() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -10678,6 +11374,7 @@ public boolean hasStopId() {
*
*
* optional string stop_id = 7;
+ * @return The stopId.
*/
public java.lang.String getStopId() {
java.lang.Object ref = stopId_;
@@ -10700,6 +11397,7 @@ public java.lang.String getStopId() {
*
*
* optional string stop_id = 7;
+ * @return The bytes for stopId.
*/
public com.google.protobuf.ByteString
getStopIdBytes() {
@@ -10721,6 +11419,8 @@ public java.lang.String getStopId() {
*
*
* optional string stop_id = 7;
+ * @param value The stopId to set.
+ * @return This builder for chaining.
*/
public Builder setStopId(
java.lang.String value) {
@@ -10739,6 +11439,7 @@ public Builder setStopId(
*
*
* optional string stop_id = 7;
+ * @return This builder for chaining.
*/
public Builder clearStopId() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -10753,6 +11454,8 @@ public Builder clearStopId() {
*
*
* optional string stop_id = 7;
+ * @param value The bytes for stopId to set.
+ * @return This builder for chaining.
*/
public Builder setStopIdBytes(
com.google.protobuf.ByteString value) {
@@ -10773,9 +11476,10 @@ public Builder setStopIdBytes(
*
*
* optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];
+ * @return Whether the currentStatus field is set.
*/
- public boolean hasCurrentStatus() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ @java.lang.Override public boolean hasCurrentStatus() {
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
*
@@ -10784,8 +11488,11 @@ public boolean hasCurrentStatus() {
*
*
* optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];
+ * @return The currentStatus.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatus getCurrentStatus() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatus result = com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatus.valueOf(currentStatus_);
return result == null ? com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatus.IN_TRANSIT_TO : result;
}
@@ -10796,6 +11503,8 @@ public com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatu
*
*
* optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];
+ * @param value The currentStatus to set.
+ * @return This builder for chaining.
*/
public Builder setCurrentStatus(com.google.transit.realtime.GtfsRealtime.VehiclePosition.VehicleStopStatus value) {
if (value == null) {
@@ -10813,6 +11522,7 @@ public Builder setCurrentStatus(com.google.transit.realtime.GtfsRealtime.Vehicle
*
*
* optional .transit_realtime.VehiclePosition.VehicleStopStatus current_status = 4 [default = IN_TRANSIT_TO];
+ * @return This builder for chaining.
*/
public Builder clearCurrentStatus() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -10829,9 +11539,11 @@ public Builder clearCurrentStatus() {
*
*
* optional uint64 timestamp = 5;
+ * @return Whether the timestamp field is set.
*/
+ @java.lang.Override
public boolean hasTimestamp() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -10840,7 +11552,9 @@ public boolean hasTimestamp() {
*
*
* optional uint64 timestamp = 5;
+ * @return The timestamp.
*/
+ @java.lang.Override
public long getTimestamp() {
return timestamp_;
}
@@ -10851,6 +11565,8 @@ public long getTimestamp() {
*
*
* optional uint64 timestamp = 5;
+ * @param value The timestamp to set.
+ * @return This builder for chaining.
*/
public Builder setTimestamp(long value) {
bitField0_ |= 0x00000040;
@@ -10865,6 +11581,7 @@ public Builder setTimestamp(long value) {
*
*
* optional uint64 timestamp = 5;
+ * @return This builder for chaining.
*/
public Builder clearTimestamp() {
bitField0_ = (bitField0_ & ~0x00000040);
@@ -10876,19 +11593,25 @@ public Builder clearTimestamp() {
private int congestionLevel_ = 0;
/**
* optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;
+ * @return Whether the congestionLevel field is set.
*/
- public boolean hasCongestionLevel() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ @java.lang.Override public boolean hasCongestionLevel() {
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;
+ * @return The congestionLevel.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.VehiclePosition.CongestionLevel getCongestionLevel() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.VehiclePosition.CongestionLevel result = com.google.transit.realtime.GtfsRealtime.VehiclePosition.CongestionLevel.valueOf(congestionLevel_);
return result == null ? com.google.transit.realtime.GtfsRealtime.VehiclePosition.CongestionLevel.UNKNOWN_CONGESTION_LEVEL : result;
}
/**
* optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;
+ * @param value The congestionLevel to set.
+ * @return This builder for chaining.
*/
public Builder setCongestionLevel(com.google.transit.realtime.GtfsRealtime.VehiclePosition.CongestionLevel value) {
if (value == null) {
@@ -10901,6 +11624,7 @@ public Builder setCongestionLevel(com.google.transit.realtime.GtfsRealtime.Vehic
}
/**
* optional .transit_realtime.VehiclePosition.CongestionLevel congestion_level = 6;
+ * @return This builder for chaining.
*/
public Builder clearCongestionLevel() {
bitField0_ = (bitField0_ & ~0x00000080);
@@ -10912,19 +11636,25 @@ public Builder clearCongestionLevel() {
private int occupancyStatus_ = 0;
/**
* optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;
+ * @return Whether the occupancyStatus field is set.
*/
- public boolean hasOccupancyStatus() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ @java.lang.Override public boolean hasOccupancyStatus() {
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;
+ * @return The occupancyStatus.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.VehiclePosition.OccupancyStatus getOccupancyStatus() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.VehiclePosition.OccupancyStatus result = com.google.transit.realtime.GtfsRealtime.VehiclePosition.OccupancyStatus.valueOf(occupancyStatus_);
return result == null ? com.google.transit.realtime.GtfsRealtime.VehiclePosition.OccupancyStatus.EMPTY : result;
}
/**
* optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;
+ * @param value The occupancyStatus to set.
+ * @return This builder for chaining.
*/
public Builder setOccupancyStatus(com.google.transit.realtime.GtfsRealtime.VehiclePosition.OccupancyStatus value) {
if (value == null) {
@@ -10937,6 +11667,7 @@ public Builder setOccupancyStatus(com.google.transit.realtime.GtfsRealtime.Vehic
}
/**
* optional .transit_realtime.VehiclePosition.OccupancyStatus occupancy_status = 9;
+ * @return This builder for chaining.
*/
public Builder clearOccupancyStatus() {
bitField0_ = (bitField0_ & ~0x00000100);
@@ -10944,11 +11675,13 @@ public Builder clearOccupancyStatus() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -10970,11 +11703,12 @@ public static com.google.transit.realtime.GtfsRealtime.VehiclePosition getDefaul
@java.lang.Deprecated public static final com.google.protobuf.Parseroptional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
+ * @return Whether the cause field is set.
*/
boolean hasCause();
/**
* optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
+ * @return The cause.
*/
com.google.transit.realtime.GtfsRealtime.Alert.Cause getCause();
/**
* optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
+ * @return Whether the effect field is set.
*/
boolean hasEffect();
/**
* optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
+ * @return The effect.
*/
com.google.transit.realtime.GtfsRealtime.Alert.Effect getEffect();
@@ -11120,6 +11859,7 @@ com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInformedEnti
*
*
* optional .transit_realtime.TranslatedString url = 8;
+ * @return Whether the url field is set.
*/
boolean hasUrl();
/**
@@ -11128,6 +11868,7 @@ com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInformedEnti
*
*
* optional .transit_realtime.TranslatedString url = 8;
+ * @return The url.
*/
com.google.transit.realtime.GtfsRealtime.TranslatedString getUrl();
/**
@@ -11145,6 +11886,7 @@ com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInformedEnti
*
*
* optional .transit_realtime.TranslatedString header_text = 10;
+ * @return Whether the headerText field is set.
*/
boolean hasHeaderText();
/**
@@ -11153,6 +11895,7 @@ com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInformedEnti
*
*
* optional .transit_realtime.TranslatedString header_text = 10;
+ * @return The headerText.
*/
com.google.transit.realtime.GtfsRealtime.TranslatedString getHeaderText();
/**
@@ -11171,6 +11914,7 @@ com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInformedEnti
*
*
* optional .transit_realtime.TranslatedString description_text = 11;
+ * @return Whether the descriptionText field is set.
*/
boolean hasDescriptionText();
/**
@@ -11180,6 +11924,7 @@ com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInformedEnti
*
*
* optional .transit_realtime.TranslatedString description_text = 11;
+ * @return The descriptionText.
*/
com.google.transit.realtime.GtfsRealtime.TranslatedString getDescriptionText();
/**
@@ -11199,6 +11944,7 @@ com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInformedEnti
*
*
* optional .transit_realtime.TranslatedString tts_header_text = 12;
+ * @return Whether the ttsHeaderText field is set.
*/
boolean hasTtsHeaderText();
/**
@@ -11208,6 +11954,7 @@ com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInformedEnti
*
*
* optional .transit_realtime.TranslatedString tts_header_text = 12;
+ * @return The ttsHeaderText.
*/
com.google.transit.realtime.GtfsRealtime.TranslatedString getTtsHeaderText();
/**
@@ -11227,6 +11974,7 @@ com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInformedEnti
*
*
* optional .transit_realtime.TranslatedString tts_description_text = 13;
+ * @return Whether the ttsDescriptionText field is set.
*/
boolean hasTtsDescriptionText();
/**
@@ -11236,6 +11984,7 @@ com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInformedEnti
*
*
* optional .transit_realtime.TranslatedString tts_description_text = 13;
+ * @return The ttsDescriptionText.
*/
com.google.transit.realtime.GtfsRealtime.TranslatedString getTtsDescriptionText();
/**
@@ -11250,10 +11999,12 @@ com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInformedEnti
/**
* optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];
+ * @return Whether the severityLevel field is set.
*/
boolean hasSeverityLevel();
/**
* optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];
+ * @return The severityLevel.
*/
com.google.transit.realtime.GtfsRealtime.Alert.SeverityLevel getSeverityLevel();
}
@@ -11264,11 +12015,12 @@ com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInformedEnti
*
* Protobuf type {@code transit_realtime.Alert}
*/
- public static final class Alert extends
+ public static final class Alert extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
Alert> implements
// @@protoc_insertion_point(message_implements:transit_realtime.Alert)
AlertOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use Alert.newBuilder() to construct.
private Alert(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderrepeated .transit_realtime.TimeRange active_period = 1;
*/
+ @java.lang.Override
public java.util.Listrepeated .transit_realtime.TimeRange active_period = 1;
*/
+ @java.lang.Override
public java.util.List extends com.google.transit.realtime.GtfsRealtime.TimeRangeOrBuilder>
getActivePeriodOrBuilderList() {
return activePeriod_;
@@ -11991,6 +12777,7 @@ public java.util.Listrepeated .transit_realtime.TimeRange active_period = 1;
*/
+ @java.lang.Override
public int getActivePeriodCount() {
return activePeriod_.size();
}
@@ -12003,6 +12790,7 @@ public int getActivePeriodCount() {
*
* repeated .transit_realtime.TimeRange active_period = 1;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TimeRange getActivePeriod(int index) {
return activePeriod_.get(index);
}
@@ -12015,6 +12803,7 @@ public com.google.transit.realtime.GtfsRealtime.TimeRange getActivePeriod(int in
*
* repeated .transit_realtime.TimeRange active_period = 1;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TimeRangeOrBuilder getActivePeriodOrBuilder(
int index) {
return activePeriod_.get(index);
@@ -12029,6 +12818,7 @@ public com.google.transit.realtime.GtfsRealtime.TimeRangeOrBuilder getActivePeri
*
* repeated .transit_realtime.EntitySelector informed_entity = 5;
*/
+ @java.lang.Override
public java.util.Listrepeated .transit_realtime.EntitySelector informed_entity = 5;
*/
+ @java.lang.Override
public java.util.List extends com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder>
getInformedEntityOrBuilderList() {
return informedEntity_;
@@ -12050,6 +12841,7 @@ public java.util.Listrepeated .transit_realtime.EntitySelector informed_entity = 5;
*/
+ @java.lang.Override
public int getInformedEntityCount() {
return informedEntity_.size();
}
@@ -12060,6 +12852,7 @@ public int getInformedEntityCount() {
*
* repeated .transit_realtime.EntitySelector informed_entity = 5;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.EntitySelector getInformedEntity(int index) {
return informedEntity_.get(index);
}
@@ -12070,6 +12863,7 @@ public com.google.transit.realtime.GtfsRealtime.EntitySelector getInformedEntity
*
* repeated .transit_realtime.EntitySelector informed_entity = 5;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInformedEntityOrBuilder(
int index) {
return informedEntity_.get(index);
@@ -12079,14 +12873,17 @@ public com.google.transit.realtime.GtfsRealtime.EntitySelectorOrBuilder getInfor
private int cause_;
/**
* optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
+ * @return Whether the cause field is set.
*/
- public boolean hasCause() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ @java.lang.Override public boolean hasCause() {
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
+ * @return The cause.
*/
- public com.google.transit.realtime.GtfsRealtime.Alert.Cause getCause() {
+ @java.lang.Override public com.google.transit.realtime.GtfsRealtime.Alert.Cause getCause() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.Alert.Cause result = com.google.transit.realtime.GtfsRealtime.Alert.Cause.valueOf(cause_);
return result == null ? com.google.transit.realtime.GtfsRealtime.Alert.Cause.UNKNOWN_CAUSE : result;
}
@@ -12095,14 +12892,17 @@ public com.google.transit.realtime.GtfsRealtime.Alert.Cause getCause() {
private int effect_;
/**
* optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
+ * @return Whether the effect field is set.
*/
- public boolean hasEffect() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ @java.lang.Override public boolean hasEffect() {
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
+ * @return The effect.
*/
- public com.google.transit.realtime.GtfsRealtime.Alert.Effect getEffect() {
+ @java.lang.Override public com.google.transit.realtime.GtfsRealtime.Alert.Effect getEffect() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.Alert.Effect result = com.google.transit.realtime.GtfsRealtime.Alert.Effect.valueOf(effect_);
return result == null ? com.google.transit.realtime.GtfsRealtime.Alert.Effect.UNKNOWN_EFFECT : result;
}
@@ -12115,9 +12915,11 @@ public com.google.transit.realtime.GtfsRealtime.Alert.Effect getEffect() {
*
*
* optional .transit_realtime.TranslatedString url = 8;
+ * @return Whether the url field is set.
*/
+ @java.lang.Override
public boolean hasUrl() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -12125,7 +12927,9 @@ public boolean hasUrl() {
*
*
* optional .transit_realtime.TranslatedString url = 8;
+ * @return The url.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedString getUrl() {
return url_ == null ? com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance() : url_;
}
@@ -12136,6 +12940,7 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedString getUrl() {
*
* optional .transit_realtime.TranslatedString url = 8;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getUrlOrBuilder() {
return url_ == null ? com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance() : url_;
}
@@ -12148,9 +12953,11 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getUrl
*
*
* optional .transit_realtime.TranslatedString header_text = 10;
+ * @return Whether the headerText field is set.
*/
+ @java.lang.Override
public boolean hasHeaderText() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -12158,7 +12965,9 @@ public boolean hasHeaderText() {
*
*
* optional .transit_realtime.TranslatedString header_text = 10;
+ * @return The headerText.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedString getHeaderText() {
return headerText_ == null ? com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance() : headerText_;
}
@@ -12169,6 +12978,7 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedString getHeaderText()
*
* optional .transit_realtime.TranslatedString header_text = 10;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getHeaderTextOrBuilder() {
return headerText_ == null ? com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance() : headerText_;
}
@@ -12182,9 +12992,11 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getHea
*
*
* optional .transit_realtime.TranslatedString description_text = 11;
+ * @return Whether the descriptionText field is set.
*/
+ @java.lang.Override
public boolean hasDescriptionText() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -12193,7 +13005,9 @@ public boolean hasDescriptionText() {
*
*
* optional .transit_realtime.TranslatedString description_text = 11;
+ * @return The descriptionText.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedString getDescriptionText() {
return descriptionText_ == null ? com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance() : descriptionText_;
}
@@ -12205,6 +13019,7 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedString getDescriptionT
*
* optional .transit_realtime.TranslatedString description_text = 11;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getDescriptionTextOrBuilder() {
return descriptionText_ == null ? com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance() : descriptionText_;
}
@@ -12218,9 +13033,11 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getDes
*
*
* optional .transit_realtime.TranslatedString tts_header_text = 12;
+ * @return Whether the ttsHeaderText field is set.
*/
+ @java.lang.Override
public boolean hasTtsHeaderText() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
*
@@ -12229,7 +13046,9 @@ public boolean hasTtsHeaderText() {
*
*
* optional .transit_realtime.TranslatedString tts_header_text = 12;
+ * @return The ttsHeaderText.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedString getTtsHeaderText() {
return ttsHeaderText_ == null ? com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance() : ttsHeaderText_;
}
@@ -12241,6 +13060,7 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedString getTtsHeaderTex
*
* optional .transit_realtime.TranslatedString tts_header_text = 12;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getTtsHeaderTextOrBuilder() {
return ttsHeaderText_ == null ? com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance() : ttsHeaderText_;
}
@@ -12254,9 +13074,11 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getTts
*
*
* optional .transit_realtime.TranslatedString tts_description_text = 13;
+ * @return Whether the ttsDescriptionText field is set.
*/
+ @java.lang.Override
public boolean hasTtsDescriptionText() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -12265,7 +13087,9 @@ public boolean hasTtsDescriptionText() {
*
*
* optional .transit_realtime.TranslatedString tts_description_text = 13;
+ * @return The ttsDescriptionText.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedString getTtsDescriptionText() {
return ttsDescriptionText_ == null ? com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance() : ttsDescriptionText_;
}
@@ -12277,6 +13101,7 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedString getTtsDescripti
*
* optional .transit_realtime.TranslatedString tts_description_text = 13;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getTtsDescriptionTextOrBuilder() {
return ttsDescriptionText_ == null ? com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance() : ttsDescriptionText_;
}
@@ -12285,19 +13110,23 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getTts
private int severityLevel_;
/**
* optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];
+ * @return Whether the severityLevel field is set.
*/
- public boolean hasSeverityLevel() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ @java.lang.Override public boolean hasSeverityLevel() {
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];
+ * @return The severityLevel.
*/
- public com.google.transit.realtime.GtfsRealtime.Alert.SeverityLevel getSeverityLevel() {
+ @java.lang.Override public com.google.transit.realtime.GtfsRealtime.Alert.SeverityLevel getSeverityLevel() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.Alert.SeverityLevel result = com.google.transit.realtime.GtfsRealtime.Alert.SeverityLevel.valueOf(severityLevel_);
return result == null ? com.google.transit.realtime.GtfsRealtime.Alert.SeverityLevel.UNKNOWN_SEVERITY : result;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -12353,6 +13182,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
@@ -12364,34 +13194,35 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
for (int i = 0; i < informedEntity_.size(); i++) {
output.writeMessage(5, informedEntity_.get(i));
}
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeEnum(6, cause_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
output.writeEnum(7, effect_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(8, getUrl());
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(10, getHeaderText());
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(11, getDescriptionText());
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
output.writeMessage(12, getTtsHeaderText());
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
output.writeMessage(13, getTtsDescriptionText());
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000080) != 0)) {
output.writeEnum(14, severityLevel_);
}
extensionWriter.writeUntil(2000, output);
unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -12405,35 +13236,35 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, informedEntity_.get(i));
}
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, cause_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(7, effect_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getUrl());
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getHeaderText());
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getDescriptionText());
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getTtsHeaderText());
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getTtsDescriptionText());
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(14, severityLevel_);
}
@@ -12443,7 +13274,6 @@ public int getSerializedSize() {
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -12454,52 +13284,51 @@ public boolean equals(final java.lang.Object obj) {
}
com.google.transit.realtime.GtfsRealtime.Alert other = (com.google.transit.realtime.GtfsRealtime.Alert) obj;
- boolean result = true;
- result = result && getActivePeriodList()
- .equals(other.getActivePeriodList());
- result = result && getInformedEntityList()
- .equals(other.getInformedEntityList());
- result = result && (hasCause() == other.hasCause());
+ if (!getActivePeriodList()
+ .equals(other.getActivePeriodList())) return false;
+ if (!getInformedEntityList()
+ .equals(other.getInformedEntityList())) return false;
+ if (hasCause() != other.hasCause()) return false;
if (hasCause()) {
- result = result && cause_ == other.cause_;
+ if (cause_ != other.cause_) return false;
}
- result = result && (hasEffect() == other.hasEffect());
+ if (hasEffect() != other.hasEffect()) return false;
if (hasEffect()) {
- result = result && effect_ == other.effect_;
+ if (effect_ != other.effect_) return false;
}
- result = result && (hasUrl() == other.hasUrl());
+ if (hasUrl() != other.hasUrl()) return false;
if (hasUrl()) {
- result = result && getUrl()
- .equals(other.getUrl());
+ if (!getUrl()
+ .equals(other.getUrl())) return false;
}
- result = result && (hasHeaderText() == other.hasHeaderText());
+ if (hasHeaderText() != other.hasHeaderText()) return false;
if (hasHeaderText()) {
- result = result && getHeaderText()
- .equals(other.getHeaderText());
+ if (!getHeaderText()
+ .equals(other.getHeaderText())) return false;
}
- result = result && (hasDescriptionText() == other.hasDescriptionText());
+ if (hasDescriptionText() != other.hasDescriptionText()) return false;
if (hasDescriptionText()) {
- result = result && getDescriptionText()
- .equals(other.getDescriptionText());
+ if (!getDescriptionText()
+ .equals(other.getDescriptionText())) return false;
}
- result = result && (hasTtsHeaderText() == other.hasTtsHeaderText());
+ if (hasTtsHeaderText() != other.hasTtsHeaderText()) return false;
if (hasTtsHeaderText()) {
- result = result && getTtsHeaderText()
- .equals(other.getTtsHeaderText());
+ if (!getTtsHeaderText()
+ .equals(other.getTtsHeaderText())) return false;
}
- result = result && (hasTtsDescriptionText() == other.hasTtsDescriptionText());
+ if (hasTtsDescriptionText() != other.hasTtsDescriptionText()) return false;
if (hasTtsDescriptionText()) {
- result = result && getTtsDescriptionText()
- .equals(other.getTtsDescriptionText());
+ if (!getTtsDescriptionText()
+ .equals(other.getTtsDescriptionText())) return false;
}
- result = result && (hasSeverityLevel() == other.hasSeverityLevel());
+ if (hasSeverityLevel() != other.hasSeverityLevel()) return false;
if (hasSeverityLevel()) {
- result = result && severityLevel_ == other.severityLevel_;
+ if (severityLevel_ != other.severityLevel_) return false;
}
- result = result && unknownFields.equals(other.unknownFields);
- result = result &&
- getExtensionFields().equals(other.getExtensionFields());
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getExtensionFields().equals(other.getExtensionFields()))
+ return false;
+ return true;
}
@java.lang.Override
@@ -12508,7 +13337,7 @@ public int hashCode() {
return memoizedHashCode;
}
int hash = 41;
- hash = (19 * hash) + getDescriptorForType().hashCode();
+ hash = (19 * hash) + getDescriptor().hashCode();
if (getActivePeriodCount() > 0) {
hash = (37 * hash) + ACTIVE_PERIOD_FIELD_NUMBER;
hash = (53 * hash) + getActivePeriodList().hashCode();
@@ -12554,7 +13383,18 @@ public int hashCode() {
memoizedHashCode = hash;
return hash;
}
-
+
+ public static com.google.transit.realtime.GtfsRealtime.Alert parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.transit.realtime.GtfsRealtime.Alert parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.google.transit.realtime.GtfsRealtime.Alert parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -12614,6 +13454,7 @@ public static com.google.transit.realtime.GtfsRealtime.Alert parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -12621,6 +13462,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.google.transit.realtime.GtfsRealtime.Alert prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -12649,6 +13491,7 @@ public static final class Builder extends
return com.google.transit.realtime.GtfsRealtime.internal_static_transit_realtime_Alert_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.transit.realtime.GtfsRealtime.internal_static_transit_realtime_Alert_fieldAccessorTable
@@ -12678,6 +13521,7 @@ private void maybeForceBuilderInitialization() {
getTtsDescriptionTextFieldBuilder();
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
if (activePeriodBuilder_ == null) {
@@ -12731,15 +13575,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.transit.realtime.GtfsRealtime.internal_static_transit_realtime_Alert_descriptor;
}
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.Alert getDefaultInstanceForType() {
return com.google.transit.realtime.GtfsRealtime.Alert.getDefaultInstance();
}
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.Alert build() {
com.google.transit.realtime.GtfsRealtime.Alert result = buildPartial();
if (!result.isInitialized()) {
@@ -12748,12 +13595,13 @@ public com.google.transit.realtime.GtfsRealtime.Alert build() {
return result;
}
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.Alert buildPartial() {
com.google.transit.realtime.GtfsRealtime.Alert result = new com.google.transit.realtime.GtfsRealtime.Alert(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (activePeriodBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
activePeriod_ = java.util.Collections.unmodifiableList(activePeriod_);
bitField0_ = (bitField0_ & ~0x00000001);
}
@@ -12762,7 +13610,7 @@ public com.google.transit.realtime.GtfsRealtime.Alert buildPartial() {
result.activePeriod_ = activePeriodBuilder_.build();
}
if (informedEntityBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
informedEntity_ = java.util.Collections.unmodifiableList(informedEntity_);
bitField0_ = (bitField0_ & ~0x00000002);
}
@@ -12770,55 +13618,55 @@ public com.google.transit.realtime.GtfsRealtime.Alert buildPartial() {
} else {
result.informedEntity_ = informedEntityBuilder_.build();
}
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.cause_ = cause_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.effect_ = effect_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ if (urlBuilder_ == null) {
+ result.url_ = url_;
+ } else {
+ result.url_ = urlBuilder_.build();
+ }
to_bitField0_ |= 0x00000004;
}
- if (urlBuilder_ == null) {
- result.url_ = url_;
- } else {
- result.url_ = urlBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ if (headerTextBuilder_ == null) {
+ result.headerText_ = headerText_;
+ } else {
+ result.headerText_ = headerTextBuilder_.build();
+ }
to_bitField0_ |= 0x00000008;
}
- if (headerTextBuilder_ == null) {
- result.headerText_ = headerText_;
- } else {
- result.headerText_ = headerTextBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ if (descriptionTextBuilder_ == null) {
+ result.descriptionText_ = descriptionText_;
+ } else {
+ result.descriptionText_ = descriptionTextBuilder_.build();
+ }
to_bitField0_ |= 0x00000010;
}
- if (descriptionTextBuilder_ == null) {
- result.descriptionText_ = descriptionText_;
- } else {
- result.descriptionText_ = descriptionTextBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ if (ttsHeaderTextBuilder_ == null) {
+ result.ttsHeaderText_ = ttsHeaderText_;
+ } else {
+ result.ttsHeaderText_ = ttsHeaderTextBuilder_.build();
+ }
to_bitField0_ |= 0x00000020;
}
- if (ttsHeaderTextBuilder_ == null) {
- result.ttsHeaderText_ = ttsHeaderText_;
- } else {
- result.ttsHeaderText_ = ttsHeaderTextBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ if (ttsDescriptionTextBuilder_ == null) {
+ result.ttsDescriptionText_ = ttsDescriptionText_;
+ } else {
+ result.ttsDescriptionText_ = ttsDescriptionTextBuilder_.build();
+ }
to_bitField0_ |= 0x00000040;
}
- if (ttsDescriptionTextBuilder_ == null) {
- result.ttsDescriptionText_ = ttsDescriptionText_;
- } else {
- result.ttsDescriptionText_ = ttsDescriptionTextBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((from_bitField0_ & 0x00000200) != 0)) {
to_bitField0_ |= 0x00000080;
}
result.severityLevel_ = severityLevel_;
@@ -12827,55 +13675,66 @@ public com.google.transit.realtime.GtfsRealtime.Alert buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
+ * @return Whether the cause field is set.
*/
- public boolean hasCause() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ @java.lang.Override public boolean hasCause() {
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
+ * @return The cause.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.Alert.Cause getCause() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.Alert.Cause result = com.google.transit.realtime.GtfsRealtime.Alert.Cause.valueOf(cause_);
return result == null ? com.google.transit.realtime.GtfsRealtime.Alert.Cause.UNKNOWN_CAUSE : result;
}
/**
* optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
+ * @param value The cause to set.
+ * @return This builder for chaining.
*/
public Builder setCause(com.google.transit.realtime.GtfsRealtime.Alert.Cause value) {
if (value == null) {
@@ -13718,6 +14585,7 @@ public Builder setCause(com.google.transit.realtime.GtfsRealtime.Alert.Cause val
}
/**
* optional .transit_realtime.Alert.Cause cause = 6 [default = UNKNOWN_CAUSE];
+ * @return This builder for chaining.
*/
public Builder clearCause() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -13729,19 +14597,25 @@ public Builder clearCause() {
private int effect_ = 8;
/**
* optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
+ * @return Whether the effect field is set.
*/
- public boolean hasEffect() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ @java.lang.Override public boolean hasEffect() {
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
+ * @return The effect.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.Alert.Effect getEffect() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.Alert.Effect result = com.google.transit.realtime.GtfsRealtime.Alert.Effect.valueOf(effect_);
return result == null ? com.google.transit.realtime.GtfsRealtime.Alert.Effect.UNKNOWN_EFFECT : result;
}
/**
* optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
+ * @param value The effect to set.
+ * @return This builder for chaining.
*/
public Builder setEffect(com.google.transit.realtime.GtfsRealtime.Alert.Effect value) {
if (value == null) {
@@ -13754,6 +14628,7 @@ public Builder setEffect(com.google.transit.realtime.GtfsRealtime.Alert.Effect v
}
/**
* optional .transit_realtime.Alert.Effect effect = 7 [default = UNKNOWN_EFFECT];
+ * @return This builder for chaining.
*/
public Builder clearEffect() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -13762,7 +14637,7 @@ public Builder clearEffect() {
return this;
}
- private com.google.transit.realtime.GtfsRealtime.TranslatedString url_ = null;
+ private com.google.transit.realtime.GtfsRealtime.TranslatedString url_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.TranslatedString, com.google.transit.realtime.GtfsRealtime.TranslatedString.Builder, com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder> urlBuilder_;
/**
@@ -13771,9 +14646,10 @@ public Builder clearEffect() {
*
*
* optional .transit_realtime.TranslatedString url = 8;
+ * @return Whether the url field is set.
*/
public boolean hasUrl() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -13781,6 +14657,7 @@ public boolean hasUrl() {
*
*
* optional .transit_realtime.TranslatedString url = 8;
+ * @return The url.
*/
public com.google.transit.realtime.GtfsRealtime.TranslatedString getUrl() {
if (urlBuilder_ == null) {
@@ -13836,7 +14713,7 @@ public Builder setUrl(
*/
public Builder mergeUrl(com.google.transit.realtime.GtfsRealtime.TranslatedString value) {
if (urlBuilder_ == null) {
- if (((bitField0_ & 0x00000010) == 0x00000010) &&
+ if (((bitField0_ & 0x00000010) != 0) &&
url_ != null &&
url_ != com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance()) {
url_ =
@@ -13916,7 +14793,7 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getUrl
return urlBuilder_;
}
- private com.google.transit.realtime.GtfsRealtime.TranslatedString headerText_ = null;
+ private com.google.transit.realtime.GtfsRealtime.TranslatedString headerText_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.TranslatedString, com.google.transit.realtime.GtfsRealtime.TranslatedString.Builder, com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder> headerTextBuilder_;
/**
@@ -13925,9 +14802,10 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getUrl
*
*
* optional .transit_realtime.TranslatedString header_text = 10;
+ * @return Whether the headerText field is set.
*/
public boolean hasHeaderText() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
*
@@ -13935,6 +14813,7 @@ public boolean hasHeaderText() {
*
*
* optional .transit_realtime.TranslatedString header_text = 10;
+ * @return The headerText.
*/
public com.google.transit.realtime.GtfsRealtime.TranslatedString getHeaderText() {
if (headerTextBuilder_ == null) {
@@ -13990,7 +14869,7 @@ public Builder setHeaderText(
*/
public Builder mergeHeaderText(com.google.transit.realtime.GtfsRealtime.TranslatedString value) {
if (headerTextBuilder_ == null) {
- if (((bitField0_ & 0x00000020) == 0x00000020) &&
+ if (((bitField0_ & 0x00000020) != 0) &&
headerText_ != null &&
headerText_ != com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance()) {
headerText_ =
@@ -14070,7 +14949,7 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getHea
return headerTextBuilder_;
}
- private com.google.transit.realtime.GtfsRealtime.TranslatedString descriptionText_ = null;
+ private com.google.transit.realtime.GtfsRealtime.TranslatedString descriptionText_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.TranslatedString, com.google.transit.realtime.GtfsRealtime.TranslatedString.Builder, com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder> descriptionTextBuilder_;
/**
@@ -14080,9 +14959,10 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getHea
*
*
* optional .transit_realtime.TranslatedString description_text = 11;
+ * @return Whether the descriptionText field is set.
*/
public boolean hasDescriptionText() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -14091,6 +14971,7 @@ public boolean hasDescriptionText() {
*
*
* optional .transit_realtime.TranslatedString description_text = 11;
+ * @return The descriptionText.
*/
public com.google.transit.realtime.GtfsRealtime.TranslatedString getDescriptionText() {
if (descriptionTextBuilder_ == null) {
@@ -14149,7 +15030,7 @@ public Builder setDescriptionText(
*/
public Builder mergeDescriptionText(com.google.transit.realtime.GtfsRealtime.TranslatedString value) {
if (descriptionTextBuilder_ == null) {
- if (((bitField0_ & 0x00000040) == 0x00000040) &&
+ if (((bitField0_ & 0x00000040) != 0) &&
descriptionText_ != null &&
descriptionText_ != com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance()) {
descriptionText_ =
@@ -14233,7 +15114,7 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getDes
return descriptionTextBuilder_;
}
- private com.google.transit.realtime.GtfsRealtime.TranslatedString ttsHeaderText_ = null;
+ private com.google.transit.realtime.GtfsRealtime.TranslatedString ttsHeaderText_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.TranslatedString, com.google.transit.realtime.GtfsRealtime.TranslatedString.Builder, com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder> ttsHeaderTextBuilder_;
/**
@@ -14243,9 +15124,10 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getDes
*
*
* optional .transit_realtime.TranslatedString tts_header_text = 12;
+ * @return Whether the ttsHeaderText field is set.
*/
public boolean hasTtsHeaderText() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
*
@@ -14254,6 +15136,7 @@ public boolean hasTtsHeaderText() {
*
*
* optional .transit_realtime.TranslatedString tts_header_text = 12;
+ * @return The ttsHeaderText.
*/
public com.google.transit.realtime.GtfsRealtime.TranslatedString getTtsHeaderText() {
if (ttsHeaderTextBuilder_ == null) {
@@ -14312,7 +15195,7 @@ public Builder setTtsHeaderText(
*/
public Builder mergeTtsHeaderText(com.google.transit.realtime.GtfsRealtime.TranslatedString value) {
if (ttsHeaderTextBuilder_ == null) {
- if (((bitField0_ & 0x00000080) == 0x00000080) &&
+ if (((bitField0_ & 0x00000080) != 0) &&
ttsHeaderText_ != null &&
ttsHeaderText_ != com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance()) {
ttsHeaderText_ =
@@ -14396,7 +15279,7 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getTts
return ttsHeaderTextBuilder_;
}
- private com.google.transit.realtime.GtfsRealtime.TranslatedString ttsDescriptionText_ = null;
+ private com.google.transit.realtime.GtfsRealtime.TranslatedString ttsDescriptionText_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.TranslatedString, com.google.transit.realtime.GtfsRealtime.TranslatedString.Builder, com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder> ttsDescriptionTextBuilder_;
/**
@@ -14406,9 +15289,10 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getTts
*
*
* optional .transit_realtime.TranslatedString tts_description_text = 13;
+ * @return Whether the ttsDescriptionText field is set.
*/
public boolean hasTtsDescriptionText() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
*
@@ -14417,6 +15301,7 @@ public boolean hasTtsDescriptionText() {
*
*
* optional .transit_realtime.TranslatedString tts_description_text = 13;
+ * @return The ttsDescriptionText.
*/
public com.google.transit.realtime.GtfsRealtime.TranslatedString getTtsDescriptionText() {
if (ttsDescriptionTextBuilder_ == null) {
@@ -14475,7 +15360,7 @@ public Builder setTtsDescriptionText(
*/
public Builder mergeTtsDescriptionText(com.google.transit.realtime.GtfsRealtime.TranslatedString value) {
if (ttsDescriptionTextBuilder_ == null) {
- if (((bitField0_ & 0x00000100) == 0x00000100) &&
+ if (((bitField0_ & 0x00000100) != 0) &&
ttsDescriptionText_ != null &&
ttsDescriptionText_ != com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance()) {
ttsDescriptionText_ =
@@ -14562,19 +15447,25 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedStringOrBuilder getTts
private int severityLevel_ = 1;
/**
* optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];
+ * @return Whether the severityLevel field is set.
*/
- public boolean hasSeverityLevel() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ @java.lang.Override public boolean hasSeverityLevel() {
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];
+ * @return The severityLevel.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.Alert.SeverityLevel getSeverityLevel() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.Alert.SeverityLevel result = com.google.transit.realtime.GtfsRealtime.Alert.SeverityLevel.valueOf(severityLevel_);
return result == null ? com.google.transit.realtime.GtfsRealtime.Alert.SeverityLevel.UNKNOWN_SEVERITY : result;
}
/**
* optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];
+ * @param value The severityLevel to set.
+ * @return This builder for chaining.
*/
public Builder setSeverityLevel(com.google.transit.realtime.GtfsRealtime.Alert.SeverityLevel value) {
if (value == null) {
@@ -14587,6 +15478,7 @@ public Builder setSeverityLevel(com.google.transit.realtime.GtfsRealtime.Alert.S
}
/**
* optional .transit_realtime.Alert.SeverityLevel severity_level = 14 [default = UNKNOWN_SEVERITY];
+ * @return This builder for chaining.
*/
public Builder clearSeverityLevel() {
bitField0_ = (bitField0_ & ~0x00000200);
@@ -14594,11 +15486,13 @@ public Builder clearSeverityLevel() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -14620,11 +15514,12 @@ public static com.google.transit.realtime.GtfsRealtime.Alert getDefaultInstance(
@java.lang.Deprecated public static final com.google.protobuf.Parseroptional uint64 start = 1;
+ * @return Whether the start field is set.
*/
boolean hasStart();
/**
@@ -14666,6 +15563,7 @@ public interface TimeRangeOrBuilder extends
*
*
* optional uint64 start = 1;
+ * @return The start.
*/
long getStart();
@@ -14677,6 +15575,7 @@ public interface TimeRangeOrBuilder extends
*
*
* optional uint64 end = 2;
+ * @return Whether the end field is set.
*/
boolean hasEnd();
/**
@@ -14687,6 +15586,7 @@ public interface TimeRangeOrBuilder extends
*
*
* optional uint64 end = 2;
+ * @return The end.
*/
long getEnd();
}
@@ -14698,18 +15598,24 @@ public interface TimeRangeOrBuilder extends
*
* Protobuf type {@code transit_realtime.TimeRange}
*/
- public static final class TimeRange extends
+ public static final class TimeRange extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
TimeRange> implements
// @@protoc_insertion_point(message_implements:transit_realtime.TimeRange)
TimeRangeOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use TimeRange.newBuilder() to construct.
private TimeRange(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderoptional uint64 start = 1;
+ * @return Whether the start field is set.
*/
+ @java.lang.Override
public boolean hasStart() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -14797,7 +15709,9 @@ public boolean hasStart() {
*
*
* optional uint64 start = 1;
+ * @return The start.
*/
+ @java.lang.Override
public long getStart() {
return start_;
}
@@ -14812,9 +15726,11 @@ public long getStart() {
*
*
* optional uint64 end = 2;
+ * @return Whether the end field is set.
*/
+ @java.lang.Override
public boolean hasEnd() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -14824,12 +15740,15 @@ public boolean hasEnd() {
*
*
* optional uint64 end = 2;
+ * @return The end.
*/
+ @java.lang.Override
public long getEnd() {
return end_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -14843,31 +15762,33 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.ExtendableMessageoptional uint64 start = 1;
+ * @return Whether the start field is set.
*/
+ @java.lang.Override
public boolean hasStart() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -15207,7 +16160,9 @@ public boolean hasStart() {
*
*
* optional uint64 start = 1;
+ * @return The start.
*/
+ @java.lang.Override
public long getStart() {
return start_;
}
@@ -15219,6 +16174,8 @@ public long getStart() {
*
*
* optional uint64 start = 1;
+ * @param value The start to set.
+ * @return This builder for chaining.
*/
public Builder setStart(long value) {
bitField0_ |= 0x00000001;
@@ -15234,6 +16191,7 @@ public Builder setStart(long value) {
*
*
* optional uint64 start = 1;
+ * @return This builder for chaining.
*/
public Builder clearStart() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -15251,9 +16209,11 @@ public Builder clearStart() {
*
*
* optional uint64 end = 2;
+ * @return Whether the end field is set.
*/
+ @java.lang.Override
public boolean hasEnd() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -15263,7 +16223,9 @@ public boolean hasEnd() {
*
*
* optional uint64 end = 2;
+ * @return The end.
*/
+ @java.lang.Override
public long getEnd() {
return end_;
}
@@ -15275,6 +16237,8 @@ public long getEnd() {
*
*
* optional uint64 end = 2;
+ * @param value The end to set.
+ * @return This builder for chaining.
*/
public Builder setEnd(long value) {
bitField0_ |= 0x00000002;
@@ -15290,6 +16254,7 @@ public Builder setEnd(long value) {
*
*
* optional uint64 end = 2;
+ * @return This builder for chaining.
*/
public Builder clearEnd() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -15297,11 +16262,13 @@ public Builder clearEnd() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -15323,11 +16290,12 @@ public static com.google.transit.realtime.GtfsRealtime.TimeRange getDefaultInsta
@java.lang.Deprecated public static final com.google.protobuf.Parserrequired float latitude = 1;
+ * @return Whether the latitude field is set.
*/
boolean hasLatitude();
/**
@@ -15365,6 +16335,7 @@ public interface PositionOrBuilder extends
*
*
* required float latitude = 1;
+ * @return The latitude.
*/
float getLatitude();
@@ -15374,6 +16345,7 @@ public interface PositionOrBuilder extends
*
*
* required float longitude = 2;
+ * @return Whether the longitude field is set.
*/
boolean hasLongitude();
/**
@@ -15382,6 +16354,7 @@ public interface PositionOrBuilder extends
*
*
* required float longitude = 2;
+ * @return The longitude.
*/
float getLongitude();
@@ -15395,6 +16368,7 @@ public interface PositionOrBuilder extends
*
*
* optional float bearing = 3;
+ * @return Whether the bearing field is set.
*/
boolean hasBearing();
/**
@@ -15407,6 +16381,7 @@ public interface PositionOrBuilder extends
*
*
* optional float bearing = 3;
+ * @return The bearing.
*/
float getBearing();
@@ -15416,6 +16391,7 @@ public interface PositionOrBuilder extends
*
*
* optional double odometer = 4;
+ * @return Whether the odometer field is set.
*/
boolean hasOdometer();
/**
@@ -15424,6 +16400,7 @@ public interface PositionOrBuilder extends
*
*
* optional double odometer = 4;
+ * @return The odometer.
*/
double getOdometer();
@@ -15433,6 +16410,7 @@ public interface PositionOrBuilder extends
*
*
* optional float speed = 5;
+ * @return Whether the speed field is set.
*/
boolean hasSpeed();
/**
@@ -15441,6 +16419,7 @@ public interface PositionOrBuilder extends
*
*
* optional float speed = 5;
+ * @return The speed.
*/
float getSpeed();
}
@@ -15451,21 +16430,24 @@ public interface PositionOrBuilder extends
*
* Protobuf type {@code transit_realtime.Position}
*/
- public static final class Position extends
+ public static final class Position extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
Position> implements
// @@protoc_insertion_point(message_implements:transit_realtime.Position)
PositionOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use Position.newBuilder() to construct.
private Position(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderrequired float latitude = 1;
+ * @return Whether the latitude field is set.
*/
+ @java.lang.Override
public boolean hasLatitude() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -15564,7 +16552,9 @@ public boolean hasLatitude() {
*
*
* required float latitude = 1;
+ * @return The latitude.
*/
+ @java.lang.Override
public float getLatitude() {
return latitude_;
}
@@ -15577,9 +16567,11 @@ public float getLatitude() {
*
*
* required float longitude = 2;
+ * @return Whether the longitude field is set.
*/
+ @java.lang.Override
public boolean hasLongitude() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -15587,7 +16579,9 @@ public boolean hasLongitude() {
*
*
* required float longitude = 2;
+ * @return The longitude.
*/
+ @java.lang.Override
public float getLongitude() {
return longitude_;
}
@@ -15604,9 +16598,11 @@ public float getLongitude() {
*
*
* optional float bearing = 3;
+ * @return Whether the bearing field is set.
*/
+ @java.lang.Override
public boolean hasBearing() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -15618,7 +16614,9 @@ public boolean hasBearing() {
*
*
* optional float bearing = 3;
+ * @return The bearing.
*/
+ @java.lang.Override
public float getBearing() {
return bearing_;
}
@@ -15631,9 +16629,11 @@ public float getBearing() {
*
*
* optional double odometer = 4;
+ * @return Whether the odometer field is set.
*/
+ @java.lang.Override
public boolean hasOdometer() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -15641,7 +16641,9 @@ public boolean hasOdometer() {
*
*
* optional double odometer = 4;
+ * @return The odometer.
*/
+ @java.lang.Override
public double getOdometer() {
return odometer_;
}
@@ -15654,9 +16656,11 @@ public double getOdometer() {
*
*
* optional float speed = 5;
+ * @return Whether the speed field is set.
*/
+ @java.lang.Override
public boolean hasSpeed() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -15664,12 +16668,15 @@ public boolean hasSpeed() {
*
*
* optional float speed = 5;
+ * @return The speed.
*/
+ @java.lang.Override
public float getSpeed() {
return speed_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -15691,52 +16698,54 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.ExtendableMessagerequired float latitude = 1;
+ * @return Whether the latitude field is set.
*/
+ @java.lang.Override
public boolean hasLatitude() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -16144,7 +17180,9 @@ public boolean hasLatitude() {
*
*
* required float latitude = 1;
+ * @return The latitude.
*/
+ @java.lang.Override
public float getLatitude() {
return latitude_;
}
@@ -16154,6 +17192,8 @@ public float getLatitude() {
*
*
* required float latitude = 1;
+ * @param value The latitude to set.
+ * @return This builder for chaining.
*/
public Builder setLatitude(float value) {
bitField0_ |= 0x00000001;
@@ -16167,6 +17207,7 @@ public Builder setLatitude(float value) {
*
*
* required float latitude = 1;
+ * @return This builder for chaining.
*/
public Builder clearLatitude() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -16182,9 +17223,11 @@ public Builder clearLatitude() {
*
*
* required float longitude = 2;
+ * @return Whether the longitude field is set.
*/
+ @java.lang.Override
public boolean hasLongitude() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -16192,7 +17235,9 @@ public boolean hasLongitude() {
*
*
* required float longitude = 2;
+ * @return The longitude.
*/
+ @java.lang.Override
public float getLongitude() {
return longitude_;
}
@@ -16202,6 +17247,8 @@ public float getLongitude() {
*
*
* required float longitude = 2;
+ * @param value The longitude to set.
+ * @return This builder for chaining.
*/
public Builder setLongitude(float value) {
bitField0_ |= 0x00000002;
@@ -16215,6 +17262,7 @@ public Builder setLongitude(float value) {
*
*
* required float longitude = 2;
+ * @return This builder for chaining.
*/
public Builder clearLongitude() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -16234,9 +17282,11 @@ public Builder clearLongitude() {
*
*
* optional float bearing = 3;
+ * @return Whether the bearing field is set.
*/
+ @java.lang.Override
public boolean hasBearing() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -16248,7 +17298,9 @@ public boolean hasBearing() {
*
*
* optional float bearing = 3;
+ * @return The bearing.
*/
+ @java.lang.Override
public float getBearing() {
return bearing_;
}
@@ -16262,6 +17314,8 @@ public float getBearing() {
*
*
* optional float bearing = 3;
+ * @param value The bearing to set.
+ * @return This builder for chaining.
*/
public Builder setBearing(float value) {
bitField0_ |= 0x00000004;
@@ -16279,6 +17333,7 @@ public Builder setBearing(float value) {
*
*
* optional float bearing = 3;
+ * @return This builder for chaining.
*/
public Builder clearBearing() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -16294,9 +17349,11 @@ public Builder clearBearing() {
*
*
* optional double odometer = 4;
+ * @return Whether the odometer field is set.
*/
+ @java.lang.Override
public boolean hasOdometer() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -16304,7 +17361,9 @@ public boolean hasOdometer() {
*
*
* optional double odometer = 4;
+ * @return The odometer.
*/
+ @java.lang.Override
public double getOdometer() {
return odometer_;
}
@@ -16314,6 +17373,8 @@ public double getOdometer() {
*
*
* optional double odometer = 4;
+ * @param value The odometer to set.
+ * @return This builder for chaining.
*/
public Builder setOdometer(double value) {
bitField0_ |= 0x00000008;
@@ -16327,6 +17388,7 @@ public Builder setOdometer(double value) {
*
*
* optional double odometer = 4;
+ * @return This builder for chaining.
*/
public Builder clearOdometer() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -16342,9 +17404,11 @@ public Builder clearOdometer() {
*
*
* optional float speed = 5;
+ * @return Whether the speed field is set.
*/
+ @java.lang.Override
public boolean hasSpeed() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -16352,7 +17416,9 @@ public boolean hasSpeed() {
*
*
* optional float speed = 5;
+ * @return The speed.
*/
+ @java.lang.Override
public float getSpeed() {
return speed_;
}
@@ -16362,6 +17428,8 @@ public float getSpeed() {
*
*
* optional float speed = 5;
+ * @param value The speed to set.
+ * @return This builder for chaining.
*/
public Builder setSpeed(float value) {
bitField0_ |= 0x00000010;
@@ -16375,6 +17443,7 @@ public Builder setSpeed(float value) {
*
*
* optional float speed = 5;
+ * @return This builder for chaining.
*/
public Builder clearSpeed() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -16382,11 +17451,13 @@ public Builder clearSpeed() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -16408,11 +17479,12 @@ public static com.google.transit.realtime.GtfsRealtime.Position getDefaultInstan
@java.lang.Deprecated public static final com.google.protobuf.Parseroptional string trip_id = 1;
+ * @return Whether the tripId field is set.
*/
boolean hasTripId();
/**
@@ -16456,6 +17530,7 @@ public interface TripDescriptorOrBuilder extends
*
*
* optional string trip_id = 1;
+ * @return The tripId.
*/
java.lang.String getTripId();
/**
@@ -16467,6 +17542,7 @@ public interface TripDescriptorOrBuilder extends
*
*
* optional string trip_id = 1;
+ * @return The bytes for tripId.
*/
com.google.protobuf.ByteString
getTripIdBytes();
@@ -16477,6 +17553,7 @@ public interface TripDescriptorOrBuilder extends
*
*
* optional string route_id = 5;
+ * @return Whether the routeId field is set.
*/
boolean hasRouteId();
/**
@@ -16485,6 +17562,7 @@ public interface TripDescriptorOrBuilder extends
*
*
* optional string route_id = 5;
+ * @return The routeId.
*/
java.lang.String getRouteId();
/**
@@ -16493,6 +17571,7 @@ public interface TripDescriptorOrBuilder extends
*
*
* optional string route_id = 5;
+ * @return The bytes for routeId.
*/
com.google.protobuf.ByteString
getRouteIdBytes();
@@ -16506,6 +17585,7 @@ public interface TripDescriptorOrBuilder extends
*
*
* optional uint32 direction_id = 6;
+ * @return Whether the directionId field is set.
*/
boolean hasDirectionId();
/**
@@ -16517,6 +17597,7 @@ public interface TripDescriptorOrBuilder extends
*
*
* optional uint32 direction_id = 6;
+ * @return The directionId.
*/
int getDirectionId();
@@ -16540,6 +17621,7 @@ public interface TripDescriptorOrBuilder extends
*
*
* optional string start_time = 2;
+ * @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
@@ -16562,6 +17644,7 @@ public interface TripDescriptorOrBuilder extends
*
*
* optional string start_time = 2;
+ * @return The startTime.
*/
java.lang.String getStartTime();
/**
@@ -16584,6 +17667,7 @@ public interface TripDescriptorOrBuilder extends
*
*
* optional string start_time = 2;
+ * @return The bytes for startTime.
*/
com.google.protobuf.ByteString
getStartTimeBytes();
@@ -16603,6 +17687,7 @@ public interface TripDescriptorOrBuilder extends
*
*
* optional string start_date = 3;
+ * @return Whether the startDate field is set.
*/
boolean hasStartDate();
/**
@@ -16620,6 +17705,7 @@ public interface TripDescriptorOrBuilder extends
*
*
* optional string start_date = 3;
+ * @return The startDate.
*/
java.lang.String getStartDate();
/**
@@ -16637,16 +17723,19 @@ public interface TripDescriptorOrBuilder extends
*
*
* optional string start_date = 3;
+ * @return The bytes for startDate.
*/
com.google.protobuf.ByteString
getStartDateBytes();
/**
* optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;
+ * @return Whether the scheduleRelationship field is set.
*/
boolean hasScheduleRelationship();
/**
* optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;
+ * @return The scheduleRelationship.
*/
com.google.transit.realtime.GtfsRealtime.TripDescriptor.ScheduleRelationship getScheduleRelationship();
}
@@ -16665,11 +17754,12 @@ public interface TripDescriptorOrBuilder extends
*
* Protobuf type {@code transit_realtime.TripDescriptor}
*/
- public static final class TripDescriptor extends
+ public static final class TripDescriptor extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
TripDescriptor> implements
// @@protoc_insertion_point(message_implements:transit_realtime.TripDescriptor)
TripDescriptorOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use TripDescriptor.newBuilder() to construct.
private TripDescriptor(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderREPLACEMENT = 5 [deprecated = true];
*/
- public static final int REPLACEMENT_VALUE = 5;
+ @java.lang.Deprecated public static final int REPLACEMENT_VALUE = 5;
public final int getNumber() {
@@ -16884,6 +17985,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -16891,6 +17994,10 @@ public static ScheduleRelationship valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static ScheduleRelationship forNumber(int value) {
switch (value) {
case 0: return SCHEDULED;
@@ -16959,9 +18066,11 @@ private ScheduleRelationship(int value) {
*
*
* optional string trip_id = 1;
+ * @return Whether the tripId field is set.
*/
+ @java.lang.Override
public boolean hasTripId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -16972,7 +18081,9 @@ public boolean hasTripId() {
*
*
* optional string trip_id = 1;
+ * @return The tripId.
*/
+ @java.lang.Override
public java.lang.String getTripId() {
java.lang.Object ref = tripId_;
if (ref instanceof java.lang.String) {
@@ -16996,7 +18107,9 @@ public java.lang.String getTripId() {
*
*
* optional string trip_id = 1;
+ * @return The bytes for tripId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getTripIdBytes() {
java.lang.Object ref = tripId_;
@@ -17019,9 +18132,11 @@ public java.lang.String getTripId() {
*
*
* optional string route_id = 5;
+ * @return Whether the routeId field is set.
*/
+ @java.lang.Override
public boolean hasRouteId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -17029,7 +18144,9 @@ public boolean hasRouteId() {
*
*
* optional string route_id = 5;
+ * @return The routeId.
*/
+ @java.lang.Override
public java.lang.String getRouteId() {
java.lang.Object ref = routeId_;
if (ref instanceof java.lang.String) {
@@ -17050,7 +18167,9 @@ public java.lang.String getRouteId() {
*
*
* optional string route_id = 5;
+ * @return The bytes for routeId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getRouteIdBytes() {
java.lang.Object ref = routeId_;
@@ -17076,9 +18195,11 @@ public java.lang.String getRouteId() {
*
*
* optional uint32 direction_id = 6;
+ * @return Whether the directionId field is set.
*/
+ @java.lang.Override
public boolean hasDirectionId() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -17089,7 +18210,9 @@ public boolean hasDirectionId() {
*
*
* optional uint32 direction_id = 6;
+ * @return The directionId.
*/
+ @java.lang.Override
public int getDirectionId() {
return directionId_;
}
@@ -17116,9 +18239,11 @@ public int getDirectionId() {
*
*
* optional string start_time = 2;
+ * @return Whether the startTime field is set.
*/
+ @java.lang.Override
public boolean hasStartTime() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -17140,7 +18265,9 @@ public boolean hasStartTime() {
*
*
* optional string start_time = 2;
+ * @return The startTime.
*/
+ @java.lang.Override
public java.lang.String getStartTime() {
java.lang.Object ref = startTime_;
if (ref instanceof java.lang.String) {
@@ -17175,7 +18302,9 @@ public java.lang.String getStartTime() {
*
*
* optional string start_time = 2;
+ * @return The bytes for startTime.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStartTimeBytes() {
java.lang.Object ref = startTime_;
@@ -17207,9 +18336,11 @@ public java.lang.String getStartTime() {
*
*
* optional string start_date = 3;
+ * @return Whether the startDate field is set.
*/
+ @java.lang.Override
public boolean hasStartDate() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -17226,7 +18357,9 @@ public boolean hasStartDate() {
*
*
* optional string start_date = 3;
+ * @return The startDate.
*/
+ @java.lang.Override
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
if (ref instanceof java.lang.String) {
@@ -17256,7 +18389,9 @@ public java.lang.String getStartDate() {
*
*
* optional string start_date = 3;
+ * @return The bytes for startDate.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
@@ -17275,19 +18410,23 @@ public java.lang.String getStartDate() {
private int scheduleRelationship_;
/**
* optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;
+ * @return Whether the scheduleRelationship field is set.
*/
- public boolean hasScheduleRelationship() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ @java.lang.Override public boolean hasScheduleRelationship() {
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;
+ * @return The scheduleRelationship.
*/
- public com.google.transit.realtime.GtfsRealtime.TripDescriptor.ScheduleRelationship getScheduleRelationship() {
+ @java.lang.Override public com.google.transit.realtime.GtfsRealtime.TripDescriptor.ScheduleRelationship getScheduleRelationship() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.TripDescriptor.ScheduleRelationship result = com.google.transit.realtime.GtfsRealtime.TripDescriptor.ScheduleRelationship.valueOf(scheduleRelationship_);
return result == null ? com.google.transit.realtime.GtfsRealtime.TripDescriptor.ScheduleRelationship.SCHEDULED : result;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -17301,55 +18440,57 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.ExtendableMessageoptional string trip_id = 1;
+ * @return Whether the tripId field is set.
*/
public boolean hasTripId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -17775,6 +18947,7 @@ public boolean hasTripId() {
*
*
* optional string trip_id = 1;
+ * @return The tripId.
*/
public java.lang.String getTripId() {
java.lang.Object ref = tripId_;
@@ -17799,6 +18972,7 @@ public java.lang.String getTripId() {
*
*
* optional string trip_id = 1;
+ * @return The bytes for tripId.
*/
public com.google.protobuf.ByteString
getTripIdBytes() {
@@ -17822,6 +18996,8 @@ public java.lang.String getTripId() {
*
*
* optional string trip_id = 1;
+ * @param value The tripId to set.
+ * @return This builder for chaining.
*/
public Builder setTripId(
java.lang.String value) {
@@ -17842,6 +19018,7 @@ public Builder setTripId(
*
*
* optional string trip_id = 1;
+ * @return This builder for chaining.
*/
public Builder clearTripId() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -17858,6 +19035,8 @@ public Builder clearTripId() {
*
*
* optional string trip_id = 1;
+ * @param value The bytes for tripId to set.
+ * @return This builder for chaining.
*/
public Builder setTripIdBytes(
com.google.protobuf.ByteString value) {
@@ -17877,9 +19056,10 @@ public Builder setTripIdBytes(
*
*
* optional string route_id = 5;
+ * @return Whether the routeId field is set.
*/
public boolean hasRouteId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -17887,6 +19067,7 @@ public boolean hasRouteId() {
*
*
* optional string route_id = 5;
+ * @return The routeId.
*/
public java.lang.String getRouteId() {
java.lang.Object ref = routeId_;
@@ -17908,6 +19089,7 @@ public java.lang.String getRouteId() {
*
*
* optional string route_id = 5;
+ * @return The bytes for routeId.
*/
public com.google.protobuf.ByteString
getRouteIdBytes() {
@@ -17928,6 +19110,8 @@ public java.lang.String getRouteId() {
*
*
* optional string route_id = 5;
+ * @param value The routeId to set.
+ * @return This builder for chaining.
*/
public Builder setRouteId(
java.lang.String value) {
@@ -17945,6 +19129,7 @@ public Builder setRouteId(
*
*
* optional string route_id = 5;
+ * @return This builder for chaining.
*/
public Builder clearRouteId() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -17958,6 +19143,8 @@ public Builder clearRouteId() {
*
*
* optional string route_id = 5;
+ * @param value The bytes for routeId to set.
+ * @return This builder for chaining.
*/
public Builder setRouteIdBytes(
com.google.protobuf.ByteString value) {
@@ -17980,9 +19167,11 @@ public Builder setRouteIdBytes(
*
*
* optional uint32 direction_id = 6;
+ * @return Whether the directionId field is set.
*/
+ @java.lang.Override
public boolean hasDirectionId() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -17993,7 +19182,9 @@ public boolean hasDirectionId() {
*
*
* optional uint32 direction_id = 6;
+ * @return The directionId.
*/
+ @java.lang.Override
public int getDirectionId() {
return directionId_;
}
@@ -18006,6 +19197,8 @@ public int getDirectionId() {
*
*
* optional uint32 direction_id = 6;
+ * @param value The directionId to set.
+ * @return This builder for chaining.
*/
public Builder setDirectionId(int value) {
bitField0_ |= 0x00000004;
@@ -18022,6 +19215,7 @@ public Builder setDirectionId(int value) {
*
*
* optional uint32 direction_id = 6;
+ * @return This builder for chaining.
*/
public Builder clearDirectionId() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -18051,9 +19245,10 @@ public Builder clearDirectionId() {
*
*
* optional string start_time = 2;
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -18075,6 +19270,7 @@ public boolean hasStartTime() {
*
*
* optional string start_time = 2;
+ * @return The startTime.
*/
public java.lang.String getStartTime() {
java.lang.Object ref = startTime_;
@@ -18110,6 +19306,7 @@ public java.lang.String getStartTime() {
*
*
* optional string start_time = 2;
+ * @return The bytes for startTime.
*/
public com.google.protobuf.ByteString
getStartTimeBytes() {
@@ -18144,6 +19341,8 @@ public java.lang.String getStartTime() {
*
*
* optional string start_time = 2;
+ * @param value The startTime to set.
+ * @return This builder for chaining.
*/
public Builder setStartTime(
java.lang.String value) {
@@ -18175,6 +19374,7 @@ public Builder setStartTime(
*
*
* optional string start_time = 2;
+ * @return This builder for chaining.
*/
public Builder clearStartTime() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -18202,6 +19402,8 @@ public Builder clearStartTime() {
*
*
* optional string start_time = 2;
+ * @param value The bytes for startTime to set.
+ * @return This builder for chaining.
*/
public Builder setStartTimeBytes(
com.google.protobuf.ByteString value) {
@@ -18230,9 +19432,10 @@ public Builder setStartTimeBytes(
*
*
* optional string start_date = 3;
+ * @return Whether the startDate field is set.
*/
public boolean hasStartDate() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -18249,6 +19452,7 @@ public boolean hasStartDate() {
*
*
* optional string start_date = 3;
+ * @return The startDate.
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
@@ -18279,6 +19483,7 @@ public java.lang.String getStartDate() {
*
*
* optional string start_date = 3;
+ * @return The bytes for startDate.
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
@@ -18308,6 +19513,8 @@ public java.lang.String getStartDate() {
*
*
* optional string start_date = 3;
+ * @param value The startDate to set.
+ * @return This builder for chaining.
*/
public Builder setStartDate(
java.lang.String value) {
@@ -18334,6 +19541,7 @@ public Builder setStartDate(
*
*
* optional string start_date = 3;
+ * @return This builder for chaining.
*/
public Builder clearStartDate() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -18356,6 +19564,8 @@ public Builder clearStartDate() {
*
*
* optional string start_date = 3;
+ * @param value The bytes for startDate to set.
+ * @return This builder for chaining.
*/
public Builder setStartDateBytes(
com.google.protobuf.ByteString value) {
@@ -18371,19 +19581,25 @@ public Builder setStartDateBytes(
private int scheduleRelationship_ = 0;
/**
* optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;
+ * @return Whether the scheduleRelationship field is set.
*/
- public boolean hasScheduleRelationship() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ @java.lang.Override public boolean hasScheduleRelationship() {
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;
+ * @return The scheduleRelationship.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripDescriptor.ScheduleRelationship getScheduleRelationship() {
+ @SuppressWarnings("deprecation")
com.google.transit.realtime.GtfsRealtime.TripDescriptor.ScheduleRelationship result = com.google.transit.realtime.GtfsRealtime.TripDescriptor.ScheduleRelationship.valueOf(scheduleRelationship_);
return result == null ? com.google.transit.realtime.GtfsRealtime.TripDescriptor.ScheduleRelationship.SCHEDULED : result;
}
/**
* optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;
+ * @param value The scheduleRelationship to set.
+ * @return This builder for chaining.
*/
public Builder setScheduleRelationship(com.google.transit.realtime.GtfsRealtime.TripDescriptor.ScheduleRelationship value) {
if (value == null) {
@@ -18396,6 +19612,7 @@ public Builder setScheduleRelationship(com.google.transit.realtime.GtfsRealtime.
}
/**
* optional .transit_realtime.TripDescriptor.ScheduleRelationship schedule_relationship = 4;
+ * @return This builder for chaining.
*/
public Builder clearScheduleRelationship() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -18403,11 +19620,13 @@ public Builder clearScheduleRelationship() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -18429,11 +19648,12 @@ public static com.google.transit.realtime.GtfsRealtime.TripDescriptor getDefault
@java.lang.Deprecated public static final com.google.protobuf.Parseroptional string id = 1;
+ * @return Whether the id field is set.
*/
boolean hasId();
/**
@@ -18475,6 +19697,7 @@ public interface VehicleDescriptorOrBuilder extends
*
*
* optional string id = 1;
+ * @return The id.
*/
java.lang.String getId();
/**
@@ -18485,6 +19708,7 @@ public interface VehicleDescriptorOrBuilder extends
*
*
* optional string id = 1;
+ * @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
@@ -18496,6 +19720,7 @@ public interface VehicleDescriptorOrBuilder extends
*
*
* optional string label = 2;
+ * @return Whether the label field is set.
*/
boolean hasLabel();
/**
@@ -18505,6 +19730,7 @@ public interface VehicleDescriptorOrBuilder extends
*
*
* optional string label = 2;
+ * @return The label.
*/
java.lang.String getLabel();
/**
@@ -18514,6 +19740,7 @@ public interface VehicleDescriptorOrBuilder extends
*
*
* optional string label = 2;
+ * @return The bytes for label.
*/
com.google.protobuf.ByteString
getLabelBytes();
@@ -18524,6 +19751,7 @@ public interface VehicleDescriptorOrBuilder extends
*
*
* optional string license_plate = 3;
+ * @return Whether the licensePlate field is set.
*/
boolean hasLicensePlate();
/**
@@ -18532,6 +19760,7 @@ public interface VehicleDescriptorOrBuilder extends
*
*
* optional string license_plate = 3;
+ * @return The licensePlate.
*/
java.lang.String getLicensePlate();
/**
@@ -18540,6 +19769,7 @@ public interface VehicleDescriptorOrBuilder extends
*
*
* optional string license_plate = 3;
+ * @return The bytes for licensePlate.
*/
com.google.protobuf.ByteString
getLicensePlateBytes();
@@ -18551,11 +19781,12 @@ public interface VehicleDescriptorOrBuilder extends
*
* Protobuf type {@code transit_realtime.VehicleDescriptor}
*/
- public static final class VehicleDescriptor extends
+ public static final class VehicleDescriptor extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
VehicleDescriptor> implements
// @@protoc_insertion_point(message_implements:transit_realtime.VehicleDescriptor)
VehicleDescriptorOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use VehicleDescriptor.newBuilder() to construct.
private VehicleDescriptor(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderoptional string id = 1;
+ * @return Whether the id field is set.
*/
+ @java.lang.Override
public boolean hasId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -18659,7 +19903,9 @@ public boolean hasId() {
*
*
* optional string id = 1;
+ * @return The id.
*/
+ @java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
@@ -18682,7 +19928,9 @@ public java.lang.String getId() {
*
*
* optional string id = 1;
+ * @return The bytes for id.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
@@ -18706,9 +19954,11 @@ public java.lang.String getId() {
*
*
* optional string label = 2;
+ * @return Whether the label field is set.
*/
+ @java.lang.Override
public boolean hasLabel() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -18717,7 +19967,9 @@ public boolean hasLabel() {
*
*
* optional string label = 2;
+ * @return The label.
*/
+ @java.lang.Override
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
@@ -18739,7 +19991,9 @@ public java.lang.String getLabel() {
*
*
* optional string label = 2;
+ * @return The bytes for label.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
@@ -18762,9 +20016,11 @@ public java.lang.String getLabel() {
*
*
* optional string license_plate = 3;
+ * @return Whether the licensePlate field is set.
*/
+ @java.lang.Override
public boolean hasLicensePlate() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -18772,7 +20028,9 @@ public boolean hasLicensePlate() {
*
*
* optional string license_plate = 3;
+ * @return The licensePlate.
*/
+ @java.lang.Override
public java.lang.String getLicensePlate() {
java.lang.Object ref = licensePlate_;
if (ref instanceof java.lang.String) {
@@ -18793,7 +20051,9 @@ public java.lang.String getLicensePlate() {
*
*
* optional string license_plate = 3;
+ * @return The bytes for licensePlate.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getLicensePlateBytes() {
java.lang.Object ref = licensePlate_;
@@ -18809,6 +20069,7 @@ public java.lang.String getLicensePlate() {
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -18822,36 +20083,38 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.ExtendableMessageoptional string id = 1;
+ * @return Whether the id field is set.
*/
public boolean hasId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -19211,6 +20505,7 @@ public boolean hasId() {
*
*
* optional string id = 1;
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
@@ -19234,6 +20529,7 @@ public java.lang.String getId() {
*
*
* optional string id = 1;
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
@@ -19256,6 +20552,8 @@ public java.lang.String getId() {
*
*
* optional string id = 1;
+ * @param value The id to set.
+ * @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
@@ -19275,6 +20573,7 @@ public Builder setId(
*
*
* optional string id = 1;
+ * @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -19290,6 +20589,8 @@ public Builder clearId() {
*
*
* optional string id = 1;
+ * @param value The bytes for id to set.
+ * @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
@@ -19310,9 +20611,10 @@ public Builder setIdBytes(
*
*
* optional string label = 2;
+ * @return Whether the label field is set.
*/
public boolean hasLabel() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -19321,6 +20623,7 @@ public boolean hasLabel() {
*
*
* optional string label = 2;
+ * @return The label.
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
@@ -19343,6 +20646,7 @@ public java.lang.String getLabel() {
*
*
* optional string label = 2;
+ * @return The bytes for label.
*/
public com.google.protobuf.ByteString
getLabelBytes() {
@@ -19364,6 +20668,8 @@ public java.lang.String getLabel() {
*
*
* optional string label = 2;
+ * @param value The label to set.
+ * @return This builder for chaining.
*/
public Builder setLabel(
java.lang.String value) {
@@ -19382,6 +20688,7 @@ public Builder setLabel(
*
*
* optional string label = 2;
+ * @return This builder for chaining.
*/
public Builder clearLabel() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -19396,6 +20703,8 @@ public Builder clearLabel() {
*
*
* optional string label = 2;
+ * @param value The bytes for label to set.
+ * @return This builder for chaining.
*/
public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
@@ -19415,9 +20724,10 @@ public Builder setLabelBytes(
*
*
* optional string license_plate = 3;
+ * @return Whether the licensePlate field is set.
*/
public boolean hasLicensePlate() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -19425,6 +20735,7 @@ public boolean hasLicensePlate() {
*
*
* optional string license_plate = 3;
+ * @return The licensePlate.
*/
public java.lang.String getLicensePlate() {
java.lang.Object ref = licensePlate_;
@@ -19446,6 +20757,7 @@ public java.lang.String getLicensePlate() {
*
*
* optional string license_plate = 3;
+ * @return The bytes for licensePlate.
*/
public com.google.protobuf.ByteString
getLicensePlateBytes() {
@@ -19466,6 +20778,8 @@ public java.lang.String getLicensePlate() {
*
*
* optional string license_plate = 3;
+ * @param value The licensePlate to set.
+ * @return This builder for chaining.
*/
public Builder setLicensePlate(
java.lang.String value) {
@@ -19483,6 +20797,7 @@ public Builder setLicensePlate(
*
*
* optional string license_plate = 3;
+ * @return This builder for chaining.
*/
public Builder clearLicensePlate() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -19496,6 +20811,8 @@ public Builder clearLicensePlate() {
*
*
* optional string license_plate = 3;
+ * @param value The bytes for licensePlate to set.
+ * @return This builder for chaining.
*/
public Builder setLicensePlateBytes(
com.google.protobuf.ByteString value) {
@@ -19507,11 +20824,13 @@ public Builder setLicensePlateBytes(
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -19533,11 +20852,12 @@ public static com.google.transit.realtime.GtfsRealtime.VehicleDescriptor getDefa
@java.lang.Deprecated public static final com.google.protobuf.Parseroptional string agency_id = 1;
+ * @return Whether the agencyId field is set.
*/
boolean hasAgencyId();
/**
@@ -19581,6 +20903,7 @@ public interface EntitySelectorOrBuilder extends
*
*
* optional string agency_id = 1;
+ * @return The agencyId.
*/
java.lang.String getAgencyId();
/**
@@ -19592,20 +20915,24 @@ public interface EntitySelectorOrBuilder extends
*
*
* optional string agency_id = 1;
+ * @return The bytes for agencyId.
*/
com.google.protobuf.ByteString
getAgencyIdBytes();
/**
* optional string route_id = 2;
+ * @return Whether the routeId field is set.
*/
boolean hasRouteId();
/**
* optional string route_id = 2;
+ * @return The routeId.
*/
java.lang.String getRouteId();
/**
* optional string route_id = 2;
+ * @return The bytes for routeId.
*/
com.google.protobuf.ByteString
getRouteIdBytes();
@@ -19616,6 +20943,7 @@ public interface EntitySelectorOrBuilder extends
*
*
* optional int32 route_type = 3;
+ * @return Whether the routeType field is set.
*/
boolean hasRouteType();
/**
@@ -19624,15 +20952,18 @@ public interface EntitySelectorOrBuilder extends
*
*
* optional int32 route_type = 3;
+ * @return The routeType.
*/
int getRouteType();
/**
* optional .transit_realtime.TripDescriptor trip = 4;
+ * @return Whether the trip field is set.
*/
boolean hasTrip();
/**
* optional .transit_realtime.TripDescriptor trip = 4;
+ * @return The trip.
*/
com.google.transit.realtime.GtfsRealtime.TripDescriptor getTrip();
/**
@@ -19642,14 +20973,17 @@ public interface EntitySelectorOrBuilder extends
/**
* optional string stop_id = 5;
+ * @return Whether the stopId field is set.
*/
boolean hasStopId();
/**
* optional string stop_id = 5;
+ * @return The stopId.
*/
java.lang.String getStopId();
/**
* optional string stop_id = 5;
+ * @return The bytes for stopId.
*/
com.google.protobuf.ByteString
getStopIdBytes();
@@ -19661,11 +20995,12 @@ public interface EntitySelectorOrBuilder extends
*
* Protobuf type {@code transit_realtime.EntitySelector}
*/
- public static final class EntitySelector extends
+ public static final class EntitySelector extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
EntitySelector> implements
// @@protoc_insertion_point(message_implements:transit_realtime.EntitySelector)
EntitySelectorOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use EntitySelector.newBuilder() to construct.
private EntitySelector(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderoptional string agency_id = 1;
+ * @return Whether the agencyId field is set.
*/
+ @java.lang.Override
public boolean hasAgencyId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -19790,7 +21137,9 @@ public boolean hasAgencyId() {
*
*
* optional string agency_id = 1;
+ * @return The agencyId.
*/
+ @java.lang.Override
public java.lang.String getAgencyId() {
java.lang.Object ref = agencyId_;
if (ref instanceof java.lang.String) {
@@ -19814,7 +21163,9 @@ public java.lang.String getAgencyId() {
*
*
* optional string agency_id = 1;
+ * @return The bytes for agencyId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getAgencyIdBytes() {
java.lang.Object ref = agencyId_;
@@ -19833,13 +21184,17 @@ public java.lang.String getAgencyId() {
private volatile java.lang.Object routeId_;
/**
* optional string route_id = 2;
+ * @return Whether the routeId field is set.
*/
+ @java.lang.Override
public boolean hasRouteId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string route_id = 2;
+ * @return The routeId.
*/
+ @java.lang.Override
public java.lang.String getRouteId() {
java.lang.Object ref = routeId_;
if (ref instanceof java.lang.String) {
@@ -19856,7 +21211,9 @@ public java.lang.String getRouteId() {
}
/**
* optional string route_id = 2;
+ * @return The bytes for routeId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getRouteIdBytes() {
java.lang.Object ref = routeId_;
@@ -19879,9 +21236,11 @@ public java.lang.String getRouteId() {
*
*
* optional int32 route_type = 3;
+ * @return Whether the routeType field is set.
*/
+ @java.lang.Override
public boolean hasRouteType() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -19889,7 +21248,9 @@ public boolean hasRouteType() {
*
*
* optional int32 route_type = 3;
+ * @return The routeType.
*/
+ @java.lang.Override
public int getRouteType() {
return routeType_;
}
@@ -19898,19 +21259,24 @@ public int getRouteType() {
private com.google.transit.realtime.GtfsRealtime.TripDescriptor trip_;
/**
* optional .transit_realtime.TripDescriptor trip = 4;
+ * @return Whether the trip field is set.
*/
+ @java.lang.Override
public boolean hasTrip() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .transit_realtime.TripDescriptor trip = 4;
+ * @return The trip.
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripDescriptor getTrip() {
return trip_ == null ? com.google.transit.realtime.GtfsRealtime.TripDescriptor.getDefaultInstance() : trip_;
}
/**
* optional .transit_realtime.TripDescriptor trip = 4;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TripDescriptorOrBuilder getTripOrBuilder() {
return trip_ == null ? com.google.transit.realtime.GtfsRealtime.TripDescriptor.getDefaultInstance() : trip_;
}
@@ -19919,13 +21285,17 @@ public com.google.transit.realtime.GtfsRealtime.TripDescriptorOrBuilder getTripO
private volatile java.lang.Object stopId_;
/**
* optional string stop_id = 5;
+ * @return Whether the stopId field is set.
*/
+ @java.lang.Override
public boolean hasStopId() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string stop_id = 5;
+ * @return The stopId.
*/
+ @java.lang.Override
public java.lang.String getStopId() {
java.lang.Object ref = stopId_;
if (ref instanceof java.lang.String) {
@@ -19942,7 +21312,9 @@ public java.lang.String getStopId() {
}
/**
* optional string stop_id = 5;
+ * @return The bytes for stopId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStopIdBytes() {
java.lang.Object ref = stopId_;
@@ -19958,6 +21330,7 @@ public java.lang.String getStopId() {
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -19977,50 +21350,52 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.ExtendableMessageoptional string agency_id = 1;
+ * @return Whether the agencyId field is set.
*/
public boolean hasAgencyId() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -20432,6 +21838,7 @@ public boolean hasAgencyId() {
*
*
* optional string agency_id = 1;
+ * @return The agencyId.
*/
public java.lang.String getAgencyId() {
java.lang.Object ref = agencyId_;
@@ -20456,6 +21863,7 @@ public java.lang.String getAgencyId() {
*
*
* optional string agency_id = 1;
+ * @return The bytes for agencyId.
*/
public com.google.protobuf.ByteString
getAgencyIdBytes() {
@@ -20479,6 +21887,8 @@ public java.lang.String getAgencyId() {
*
*
* optional string agency_id = 1;
+ * @param value The agencyId to set.
+ * @return This builder for chaining.
*/
public Builder setAgencyId(
java.lang.String value) {
@@ -20499,6 +21909,7 @@ public Builder setAgencyId(
*
*
* optional string agency_id = 1;
+ * @return This builder for chaining.
*/
public Builder clearAgencyId() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -20515,6 +21926,8 @@ public Builder clearAgencyId() {
*
*
* optional string agency_id = 1;
+ * @param value The bytes for agencyId to set.
+ * @return This builder for chaining.
*/
public Builder setAgencyIdBytes(
com.google.protobuf.ByteString value) {
@@ -20530,12 +21943,14 @@ public Builder setAgencyIdBytes(
private java.lang.Object routeId_ = "";
/**
* optional string route_id = 2;
+ * @return Whether the routeId field is set.
*/
public boolean hasRouteId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string route_id = 2;
+ * @return The routeId.
*/
public java.lang.String getRouteId() {
java.lang.Object ref = routeId_;
@@ -20553,6 +21968,7 @@ public java.lang.String getRouteId() {
}
/**
* optional string route_id = 2;
+ * @return The bytes for routeId.
*/
public com.google.protobuf.ByteString
getRouteIdBytes() {
@@ -20569,6 +21985,8 @@ public java.lang.String getRouteId() {
}
/**
* optional string route_id = 2;
+ * @param value The routeId to set.
+ * @return This builder for chaining.
*/
public Builder setRouteId(
java.lang.String value) {
@@ -20582,6 +22000,7 @@ public Builder setRouteId(
}
/**
* optional string route_id = 2;
+ * @return This builder for chaining.
*/
public Builder clearRouteId() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -20591,6 +22010,8 @@ public Builder clearRouteId() {
}
/**
* optional string route_id = 2;
+ * @param value The bytes for routeId to set.
+ * @return This builder for chaining.
*/
public Builder setRouteIdBytes(
com.google.protobuf.ByteString value) {
@@ -20610,9 +22031,11 @@ public Builder setRouteIdBytes(
*
*
* optional int32 route_type = 3;
+ * @return Whether the routeType field is set.
*/
+ @java.lang.Override
public boolean hasRouteType() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -20620,7 +22043,9 @@ public boolean hasRouteType() {
*
*
* optional int32 route_type = 3;
+ * @return The routeType.
*/
+ @java.lang.Override
public int getRouteType() {
return routeType_;
}
@@ -20630,6 +22055,8 @@ public int getRouteType() {
*
*
* optional int32 route_type = 3;
+ * @param value The routeType to set.
+ * @return This builder for chaining.
*/
public Builder setRouteType(int value) {
bitField0_ |= 0x00000004;
@@ -20643,6 +22070,7 @@ public Builder setRouteType(int value) {
*
*
* optional int32 route_type = 3;
+ * @return This builder for chaining.
*/
public Builder clearRouteType() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -20651,17 +22079,19 @@ public Builder clearRouteType() {
return this;
}
- private com.google.transit.realtime.GtfsRealtime.TripDescriptor trip_ = null;
+ private com.google.transit.realtime.GtfsRealtime.TripDescriptor trip_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.transit.realtime.GtfsRealtime.TripDescriptor, com.google.transit.realtime.GtfsRealtime.TripDescriptor.Builder, com.google.transit.realtime.GtfsRealtime.TripDescriptorOrBuilder> tripBuilder_;
/**
* optional .transit_realtime.TripDescriptor trip = 4;
+ * @return Whether the trip field is set.
*/
public boolean hasTrip() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .transit_realtime.TripDescriptor trip = 4;
+ * @return The trip.
*/
public com.google.transit.realtime.GtfsRealtime.TripDescriptor getTrip() {
if (tripBuilder_ == null) {
@@ -20705,7 +22135,7 @@ public Builder setTrip(
*/
public Builder mergeTrip(com.google.transit.realtime.GtfsRealtime.TripDescriptor value) {
if (tripBuilder_ == null) {
- if (((bitField0_ & 0x00000008) == 0x00000008) &&
+ if (((bitField0_ & 0x00000008) != 0) &&
trip_ != null &&
trip_ != com.google.transit.realtime.GtfsRealtime.TripDescriptor.getDefaultInstance()) {
trip_ =
@@ -20772,12 +22202,14 @@ public com.google.transit.realtime.GtfsRealtime.TripDescriptorOrBuilder getTripO
private java.lang.Object stopId_ = "";
/**
* optional string stop_id = 5;
+ * @return Whether the stopId field is set.
*/
public boolean hasStopId() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string stop_id = 5;
+ * @return The stopId.
*/
public java.lang.String getStopId() {
java.lang.Object ref = stopId_;
@@ -20795,6 +22227,7 @@ public java.lang.String getStopId() {
}
/**
* optional string stop_id = 5;
+ * @return The bytes for stopId.
*/
public com.google.protobuf.ByteString
getStopIdBytes() {
@@ -20811,6 +22244,8 @@ public java.lang.String getStopId() {
}
/**
* optional string stop_id = 5;
+ * @param value The stopId to set.
+ * @return This builder for chaining.
*/
public Builder setStopId(
java.lang.String value) {
@@ -20824,6 +22259,7 @@ public Builder setStopId(
}
/**
* optional string stop_id = 5;
+ * @return This builder for chaining.
*/
public Builder clearStopId() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -20833,6 +22269,8 @@ public Builder clearStopId() {
}
/**
* optional string stop_id = 5;
+ * @param value The bytes for stopId to set.
+ * @return This builder for chaining.
*/
public Builder setStopIdBytes(
com.google.protobuf.ByteString value) {
@@ -20844,11 +22282,13 @@ public Builder setStopIdBytes(
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -20870,11 +22310,12 @@ public static com.google.transit.realtime.GtfsRealtime.EntitySelector getDefault
@java.lang.Deprecated public static final com.google.protobuf.Parserrequired string text = 1;
+ * @return Whether the text field is set.
*/
boolean hasText();
/**
@@ -21054,6 +22509,7 @@ public interface TranslationOrBuilder extends
*
*
* required string text = 1;
+ * @return The text.
*/
java.lang.String getText();
/**
@@ -21062,6 +22518,7 @@ public interface TranslationOrBuilder extends
*
*
* required string text = 1;
+ * @return The bytes for text.
*/
com.google.protobuf.ByteString
getTextBytes();
@@ -21074,6 +22531,7 @@ public interface TranslationOrBuilder extends
*
*
* optional string language = 2;
+ * @return Whether the language field is set.
*/
boolean hasLanguage();
/**
@@ -21084,6 +22542,7 @@ public interface TranslationOrBuilder extends
*
*
* optional string language = 2;
+ * @return The language.
*/
java.lang.String getLanguage();
/**
@@ -21094,6 +22553,7 @@ public interface TranslationOrBuilder extends
*
*
* optional string language = 2;
+ * @return The bytes for language.
*/
com.google.protobuf.ByteString
getLanguageBytes();
@@ -21101,11 +22561,12 @@ public interface TranslationOrBuilder extends
/**
* Protobuf type {@code transit_realtime.TranslatedString.Translation}
*/
- public static final class Translation extends
+ public static final class Translation extends
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<
Translation> implements
// @@protoc_insertion_point(message_implements:transit_realtime.TranslatedString.Translation)
TranslationOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use Translation.newBuilder() to construct.
private Translation(com.google.protobuf.GeneratedMessageV3.ExtendableBuilderrequired string text = 1;
+ * @return Whether the text field is set.
*/
+ @java.lang.Override
public boolean hasText() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -21198,7 +22672,9 @@ public boolean hasText() {
*
*
* required string text = 1;
+ * @return The text.
*/
+ @java.lang.Override
public java.lang.String getText() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
@@ -21219,7 +22695,9 @@ public java.lang.String getText() {
*
*
* required string text = 1;
+ * @return The bytes for text.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
@@ -21244,9 +22722,11 @@ public java.lang.String getText() {
*
*
* optional string language = 2;
+ * @return Whether the language field is set.
*/
+ @java.lang.Override
public boolean hasLanguage() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -21256,7 +22736,9 @@ public boolean hasLanguage() {
*
*
* optional string language = 2;
+ * @return The language.
*/
+ @java.lang.Override
public java.lang.String getLanguage() {
java.lang.Object ref = language_;
if (ref instanceof java.lang.String) {
@@ -21279,7 +22761,9 @@ public java.lang.String getLanguage() {
*
*
* optional string language = 2;
+ * @return The bytes for language.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getLanguageBytes() {
java.lang.Object ref = language_;
@@ -21295,6 +22779,7 @@ public java.lang.String getLanguage() {
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -21312,30 +22797,32 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.ExtendableMessagerequired string text = 1;
+ * @return Whether the text field is set.
*/
public boolean hasText() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -21670,6 +23188,7 @@ public boolean hasText() {
*
*
* required string text = 1;
+ * @return The text.
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
@@ -21691,6 +23210,7 @@ public java.lang.String getText() {
*
*
* required string text = 1;
+ * @return The bytes for text.
*/
public com.google.protobuf.ByteString
getTextBytes() {
@@ -21711,6 +23231,8 @@ public java.lang.String getText() {
*
*
* required string text = 1;
+ * @param value The text to set.
+ * @return This builder for chaining.
*/
public Builder setText(
java.lang.String value) {
@@ -21728,6 +23250,7 @@ public Builder setText(
*
*
* required string text = 1;
+ * @return This builder for chaining.
*/
public Builder clearText() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -21741,6 +23264,8 @@ public Builder clearText() {
*
*
* required string text = 1;
+ * @param value The bytes for text to set.
+ * @return This builder for chaining.
*/
public Builder setTextBytes(
com.google.protobuf.ByteString value) {
@@ -21762,9 +23287,10 @@ public Builder setTextBytes(
*
*
* optional string language = 2;
+ * @return Whether the language field is set.
*/
public boolean hasLanguage() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -21774,6 +23300,7 @@ public boolean hasLanguage() {
*
*
* optional string language = 2;
+ * @return The language.
*/
public java.lang.String getLanguage() {
java.lang.Object ref = language_;
@@ -21797,6 +23324,7 @@ public java.lang.String getLanguage() {
*
*
* optional string language = 2;
+ * @return The bytes for language.
*/
public com.google.protobuf.ByteString
getLanguageBytes() {
@@ -21819,6 +23347,8 @@ public java.lang.String getLanguage() {
*
*
* optional string language = 2;
+ * @param value The language to set.
+ * @return This builder for chaining.
*/
public Builder setLanguage(
java.lang.String value) {
@@ -21838,6 +23368,7 @@ public Builder setLanguage(
*
*
* optional string language = 2;
+ * @return This builder for chaining.
*/
public Builder clearLanguage() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -21853,6 +23384,8 @@ public Builder clearLanguage() {
*
*
* optional string language = 2;
+ * @param value The bytes for language to set.
+ * @return This builder for chaining.
*/
public Builder setLanguageBytes(
com.google.protobuf.ByteString value) {
@@ -21864,11 +23397,13 @@ public Builder setLanguageBytes(
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -21890,11 +23425,12 @@ public static com.google.transit.realtime.GtfsRealtime.TranslatedString.Translat
@java.lang.Deprecated public static final com.google.protobuf.Parserrepeated .transit_realtime.TranslatedString.Translation translation = 1;
*/
+ @java.lang.Override
public java.util.Listrepeated .transit_realtime.TranslatedString.Translation translation = 1;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedString.Translation getTranslation(int index) {
return translation_.get(index);
}
@@ -21963,12 +23504,14 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedString.Translation get
*
* repeated .transit_realtime.TranslatedString.Translation translation = 1;
*/
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedString.TranslationOrBuilder getTranslationOrBuilder(
int index) {
return translation_.get(index);
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -21988,6 +23531,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
@@ -22000,6 +23544,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
@@ -22015,7 +23560,6 @@ public int getSerializedSize() {
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -22026,13 +23570,12 @@ public boolean equals(final java.lang.Object obj) {
}
com.google.transit.realtime.GtfsRealtime.TranslatedString other = (com.google.transit.realtime.GtfsRealtime.TranslatedString) obj;
- boolean result = true;
- result = result && getTranslationList()
- .equals(other.getTranslationList());
- result = result && unknownFields.equals(other.unknownFields);
- result = result &&
- getExtensionFields().equals(other.getExtensionFields());
- return result;
+ if (!getTranslationList()
+ .equals(other.getTranslationList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ if (!getExtensionFields().equals(other.getExtensionFields()))
+ return false;
+ return true;
}
@java.lang.Override
@@ -22041,7 +23584,7 @@ public int hashCode() {
return memoizedHashCode;
}
int hash = 41;
- hash = (19 * hash) + getDescriptorForType().hashCode();
+ hash = (19 * hash) + getDescriptor().hashCode();
if (getTranslationCount() > 0) {
hash = (37 * hash) + TRANSLATION_FIELD_NUMBER;
hash = (53 * hash) + getTranslationList().hashCode();
@@ -22052,6 +23595,17 @@ public int hashCode() {
return hash;
}
+ public static com.google.transit.realtime.GtfsRealtime.TranslatedString parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.google.transit.realtime.GtfsRealtime.TranslatedString parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static com.google.transit.realtime.GtfsRealtime.TranslatedString parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -22111,6 +23665,7 @@ public static com.google.transit.realtime.GtfsRealtime.TranslatedString parseFro
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -22118,6 +23673,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(com.google.transit.realtime.GtfsRealtime.TranslatedString prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -22155,6 +23711,7 @@ public static final class Builder extends
return com.google.transit.realtime.GtfsRealtime.internal_static_transit_realtime_TranslatedString_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.transit.realtime.GtfsRealtime.internal_static_transit_realtime_TranslatedString_fieldAccessorTable
@@ -22178,6 +23735,7 @@ private void maybeForceBuilderInitialization() {
getTranslationFieldBuilder();
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
if (translationBuilder_ == null) {
@@ -22189,15 +23747,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.transit.realtime.GtfsRealtime.internal_static_transit_realtime_TranslatedString_descriptor;
}
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedString getDefaultInstanceForType() {
return com.google.transit.realtime.GtfsRealtime.TranslatedString.getDefaultInstance();
}
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedString build() {
com.google.transit.realtime.GtfsRealtime.TranslatedString result = buildPartial();
if (!result.isInitialized()) {
@@ -22206,11 +23767,12 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedString build() {
return result;
}
+ @java.lang.Override
public com.google.transit.realtime.GtfsRealtime.TranslatedString buildPartial() {
com.google.transit.realtime.GtfsRealtime.TranslatedString result = new com.google.transit.realtime.GtfsRealtime.TranslatedString(this);
int from_bitField0_ = bitField0_;
if (translationBuilder_ == null) {
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
translation_ = java.util.Collections.unmodifiableList(translation_);
bitField0_ = (bitField0_ & ~0x00000001);
}
@@ -22222,55 +23784,66 @@ public com.google.transit.realtime.GtfsRealtime.TranslatedString buildPartial()
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public required int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
boolean hasSchemaVersion();
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
int getSchemaVersion();
/**
* optional .proto.Topic topic = 2;
+ * @return Whether the topic field is set.
*/
boolean hasTopic();
/**
* optional .proto.Topic topic = 2;
+ * @return The topic.
*/
fi.hsl.common.hfp.proto.Hfp.Topic getTopic();
/**
@@ -42,10 +46,12 @@ public interface DataOrBuilder extends
/**
* required .proto.Payload payload = 3;
+ * @return Whether the payload field is set.
*/
boolean hasPayload();
/**
* required .proto.Payload payload = 3;
+ * @return The payload.
*/
fi.hsl.common.hfp.proto.Hfp.Payload getPayload();
/**
@@ -56,10 +62,11 @@ public interface DataOrBuilder extends
/**
* Protobuf type {@code proto.Data}
*/
- public static final class Data extends
+ public static final class Data extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.Data)
DataOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use Data.newBuilder() to construct.
private Data(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -68,6 +75,13 @@ private Data() {
schemaVersion_ = 1;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new Data();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
@@ -78,6 +92,9 @@ private Data(
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
@@ -89,13 +106,6 @@ private Data(
case 0:
done = true;
break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
case 8: {
bitField0_ |= 0x00000001;
schemaVersion_ = input.readInt32();
@@ -103,7 +113,7 @@ private Data(
}
case 18: {
fi.hsl.common.hfp.proto.Hfp.Topic.Builder subBuilder = null;
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
subBuilder = topic_.toBuilder();
}
topic_ = input.readMessage(fi.hsl.common.hfp.proto.Hfp.Topic.PARSER, extensionRegistry);
@@ -116,7 +126,7 @@ private Data(
}
case 26: {
fi.hsl.common.hfp.proto.Hfp.Payload.Builder subBuilder = null;
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
subBuilder = payload_.toBuilder();
}
payload_ = input.readMessage(fi.hsl.common.hfp.proto.Hfp.Payload.PARSER, extensionRegistry);
@@ -127,6 +137,13 @@ private Data(
bitField0_ |= 0x00000004;
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -144,6 +161,7 @@ private Data(
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Data_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Data_fieldAccessorTable
@@ -156,13 +174,17 @@ private Data(
private int schemaVersion_;
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
+ @java.lang.Override
public boolean hasSchemaVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
+ @java.lang.Override
public int getSchemaVersion() {
return schemaVersion_;
}
@@ -171,19 +193,24 @@ public int getSchemaVersion() {
private fi.hsl.common.hfp.proto.Hfp.Topic topic_;
/**
* optional .proto.Topic topic = 2;
+ * @return Whether the topic field is set.
*/
+ @java.lang.Override
public boolean hasTopic() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .proto.Topic topic = 2;
+ * @return The topic.
*/
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Topic getTopic() {
return topic_ == null ? fi.hsl.common.hfp.proto.Hfp.Topic.getDefaultInstance() : topic_;
}
/**
* optional .proto.Topic topic = 2;
*/
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.TopicOrBuilder getTopicOrBuilder() {
return topic_ == null ? fi.hsl.common.hfp.proto.Hfp.Topic.getDefaultInstance() : topic_;
}
@@ -192,24 +219,30 @@ public fi.hsl.common.hfp.proto.Hfp.TopicOrBuilder getTopicOrBuilder() {
private fi.hsl.common.hfp.proto.Hfp.Payload payload_;
/**
* required .proto.Payload payload = 3;
+ * @return Whether the payload field is set.
*/
+ @java.lang.Override
public boolean hasPayload() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* required .proto.Payload payload = 3;
+ * @return The payload.
*/
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Payload getPayload() {
return payload_ == null ? fi.hsl.common.hfp.proto.Hfp.Payload.getDefaultInstance() : payload_;
}
/**
* required .proto.Payload payload = 3;
*/
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.PayloadOrBuilder getPayloadOrBuilder() {
return payload_ == null ? fi.hsl.common.hfp.proto.Hfp.Payload.getDefaultInstance() : payload_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -237,34 +270,36 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(1, schemaVersion_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getTopic());
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getPayload());
}
unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, schemaVersion_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTopic());
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getPayload());
}
@@ -273,7 +308,6 @@ public int getSerializedSize() {
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -284,24 +318,23 @@ public boolean equals(final java.lang.Object obj) {
}
fi.hsl.common.hfp.proto.Hfp.Data other = (fi.hsl.common.hfp.proto.Hfp.Data) obj;
- boolean result = true;
- result = result && (hasSchemaVersion() == other.hasSchemaVersion());
+ if (hasSchemaVersion() != other.hasSchemaVersion()) return false;
if (hasSchemaVersion()) {
- result = result && (getSchemaVersion()
- == other.getSchemaVersion());
+ if (getSchemaVersion()
+ != other.getSchemaVersion()) return false;
}
- result = result && (hasTopic() == other.hasTopic());
+ if (hasTopic() != other.hasTopic()) return false;
if (hasTopic()) {
- result = result && getTopic()
- .equals(other.getTopic());
+ if (!getTopic()
+ .equals(other.getTopic())) return false;
}
- result = result && (hasPayload() == other.hasPayload());
+ if (hasPayload() != other.hasPayload()) return false;
if (hasPayload()) {
- result = result && getPayload()
- .equals(other.getPayload());
+ if (!getPayload()
+ .equals(other.getPayload())) return false;
}
- result = result && unknownFields.equals(other.unknownFields);
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -310,7 +343,7 @@ public int hashCode() {
return memoizedHashCode;
}
int hash = 41;
- hash = (19 * hash) + getDescriptorForType().hashCode();
+ hash = (19 * hash) + getDescriptor().hashCode();
if (hasSchemaVersion()) {
hash = (37 * hash) + SCHEMAVERSION_FIELD_NUMBER;
hash = (53 * hash) + getSchemaVersion();
@@ -328,6 +361,17 @@ public int hashCode() {
return hash;
}
+ public static fi.hsl.common.hfp.proto.Hfp.Data parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static fi.hsl.common.hfp.proto.Hfp.Data parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static fi.hsl.common.hfp.proto.Hfp.Data parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -387,6 +431,7 @@ public static fi.hsl.common.hfp.proto.Hfp.Data parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -394,6 +439,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(fi.hsl.common.hfp.proto.Hfp.Data prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -417,6 +463,7 @@ public static final class Builder extends
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Data_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Data_fieldAccessorTable
@@ -441,6 +488,7 @@ private void maybeForceBuilderInitialization() {
getPayloadFieldBuilder();
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
schemaVersion_ = 1;
@@ -460,15 +508,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Data_descriptor;
}
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Data getDefaultInstanceForType() {
return fi.hsl.common.hfp.proto.Hfp.Data.getDefaultInstance();
}
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Data build() {
fi.hsl.common.hfp.proto.Hfp.Data result = buildPartial();
if (!result.isInitialized()) {
@@ -477,61 +528,69 @@ public fi.hsl.common.hfp.proto.Hfp.Data build() {
return result;
}
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Data buildPartial() {
fi.hsl.common.hfp.proto.Hfp.Data result = new fi.hsl.common.hfp.proto.Hfp.Data(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.schemaVersion_ = schemaVersion_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ if (topicBuilder_ == null) {
+ result.topic_ = topic_;
+ } else {
+ result.topic_ = topicBuilder_.build();
+ }
to_bitField0_ |= 0x00000002;
}
- if (topicBuilder_ == null) {
- result.topic_ = topic_;
- } else {
- result.topic_ = topicBuilder_.build();
- }
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ if (payloadBuilder_ == null) {
+ result.payload_ = payload_;
+ } else {
+ result.payload_ = payloadBuilder_.build();
+ }
to_bitField0_ |= 0x00000004;
}
- if (payloadBuilder_ == null) {
- result.payload_ = payload_;
- } else {
- result.payload_ = payloadBuilder_.build();
- }
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof fi.hsl.common.hfp.proto.Hfp.Data) {
return mergeFrom((fi.hsl.common.hfp.proto.Hfp.Data)other);
@@ -557,6 +616,7 @@ public Builder mergeFrom(fi.hsl.common.hfp.proto.Hfp.Data other) {
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
if (!hasSchemaVersion()) {
return false;
@@ -575,6 +635,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -597,18 +658,24 @@ public Builder mergeFrom(
private int schemaVersion_ = 1;
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
+ @java.lang.Override
public boolean hasSchemaVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
+ @java.lang.Override
public int getSchemaVersion() {
return schemaVersion_;
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @param value The schemaVersion to set.
+ * @return This builder for chaining.
*/
public Builder setSchemaVersion(int value) {
bitField0_ |= 0x00000001;
@@ -618,6 +685,7 @@ public Builder setSchemaVersion(int value) {
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return This builder for chaining.
*/
public Builder clearSchemaVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -626,17 +694,19 @@ public Builder clearSchemaVersion() {
return this;
}
- private fi.hsl.common.hfp.proto.Hfp.Topic topic_ = null;
+ private fi.hsl.common.hfp.proto.Hfp.Topic topic_;
private com.google.protobuf.SingleFieldBuilderV3<
fi.hsl.common.hfp.proto.Hfp.Topic, fi.hsl.common.hfp.proto.Hfp.Topic.Builder, fi.hsl.common.hfp.proto.Hfp.TopicOrBuilder> topicBuilder_;
/**
* optional .proto.Topic topic = 2;
+ * @return Whether the topic field is set.
*/
public boolean hasTopic() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .proto.Topic topic = 2;
+ * @return The topic.
*/
public fi.hsl.common.hfp.proto.Hfp.Topic getTopic() {
if (topicBuilder_ == null) {
@@ -680,7 +750,7 @@ public Builder setTopic(
*/
public Builder mergeTopic(fi.hsl.common.hfp.proto.Hfp.Topic value) {
if (topicBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
+ if (((bitField0_ & 0x00000002) != 0) &&
topic_ != null &&
topic_ != fi.hsl.common.hfp.proto.Hfp.Topic.getDefaultInstance()) {
topic_ =
@@ -744,17 +814,19 @@ public fi.hsl.common.hfp.proto.Hfp.TopicOrBuilder getTopicOrBuilder() {
return topicBuilder_;
}
- private fi.hsl.common.hfp.proto.Hfp.Payload payload_ = null;
+ private fi.hsl.common.hfp.proto.Hfp.Payload payload_;
private com.google.protobuf.SingleFieldBuilderV3<
fi.hsl.common.hfp.proto.Hfp.Payload, fi.hsl.common.hfp.proto.Hfp.Payload.Builder, fi.hsl.common.hfp.proto.Hfp.PayloadOrBuilder> payloadBuilder_;
/**
* required .proto.Payload payload = 3;
+ * @return Whether the payload field is set.
*/
public boolean hasPayload() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* required .proto.Payload payload = 3;
+ * @return The payload.
*/
public fi.hsl.common.hfp.proto.Hfp.Payload getPayload() {
if (payloadBuilder_ == null) {
@@ -798,7 +870,7 @@ public Builder setPayload(
*/
public Builder mergePayload(fi.hsl.common.hfp.proto.Hfp.Payload value) {
if (payloadBuilder_ == null) {
- if (((bitField0_ & 0x00000004) == 0x00000004) &&
+ if (((bitField0_ & 0x00000004) != 0) &&
payload_ != null &&
payload_ != fi.hsl.common.hfp.proto.Hfp.Payload.getDefaultInstance()) {
payload_ =
@@ -861,11 +933,13 @@ public fi.hsl.common.hfp.proto.Hfp.PayloadOrBuilder getPayloadOrBuilder() {
}
return payloadBuilder_;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -887,11 +961,12 @@ public static fi.hsl.common.hfp.proto.Hfp.Data getDefaultInstance() {
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
public Data parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return new Data(input, extensionRegistry);
+ return new Data(input, extensionRegistry);
}
};
@@ -904,6 +979,7 @@ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Data getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
@@ -916,10 +992,12 @@ public interface TopicOrBuilder extends
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
boolean hasSchemaVersion();
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
int getSchemaVersion();
@@ -929,6 +1007,7 @@ public interface TopicOrBuilder extends
*
*
* required int64 received_at = 2;
+ * @return Whether the receivedAt field is set.
*/
boolean hasReceivedAt();
/**
@@ -937,52 +1016,63 @@ public interface TopicOrBuilder extends
*
*
* required int64 received_at = 2;
+ * @return The receivedAt.
*/
long getReceivedAt();
/**
* required string topic_prefix = 3;
+ * @return Whether the topicPrefix field is set.
*/
boolean hasTopicPrefix();
/**
* required string topic_prefix = 3;
+ * @return The topicPrefix.
*/
java.lang.String getTopicPrefix();
/**
* required string topic_prefix = 3;
+ * @return The bytes for topicPrefix.
*/
com.google.protobuf.ByteString
getTopicPrefixBytes();
/**
* required string topic_version = 4;
+ * @return Whether the topicVersion field is set.
*/
boolean hasTopicVersion();
/**
* required string topic_version = 4;
+ * @return The topicVersion.
*/
java.lang.String getTopicVersion();
/**
* required string topic_version = 4;
+ * @return The bytes for topicVersion.
*/
com.google.protobuf.ByteString
getTopicVersionBytes();
/**
* required .proto.Topic.JourneyType journey_type = 5;
+ * @return Whether the journeyType field is set.
*/
boolean hasJourneyType();
/**
* required .proto.Topic.JourneyType journey_type = 5;
+ * @return The journeyType.
*/
fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType getJourneyType();
/**
* required .proto.Topic.TemporalType temporal_type = 6;
+ * @return Whether the temporalType field is set.
*/
boolean hasTemporalType();
/**
* required .proto.Topic.TemporalType temporal_type = 6;
+ * @return The temporalType.
*/
fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType getTemporalType();
@@ -992,6 +1082,7 @@ public interface TopicOrBuilder extends
*
*
* optional .proto.Topic.EventType event_type = 7;
+ * @return Whether the eventType field is set.
*/
boolean hasEventType();
/**
@@ -1000,6 +1091,7 @@ public interface TopicOrBuilder extends
*
*
* optional .proto.Topic.EventType event_type = 7;
+ * @return The eventType.
*/
fi.hsl.common.hfp.proto.Hfp.Topic.EventType getEventType();
@@ -1009,6 +1101,7 @@ public interface TopicOrBuilder extends
*
*
* optional .proto.Topic.TransportMode transport_mode = 8;
+ * @return Whether the transportMode field is set.
*/
boolean hasTransportMode();
/**
@@ -1017,164 +1110,193 @@ public interface TopicOrBuilder extends
*
*
* optional .proto.Topic.TransportMode transport_mode = 8;
+ * @return The transportMode.
*/
fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode getTransportMode();
/**
* required int32 operator_id = 9;
+ * @return Whether the operatorId field is set.
*/
boolean hasOperatorId();
/**
* required int32 operator_id = 9;
+ * @return The operatorId.
*/
int getOperatorId();
/**
* required int32 vehicle_number = 10;
+ * @return Whether the vehicleNumber field is set.
*/
boolean hasVehicleNumber();
/**
* required int32 vehicle_number = 10;
+ * @return The vehicleNumber.
*/
int getVehicleNumber();
/**
* required string unique_vehicle_id = 11;
+ * @return Whether the uniqueVehicleId field is set.
*/
boolean hasUniqueVehicleId();
/**
* required string unique_vehicle_id = 11;
+ * @return The uniqueVehicleId.
*/
java.lang.String getUniqueVehicleId();
/**
* required string unique_vehicle_id = 11;
+ * @return The bytes for uniqueVehicleId.
*/
com.google.protobuf.ByteString
getUniqueVehicleIdBytes();
/**
* optional string route_id = 12;
+ * @return Whether the routeId field is set.
*/
boolean hasRouteId();
/**
* optional string route_id = 12;
+ * @return The routeId.
*/
java.lang.String getRouteId();
/**
* optional string route_id = 12;
+ * @return The bytes for routeId.
*/
com.google.protobuf.ByteString
getRouteIdBytes();
/**
* optional int32 direction_id = 13;
+ * @return Whether the directionId field is set.
*/
boolean hasDirectionId();
/**
* optional int32 direction_id = 13;
+ * @return The directionId.
*/
int getDirectionId();
/**
* optional string headsign = 14;
+ * @return Whether the headsign field is set.
*/
boolean hasHeadsign();
/**
* optional string headsign = 14;
+ * @return The headsign.
*/
java.lang.String getHeadsign();
/**
* optional string headsign = 14;
+ * @return The bytes for headsign.
*/
com.google.protobuf.ByteString
getHeadsignBytes();
/**
* optional string start_time = 15;
+ * @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
* optional string start_time = 15;
+ * @return The startTime.
*/
java.lang.String getStartTime();
/**
* optional string start_time = 15;
+ * @return The bytes for startTime.
*/
com.google.protobuf.ByteString
getStartTimeBytes();
/**
* optional string next_stop = 16;
+ * @return Whether the nextStop field is set.
*/
boolean hasNextStop();
/**
* optional string next_stop = 16;
+ * @return The nextStop.
*/
java.lang.String getNextStop();
/**
* optional string next_stop = 16;
+ * @return The bytes for nextStop.
*/
com.google.protobuf.ByteString
getNextStopBytes();
/**
* optional int32 geohash_level = 17;
+ * @return Whether the geohashLevel field is set.
*/
boolean hasGeohashLevel();
/**
* optional int32 geohash_level = 17;
+ * @return The geohashLevel.
*/
int getGeohashLevel();
/**
* optional double latitude = 18;
+ * @return Whether the latitude field is set.
*/
boolean hasLatitude();
/**
* optional double latitude = 18;
+ * @return The latitude.
*/
double getLatitude();
/**
* optional double longitude = 19;
+ * @return Whether the longitude field is set.
*/
boolean hasLongitude();
/**
* optional double longitude = 19;
+ * @return The longitude.
*/
double getLongitude();
}
/**
* Protobuf type {@code proto.Topic}
*/
- public static final class Topic extends
+ public static final class Topic extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.Topic)
TopicOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use Topic.newBuilder() to construct.
private Topic(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Topic() {
schemaVersion_ = 1;
- receivedAt_ = 0L;
topicPrefix_ = "";
topicVersion_ = "";
journeyType_ = 0;
temporalType_ = 0;
eventType_ = 0;
transportMode_ = 0;
- operatorId_ = 0;
- vehicleNumber_ = 0;
uniqueVehicleId_ = "";
routeId_ = "";
- directionId_ = 0;
headsign_ = "";
startTime_ = "";
nextStop_ = "";
- geohashLevel_ = 0;
- latitude_ = 0D;
- longitude_ = 0D;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new Topic();
}
@java.lang.Override
@@ -1187,6 +1309,9 @@ private Topic(
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
@@ -1198,13 +1323,6 @@ private Topic(
case 0:
done = true;
break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
case 8: {
bitField0_ |= 0x00000001;
schemaVersion_ = input.readInt32();
@@ -1229,6 +1347,7 @@ private Topic(
}
case 40: {
int rawValue = input.readEnum();
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType value = fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(5, rawValue);
@@ -1240,6 +1359,7 @@ private Topic(
}
case 48: {
int rawValue = input.readEnum();
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType value = fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(6, rawValue);
@@ -1251,6 +1371,7 @@ private Topic(
}
case 56: {
int rawValue = input.readEnum();
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Topic.EventType value = fi.hsl.common.hfp.proto.Hfp.Topic.EventType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(7, rawValue);
@@ -1262,6 +1383,7 @@ private Topic(
}
case 64: {
int rawValue = input.readEnum();
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode value = fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(8, rawValue);
@@ -1331,6 +1453,13 @@ private Topic(
longitude_ = input.readDouble();
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1348,6 +1477,7 @@ private Topic(
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Topic_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Topic_fieldAccessorTable
@@ -1393,6 +1523,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -1400,6 +1532,10 @@ public static JourneyType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static JourneyType forNumber(int value) {
switch (value) {
case 0: return journey;
@@ -1484,6 +1620,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -1491,6 +1629,10 @@ public static TemporalType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static TemporalType forNumber(int value) {
switch (value) {
case 0: return ongoing;
@@ -1702,6 +1844,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -1709,6 +1853,10 @@ public static EventType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static EventType forNumber(int value) {
switch (value) {
case 0: return VP;
@@ -1864,6 +2012,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -1871,6 +2021,10 @@ public static TransportMode valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static TransportMode forNumber(int value) {
switch (value) {
case 0: return bus;
@@ -1934,13 +2088,17 @@ private TransportMode(int value) {
private int schemaVersion_;
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
+ @java.lang.Override
public boolean hasSchemaVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
+ @java.lang.Override
public int getSchemaVersion() {
return schemaVersion_;
}
@@ -1953,9 +2111,11 @@ public int getSchemaVersion() {
*
*
* required int64 received_at = 2;
+ * @return Whether the receivedAt field is set.
*/
+ @java.lang.Override
public boolean hasReceivedAt() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -1963,7 +2123,9 @@ public boolean hasReceivedAt() {
*
*
* required int64 received_at = 2;
+ * @return The receivedAt.
*/
+ @java.lang.Override
public long getReceivedAt() {
return receivedAt_;
}
@@ -1972,13 +2134,17 @@ public long getReceivedAt() {
private volatile java.lang.Object topicPrefix_;
/**
* required string topic_prefix = 3;
+ * @return Whether the topicPrefix field is set.
*/
+ @java.lang.Override
public boolean hasTopicPrefix() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* required string topic_prefix = 3;
+ * @return The topicPrefix.
*/
+ @java.lang.Override
public java.lang.String getTopicPrefix() {
java.lang.Object ref = topicPrefix_;
if (ref instanceof java.lang.String) {
@@ -1995,7 +2161,9 @@ public java.lang.String getTopicPrefix() {
}
/**
* required string topic_prefix = 3;
+ * @return The bytes for topicPrefix.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getTopicPrefixBytes() {
java.lang.Object ref = topicPrefix_;
@@ -2014,13 +2182,17 @@ public java.lang.String getTopicPrefix() {
private volatile java.lang.Object topicVersion_;
/**
* required string topic_version = 4;
+ * @return Whether the topicVersion field is set.
*/
+ @java.lang.Override
public boolean hasTopicVersion() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* required string topic_version = 4;
+ * @return The topicVersion.
*/
+ @java.lang.Override
public java.lang.String getTopicVersion() {
java.lang.Object ref = topicVersion_;
if (ref instanceof java.lang.String) {
@@ -2037,7 +2209,9 @@ public java.lang.String getTopicVersion() {
}
/**
* required string topic_version = 4;
+ * @return The bytes for topicVersion.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getTopicVersionBytes() {
java.lang.Object ref = topicVersion_;
@@ -2056,14 +2230,17 @@ public java.lang.String getTopicVersion() {
private int journeyType_;
/**
* required .proto.Topic.JourneyType journey_type = 5;
+ * @return Whether the journeyType field is set.
*/
- public boolean hasJourneyType() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ @java.lang.Override public boolean hasJourneyType() {
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* required .proto.Topic.JourneyType journey_type = 5;
+ * @return The journeyType.
*/
- public fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType getJourneyType() {
+ @java.lang.Override public fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType getJourneyType() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType result = fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType.valueOf(journeyType_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType.journey : result;
}
@@ -2072,14 +2249,17 @@ public fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType getJourneyType() {
private int temporalType_;
/**
* required .proto.Topic.TemporalType temporal_type = 6;
+ * @return Whether the temporalType field is set.
*/
- public boolean hasTemporalType() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ @java.lang.Override public boolean hasTemporalType() {
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
* required .proto.Topic.TemporalType temporal_type = 6;
+ * @return The temporalType.
*/
- public fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType getTemporalType() {
+ @java.lang.Override public fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType getTemporalType() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType result = fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType.valueOf(temporalType_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType.ongoing : result;
}
@@ -2092,9 +2272,10 @@ public fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType getTemporalType() {
*
*
* optional .proto.Topic.EventType event_type = 7;
+ * @return Whether the eventType field is set.
*/
- public boolean hasEventType() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ @java.lang.Override public boolean hasEventType() {
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -2102,8 +2283,10 @@ public boolean hasEventType() {
*
*
* optional .proto.Topic.EventType event_type = 7;
+ * @return The eventType.
*/
- public fi.hsl.common.hfp.proto.Hfp.Topic.EventType getEventType() {
+ @java.lang.Override public fi.hsl.common.hfp.proto.Hfp.Topic.EventType getEventType() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Topic.EventType result = fi.hsl.common.hfp.proto.Hfp.Topic.EventType.valueOf(eventType_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Topic.EventType.VP : result;
}
@@ -2116,9 +2299,10 @@ public fi.hsl.common.hfp.proto.Hfp.Topic.EventType getEventType() {
*
*
* optional .proto.Topic.TransportMode transport_mode = 8;
+ * @return Whether the transportMode field is set.
*/
- public boolean hasTransportMode() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ @java.lang.Override public boolean hasTransportMode() {
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
*
@@ -2126,8 +2310,10 @@ public boolean hasTransportMode() {
*
*
* optional .proto.Topic.TransportMode transport_mode = 8;
+ * @return The transportMode.
*/
- public fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode getTransportMode() {
+ @java.lang.Override public fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode getTransportMode() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode result = fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode.valueOf(transportMode_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode.bus : result;
}
@@ -2136,13 +2322,17 @@ public fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode getTransportMode() {
private int operatorId_;
/**
* required int32 operator_id = 9;
+ * @return Whether the operatorId field is set.
*/
+ @java.lang.Override
public boolean hasOperatorId() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
* required int32 operator_id = 9;
+ * @return The operatorId.
*/
+ @java.lang.Override
public int getOperatorId() {
return operatorId_;
}
@@ -2151,13 +2341,17 @@ public int getOperatorId() {
private int vehicleNumber_;
/**
* required int32 vehicle_number = 10;
+ * @return Whether the vehicleNumber field is set.
*/
+ @java.lang.Override
public boolean hasVehicleNumber() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
* required int32 vehicle_number = 10;
+ * @return The vehicleNumber.
*/
+ @java.lang.Override
public int getVehicleNumber() {
return vehicleNumber_;
}
@@ -2166,13 +2360,17 @@ public int getVehicleNumber() {
private volatile java.lang.Object uniqueVehicleId_;
/**
* required string unique_vehicle_id = 11;
+ * @return Whether the uniqueVehicleId field is set.
*/
+ @java.lang.Override
public boolean hasUniqueVehicleId() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
* required string unique_vehicle_id = 11;
+ * @return The uniqueVehicleId.
*/
+ @java.lang.Override
public java.lang.String getUniqueVehicleId() {
java.lang.Object ref = uniqueVehicleId_;
if (ref instanceof java.lang.String) {
@@ -2189,7 +2387,9 @@ public java.lang.String getUniqueVehicleId() {
}
/**
* required string unique_vehicle_id = 11;
+ * @return The bytes for uniqueVehicleId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getUniqueVehicleIdBytes() {
java.lang.Object ref = uniqueVehicleId_;
@@ -2208,13 +2408,17 @@ public java.lang.String getUniqueVehicleId() {
private volatile java.lang.Object routeId_;
/**
* optional string route_id = 12;
+ * @return Whether the routeId field is set.
*/
+ @java.lang.Override
public boolean hasRouteId() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional string route_id = 12;
+ * @return The routeId.
*/
+ @java.lang.Override
public java.lang.String getRouteId() {
java.lang.Object ref = routeId_;
if (ref instanceof java.lang.String) {
@@ -2231,7 +2435,9 @@ public java.lang.String getRouteId() {
}
/**
* optional string route_id = 12;
+ * @return The bytes for routeId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getRouteIdBytes() {
java.lang.Object ref = routeId_;
@@ -2250,13 +2456,17 @@ public java.lang.String getRouteId() {
private int directionId_;
/**
* optional int32 direction_id = 13;
+ * @return Whether the directionId field is set.
*/
+ @java.lang.Override
public boolean hasDirectionId() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
+ return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional int32 direction_id = 13;
+ * @return The directionId.
*/
+ @java.lang.Override
public int getDirectionId() {
return directionId_;
}
@@ -2265,13 +2475,17 @@ public int getDirectionId() {
private volatile java.lang.Object headsign_;
/**
* optional string headsign = 14;
+ * @return Whether the headsign field is set.
*/
+ @java.lang.Override
public boolean hasHeadsign() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional string headsign = 14;
+ * @return The headsign.
*/
+ @java.lang.Override
public java.lang.String getHeadsign() {
java.lang.Object ref = headsign_;
if (ref instanceof java.lang.String) {
@@ -2288,7 +2502,9 @@ public java.lang.String getHeadsign() {
}
/**
* optional string headsign = 14;
+ * @return The bytes for headsign.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getHeadsignBytes() {
java.lang.Object ref = headsign_;
@@ -2307,13 +2523,17 @@ public java.lang.String getHeadsign() {
private volatile java.lang.Object startTime_;
/**
* optional string start_time = 15;
+ * @return Whether the startTime field is set.
*/
+ @java.lang.Override
public boolean hasStartTime() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
+ return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional string start_time = 15;
+ * @return The startTime.
*/
+ @java.lang.Override
public java.lang.String getStartTime() {
java.lang.Object ref = startTime_;
if (ref instanceof java.lang.String) {
@@ -2330,7 +2550,9 @@ public java.lang.String getStartTime() {
}
/**
* optional string start_time = 15;
+ * @return The bytes for startTime.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStartTimeBytes() {
java.lang.Object ref = startTime_;
@@ -2349,13 +2571,17 @@ public java.lang.String getStartTime() {
private volatile java.lang.Object nextStop_;
/**
* optional string next_stop = 16;
+ * @return Whether the nextStop field is set.
*/
+ @java.lang.Override
public boolean hasNextStop() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
+ return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional string next_stop = 16;
+ * @return The nextStop.
*/
+ @java.lang.Override
public java.lang.String getNextStop() {
java.lang.Object ref = nextStop_;
if (ref instanceof java.lang.String) {
@@ -2372,7 +2598,9 @@ public java.lang.String getNextStop() {
}
/**
* optional string next_stop = 16;
+ * @return The bytes for nextStop.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getNextStopBytes() {
java.lang.Object ref = nextStop_;
@@ -2391,13 +2619,17 @@ public java.lang.String getNextStop() {
private int geohashLevel_;
/**
* optional int32 geohash_level = 17;
+ * @return Whether the geohashLevel field is set.
*/
+ @java.lang.Override
public boolean hasGeohashLevel() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
+ return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional int32 geohash_level = 17;
+ * @return The geohashLevel.
*/
+ @java.lang.Override
public int getGeohashLevel() {
return geohashLevel_;
}
@@ -2406,13 +2638,17 @@ public int getGeohashLevel() {
private double latitude_;
/**
* optional double latitude = 18;
+ * @return Whether the latitude field is set.
*/
+ @java.lang.Override
public boolean hasLatitude() {
- return ((bitField0_ & 0x00020000) == 0x00020000);
+ return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional double latitude = 18;
+ * @return The latitude.
*/
+ @java.lang.Override
public double getLatitude() {
return latitude_;
}
@@ -2421,18 +2657,23 @@ public double getLatitude() {
private double longitude_;
/**
* optional double longitude = 19;
+ * @return Whether the longitude field is set.
*/
+ @java.lang.Override
public boolean hasLongitude() {
- return ((bitField0_ & 0x00040000) == 0x00040000);
+ return ((bitField0_ & 0x00040000) != 0);
}
/**
* optional double longitude = 19;
+ * @return The longitude.
*/
+ @java.lang.Override
public double getLongitude() {
return longitude_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -2478,139 +2719,141 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(1, schemaVersion_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, receivedAt_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, topicPrefix_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, topicVersion_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
output.writeEnum(5, journeyType_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
output.writeEnum(6, temporalType_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
output.writeEnum(7, eventType_);
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000080) != 0)) {
output.writeEnum(8, transportMode_);
}
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((bitField0_ & 0x00000100) != 0)) {
output.writeInt32(9, operatorId_);
}
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt32(10, vehicleNumber_);
}
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
+ if (((bitField0_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, uniqueVehicleId_);
}
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
+ if (((bitField0_ & 0x00000800) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, routeId_);
}
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
+ if (((bitField0_ & 0x00001000) != 0)) {
output.writeInt32(13, directionId_);
}
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
+ if (((bitField0_ & 0x00002000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, headsign_);
}
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
+ if (((bitField0_ & 0x00004000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, startTime_);
}
- if (((bitField0_ & 0x00008000) == 0x00008000)) {
+ if (((bitField0_ & 0x00008000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 16, nextStop_);
}
- if (((bitField0_ & 0x00010000) == 0x00010000)) {
+ if (((bitField0_ & 0x00010000) != 0)) {
output.writeInt32(17, geohashLevel_);
}
- if (((bitField0_ & 0x00020000) == 0x00020000)) {
+ if (((bitField0_ & 0x00020000) != 0)) {
output.writeDouble(18, latitude_);
}
- if (((bitField0_ & 0x00040000) == 0x00040000)) {
+ if (((bitField0_ & 0x00040000) != 0)) {
output.writeDouble(19, longitude_);
}
unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, schemaVersion_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, receivedAt_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, topicPrefix_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, topicVersion_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, journeyType_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, temporalType_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(7, eventType_);
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(8, transportMode_);
}
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, operatorId_);
}
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(10, vehicleNumber_);
}
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
+ if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, uniqueVehicleId_);
}
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
+ if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, routeId_);
}
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
+ if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(13, directionId_);
}
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
+ if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, headsign_);
}
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
+ if (((bitField0_ & 0x00004000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, startTime_);
}
- if (((bitField0_ & 0x00008000) == 0x00008000)) {
+ if (((bitField0_ & 0x00008000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, nextStop_);
}
- if (((bitField0_ & 0x00010000) == 0x00010000)) {
+ if (((bitField0_ & 0x00010000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(17, geohashLevel_);
}
- if (((bitField0_ & 0x00020000) == 0x00020000)) {
+ if (((bitField0_ & 0x00020000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(18, latitude_);
}
- if (((bitField0_ & 0x00040000) == 0x00040000)) {
+ if (((bitField0_ & 0x00040000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(19, longitude_);
}
@@ -2619,7 +2862,6 @@ public int getSerializedSize() {
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -2630,104 +2872,101 @@ public boolean equals(final java.lang.Object obj) {
}
fi.hsl.common.hfp.proto.Hfp.Topic other = (fi.hsl.common.hfp.proto.Hfp.Topic) obj;
- boolean result = true;
- result = result && (hasSchemaVersion() == other.hasSchemaVersion());
+ if (hasSchemaVersion() != other.hasSchemaVersion()) return false;
if (hasSchemaVersion()) {
- result = result && (getSchemaVersion()
- == other.getSchemaVersion());
+ if (getSchemaVersion()
+ != other.getSchemaVersion()) return false;
}
- result = result && (hasReceivedAt() == other.hasReceivedAt());
+ if (hasReceivedAt() != other.hasReceivedAt()) return false;
if (hasReceivedAt()) {
- result = result && (getReceivedAt()
- == other.getReceivedAt());
+ if (getReceivedAt()
+ != other.getReceivedAt()) return false;
}
- result = result && (hasTopicPrefix() == other.hasTopicPrefix());
+ if (hasTopicPrefix() != other.hasTopicPrefix()) return false;
if (hasTopicPrefix()) {
- result = result && getTopicPrefix()
- .equals(other.getTopicPrefix());
+ if (!getTopicPrefix()
+ .equals(other.getTopicPrefix())) return false;
}
- result = result && (hasTopicVersion() == other.hasTopicVersion());
+ if (hasTopicVersion() != other.hasTopicVersion()) return false;
if (hasTopicVersion()) {
- result = result && getTopicVersion()
- .equals(other.getTopicVersion());
+ if (!getTopicVersion()
+ .equals(other.getTopicVersion())) return false;
}
- result = result && (hasJourneyType() == other.hasJourneyType());
+ if (hasJourneyType() != other.hasJourneyType()) return false;
if (hasJourneyType()) {
- result = result && journeyType_ == other.journeyType_;
+ if (journeyType_ != other.journeyType_) return false;
}
- result = result && (hasTemporalType() == other.hasTemporalType());
+ if (hasTemporalType() != other.hasTemporalType()) return false;
if (hasTemporalType()) {
- result = result && temporalType_ == other.temporalType_;
+ if (temporalType_ != other.temporalType_) return false;
}
- result = result && (hasEventType() == other.hasEventType());
+ if (hasEventType() != other.hasEventType()) return false;
if (hasEventType()) {
- result = result && eventType_ == other.eventType_;
+ if (eventType_ != other.eventType_) return false;
}
- result = result && (hasTransportMode() == other.hasTransportMode());
+ if (hasTransportMode() != other.hasTransportMode()) return false;
if (hasTransportMode()) {
- result = result && transportMode_ == other.transportMode_;
+ if (transportMode_ != other.transportMode_) return false;
}
- result = result && (hasOperatorId() == other.hasOperatorId());
+ if (hasOperatorId() != other.hasOperatorId()) return false;
if (hasOperatorId()) {
- result = result && (getOperatorId()
- == other.getOperatorId());
+ if (getOperatorId()
+ != other.getOperatorId()) return false;
}
- result = result && (hasVehicleNumber() == other.hasVehicleNumber());
+ if (hasVehicleNumber() != other.hasVehicleNumber()) return false;
if (hasVehicleNumber()) {
- result = result && (getVehicleNumber()
- == other.getVehicleNumber());
+ if (getVehicleNumber()
+ != other.getVehicleNumber()) return false;
}
- result = result && (hasUniqueVehicleId() == other.hasUniqueVehicleId());
+ if (hasUniqueVehicleId() != other.hasUniqueVehicleId()) return false;
if (hasUniqueVehicleId()) {
- result = result && getUniqueVehicleId()
- .equals(other.getUniqueVehicleId());
+ if (!getUniqueVehicleId()
+ .equals(other.getUniqueVehicleId())) return false;
}
- result = result && (hasRouteId() == other.hasRouteId());
+ if (hasRouteId() != other.hasRouteId()) return false;
if (hasRouteId()) {
- result = result && getRouteId()
- .equals(other.getRouteId());
+ if (!getRouteId()
+ .equals(other.getRouteId())) return false;
}
- result = result && (hasDirectionId() == other.hasDirectionId());
+ if (hasDirectionId() != other.hasDirectionId()) return false;
if (hasDirectionId()) {
- result = result && (getDirectionId()
- == other.getDirectionId());
+ if (getDirectionId()
+ != other.getDirectionId()) return false;
}
- result = result && (hasHeadsign() == other.hasHeadsign());
+ if (hasHeadsign() != other.hasHeadsign()) return false;
if (hasHeadsign()) {
- result = result && getHeadsign()
- .equals(other.getHeadsign());
+ if (!getHeadsign()
+ .equals(other.getHeadsign())) return false;
}
- result = result && (hasStartTime() == other.hasStartTime());
+ if (hasStartTime() != other.hasStartTime()) return false;
if (hasStartTime()) {
- result = result && getStartTime()
- .equals(other.getStartTime());
+ if (!getStartTime()
+ .equals(other.getStartTime())) return false;
}
- result = result && (hasNextStop() == other.hasNextStop());
+ if (hasNextStop() != other.hasNextStop()) return false;
if (hasNextStop()) {
- result = result && getNextStop()
- .equals(other.getNextStop());
+ if (!getNextStop()
+ .equals(other.getNextStop())) return false;
}
- result = result && (hasGeohashLevel() == other.hasGeohashLevel());
+ if (hasGeohashLevel() != other.hasGeohashLevel()) return false;
if (hasGeohashLevel()) {
- result = result && (getGeohashLevel()
- == other.getGeohashLevel());
+ if (getGeohashLevel()
+ != other.getGeohashLevel()) return false;
}
- result = result && (hasLatitude() == other.hasLatitude());
+ if (hasLatitude() != other.hasLatitude()) return false;
if (hasLatitude()) {
- result = result && (
- java.lang.Double.doubleToLongBits(getLatitude())
- == java.lang.Double.doubleToLongBits(
- other.getLatitude()));
+ if (java.lang.Double.doubleToLongBits(getLatitude())
+ != java.lang.Double.doubleToLongBits(
+ other.getLatitude())) return false;
}
- result = result && (hasLongitude() == other.hasLongitude());
+ if (hasLongitude() != other.hasLongitude()) return false;
if (hasLongitude()) {
- result = result && (
- java.lang.Double.doubleToLongBits(getLongitude())
- == java.lang.Double.doubleToLongBits(
- other.getLongitude()));
+ if (java.lang.Double.doubleToLongBits(getLongitude())
+ != java.lang.Double.doubleToLongBits(
+ other.getLongitude())) return false;
}
- result = result && unknownFields.equals(other.unknownFields);
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -2736,7 +2975,7 @@ public int hashCode() {
return memoizedHashCode;
}
int hash = 41;
- hash = (19 * hash) + getDescriptorForType().hashCode();
+ hash = (19 * hash) + getDescriptor().hashCode();
if (hasSchemaVersion()) {
hash = (37 * hash) + SCHEMAVERSION_FIELD_NUMBER;
hash = (53 * hash) + getSchemaVersion();
@@ -2821,6 +3060,17 @@ public int hashCode() {
return hash;
}
+ public static fi.hsl.common.hfp.proto.Hfp.Topic parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static fi.hsl.common.hfp.proto.Hfp.Topic parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static fi.hsl.common.hfp.proto.Hfp.Topic parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -2880,6 +3130,7 @@ public static fi.hsl.common.hfp.proto.Hfp.Topic parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -2887,6 +3138,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(fi.hsl.common.hfp.proto.Hfp.Topic prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -2910,6 +3162,7 @@ public static final class Builder extends
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Topic_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Topic_fieldAccessorTable
@@ -2932,6 +3185,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
schemaVersion_ = 1;
@@ -2975,15 +3229,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Topic_descriptor;
}
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Topic getDefaultInstanceForType() {
return fi.hsl.common.hfp.proto.Hfp.Topic.getDefaultInstance();
}
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Topic build() {
fi.hsl.common.hfp.proto.Hfp.Topic result = buildPartial();
if (!result.isInitialized()) {
@@ -2992,117 +3249,125 @@ public fi.hsl.common.hfp.proto.Hfp.Topic build() {
return result;
}
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Topic buildPartial() {
fi.hsl.common.hfp.proto.Hfp.Topic result = new fi.hsl.common.hfp.proto.Hfp.Topic(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.schemaVersion_ = schemaVersion_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.receivedAt_ = receivedAt_;
to_bitField0_ |= 0x00000002;
}
- result.receivedAt_ = receivedAt_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.topicPrefix_ = topicPrefix_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.topicVersion_ = topicVersion_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.journeyType_ = journeyType_;
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.temporalType_ = temporalType_;
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((from_bitField0_ & 0x00000040) != 0)) {
to_bitField0_ |= 0x00000040;
}
result.eventType_ = eventType_;
- if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((from_bitField0_ & 0x00000080) != 0)) {
to_bitField0_ |= 0x00000080;
}
result.transportMode_ = transportMode_;
- if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.operatorId_ = operatorId_;
to_bitField0_ |= 0x00000100;
}
- result.operatorId_ = operatorId_;
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.vehicleNumber_ = vehicleNumber_;
to_bitField0_ |= 0x00000200;
}
- result.vehicleNumber_ = vehicleNumber_;
- if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
+ if (((from_bitField0_ & 0x00000400) != 0)) {
to_bitField0_ |= 0x00000400;
}
result.uniqueVehicleId_ = uniqueVehicleId_;
- if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
+ if (((from_bitField0_ & 0x00000800) != 0)) {
to_bitField0_ |= 0x00000800;
}
result.routeId_ = routeId_;
- if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
+ if (((from_bitField0_ & 0x00001000) != 0)) {
+ result.directionId_ = directionId_;
to_bitField0_ |= 0x00001000;
}
- result.directionId_ = directionId_;
- if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
+ if (((from_bitField0_ & 0x00002000) != 0)) {
to_bitField0_ |= 0x00002000;
}
result.headsign_ = headsign_;
- if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
+ if (((from_bitField0_ & 0x00004000) != 0)) {
to_bitField0_ |= 0x00004000;
}
result.startTime_ = startTime_;
- if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
+ if (((from_bitField0_ & 0x00008000) != 0)) {
to_bitField0_ |= 0x00008000;
}
result.nextStop_ = nextStop_;
- if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
+ if (((from_bitField0_ & 0x00010000) != 0)) {
+ result.geohashLevel_ = geohashLevel_;
to_bitField0_ |= 0x00010000;
}
- result.geohashLevel_ = geohashLevel_;
- if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
+ if (((from_bitField0_ & 0x00020000) != 0)) {
+ result.latitude_ = latitude_;
to_bitField0_ |= 0x00020000;
}
- result.latitude_ = latitude_;
- if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
+ if (((from_bitField0_ & 0x00040000) != 0)) {
+ result.longitude_ = longitude_;
to_bitField0_ |= 0x00040000;
}
- result.longitude_ = longitude_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof fi.hsl.common.hfp.proto.Hfp.Topic) {
return mergeFrom((fi.hsl.common.hfp.proto.Hfp.Topic)other);
@@ -3190,6 +3455,7 @@ public Builder mergeFrom(fi.hsl.common.hfp.proto.Hfp.Topic other) {
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
if (!hasSchemaVersion()) {
return false;
@@ -3221,6 +3487,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -3243,18 +3510,24 @@ public Builder mergeFrom(
private int schemaVersion_ = 1;
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
+ @java.lang.Override
public boolean hasSchemaVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
+ @java.lang.Override
public int getSchemaVersion() {
return schemaVersion_;
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @param value The schemaVersion to set.
+ * @return This builder for chaining.
*/
public Builder setSchemaVersion(int value) {
bitField0_ |= 0x00000001;
@@ -3264,6 +3537,7 @@ public Builder setSchemaVersion(int value) {
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return This builder for chaining.
*/
public Builder clearSchemaVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -3279,9 +3553,11 @@ public Builder clearSchemaVersion() {
*
*
* required int64 received_at = 2;
+ * @return Whether the receivedAt field is set.
*/
+ @java.lang.Override
public boolean hasReceivedAt() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -3289,7 +3565,9 @@ public boolean hasReceivedAt() {
*
*
* required int64 received_at = 2;
+ * @return The receivedAt.
*/
+ @java.lang.Override
public long getReceivedAt() {
return receivedAt_;
}
@@ -3299,6 +3577,8 @@ public long getReceivedAt() {
*
*
* required int64 received_at = 2;
+ * @param value The receivedAt to set.
+ * @return This builder for chaining.
*/
public Builder setReceivedAt(long value) {
bitField0_ |= 0x00000002;
@@ -3312,6 +3592,7 @@ public Builder setReceivedAt(long value) {
*
*
* required int64 received_at = 2;
+ * @return This builder for chaining.
*/
public Builder clearReceivedAt() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -3323,12 +3604,14 @@ public Builder clearReceivedAt() {
private java.lang.Object topicPrefix_ = "";
/**
* required string topic_prefix = 3;
+ * @return Whether the topicPrefix field is set.
*/
public boolean hasTopicPrefix() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* required string topic_prefix = 3;
+ * @return The topicPrefix.
*/
public java.lang.String getTopicPrefix() {
java.lang.Object ref = topicPrefix_;
@@ -3346,6 +3629,7 @@ public java.lang.String getTopicPrefix() {
}
/**
* required string topic_prefix = 3;
+ * @return The bytes for topicPrefix.
*/
public com.google.protobuf.ByteString
getTopicPrefixBytes() {
@@ -3362,6 +3646,8 @@ public java.lang.String getTopicPrefix() {
}
/**
* required string topic_prefix = 3;
+ * @param value The topicPrefix to set.
+ * @return This builder for chaining.
*/
public Builder setTopicPrefix(
java.lang.String value) {
@@ -3375,6 +3661,7 @@ public Builder setTopicPrefix(
}
/**
* required string topic_prefix = 3;
+ * @return This builder for chaining.
*/
public Builder clearTopicPrefix() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -3384,6 +3671,8 @@ public Builder clearTopicPrefix() {
}
/**
* required string topic_prefix = 3;
+ * @param value The bytes for topicPrefix to set.
+ * @return This builder for chaining.
*/
public Builder setTopicPrefixBytes(
com.google.protobuf.ByteString value) {
@@ -3399,12 +3688,14 @@ public Builder setTopicPrefixBytes(
private java.lang.Object topicVersion_ = "";
/**
* required string topic_version = 4;
+ * @return Whether the topicVersion field is set.
*/
public boolean hasTopicVersion() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* required string topic_version = 4;
+ * @return The topicVersion.
*/
public java.lang.String getTopicVersion() {
java.lang.Object ref = topicVersion_;
@@ -3422,6 +3713,7 @@ public java.lang.String getTopicVersion() {
}
/**
* required string topic_version = 4;
+ * @return The bytes for topicVersion.
*/
public com.google.protobuf.ByteString
getTopicVersionBytes() {
@@ -3438,6 +3730,8 @@ public java.lang.String getTopicVersion() {
}
/**
* required string topic_version = 4;
+ * @param value The topicVersion to set.
+ * @return This builder for chaining.
*/
public Builder setTopicVersion(
java.lang.String value) {
@@ -3451,6 +3745,7 @@ public Builder setTopicVersion(
}
/**
* required string topic_version = 4;
+ * @return This builder for chaining.
*/
public Builder clearTopicVersion() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -3460,6 +3755,8 @@ public Builder clearTopicVersion() {
}
/**
* required string topic_version = 4;
+ * @param value The bytes for topicVersion to set.
+ * @return This builder for chaining.
*/
public Builder setTopicVersionBytes(
com.google.protobuf.ByteString value) {
@@ -3475,19 +3772,25 @@ public Builder setTopicVersionBytes(
private int journeyType_ = 0;
/**
* required .proto.Topic.JourneyType journey_type = 5;
+ * @return Whether the journeyType field is set.
*/
- public boolean hasJourneyType() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ @java.lang.Override public boolean hasJourneyType() {
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* required .proto.Topic.JourneyType journey_type = 5;
+ * @return The journeyType.
*/
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType getJourneyType() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType result = fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType.valueOf(journeyType_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType.journey : result;
}
/**
* required .proto.Topic.JourneyType journey_type = 5;
+ * @param value The journeyType to set.
+ * @return This builder for chaining.
*/
public Builder setJourneyType(fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType value) {
if (value == null) {
@@ -3500,6 +3803,7 @@ public Builder setJourneyType(fi.hsl.common.hfp.proto.Hfp.Topic.JourneyType valu
}
/**
* required .proto.Topic.JourneyType journey_type = 5;
+ * @return This builder for chaining.
*/
public Builder clearJourneyType() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -3511,19 +3815,25 @@ public Builder clearJourneyType() {
private int temporalType_ = 0;
/**
* required .proto.Topic.TemporalType temporal_type = 6;
+ * @return Whether the temporalType field is set.
*/
- public boolean hasTemporalType() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ @java.lang.Override public boolean hasTemporalType() {
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
* required .proto.Topic.TemporalType temporal_type = 6;
+ * @return The temporalType.
*/
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType getTemporalType() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType result = fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType.valueOf(temporalType_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType.ongoing : result;
}
/**
* required .proto.Topic.TemporalType temporal_type = 6;
+ * @param value The temporalType to set.
+ * @return This builder for chaining.
*/
public Builder setTemporalType(fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType value) {
if (value == null) {
@@ -3536,6 +3846,7 @@ public Builder setTemporalType(fi.hsl.common.hfp.proto.Hfp.Topic.TemporalType va
}
/**
* required .proto.Topic.TemporalType temporal_type = 6;
+ * @return This builder for chaining.
*/
public Builder clearTemporalType() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -3551,9 +3862,10 @@ public Builder clearTemporalType() {
*
*
* optional .proto.Topic.EventType event_type = 7;
+ * @return Whether the eventType field is set.
*/
- public boolean hasEventType() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ @java.lang.Override public boolean hasEventType() {
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -3561,8 +3873,11 @@ public boolean hasEventType() {
*
*
* optional .proto.Topic.EventType event_type = 7;
+ * @return The eventType.
*/
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Topic.EventType getEventType() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Topic.EventType result = fi.hsl.common.hfp.proto.Hfp.Topic.EventType.valueOf(eventType_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Topic.EventType.VP : result;
}
@@ -3572,6 +3887,8 @@ public fi.hsl.common.hfp.proto.Hfp.Topic.EventType getEventType() {
*
*
* optional .proto.Topic.EventType event_type = 7;
+ * @param value The eventType to set.
+ * @return This builder for chaining.
*/
public Builder setEventType(fi.hsl.common.hfp.proto.Hfp.Topic.EventType value) {
if (value == null) {
@@ -3588,6 +3905,7 @@ public Builder setEventType(fi.hsl.common.hfp.proto.Hfp.Topic.EventType value) {
*
*
* optional .proto.Topic.EventType event_type = 7;
+ * @return This builder for chaining.
*/
public Builder clearEventType() {
bitField0_ = (bitField0_ & ~0x00000040);
@@ -3603,9 +3921,10 @@ public Builder clearEventType() {
*
*
* optional .proto.Topic.TransportMode transport_mode = 8;
+ * @return Whether the transportMode field is set.
*/
- public boolean hasTransportMode() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ @java.lang.Override public boolean hasTransportMode() {
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
*
@@ -3613,8 +3932,11 @@ public boolean hasTransportMode() {
*
*
* optional .proto.Topic.TransportMode transport_mode = 8;
+ * @return The transportMode.
*/
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode getTransportMode() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode result = fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode.valueOf(transportMode_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode.bus : result;
}
@@ -3624,6 +3946,8 @@ public fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode getTransportMode() {
*
*
* optional .proto.Topic.TransportMode transport_mode = 8;
+ * @param value The transportMode to set.
+ * @return This builder for chaining.
*/
public Builder setTransportMode(fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode value) {
if (value == null) {
@@ -3640,6 +3964,7 @@ public Builder setTransportMode(fi.hsl.common.hfp.proto.Hfp.Topic.TransportMode
*
*
* optional .proto.Topic.TransportMode transport_mode = 8;
+ * @return This builder for chaining.
*/
public Builder clearTransportMode() {
bitField0_ = (bitField0_ & ~0x00000080);
@@ -3651,18 +3976,24 @@ public Builder clearTransportMode() {
private int operatorId_ ;
/**
* required int32 operator_id = 9;
+ * @return Whether the operatorId field is set.
*/
+ @java.lang.Override
public boolean hasOperatorId() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
* required int32 operator_id = 9;
+ * @return The operatorId.
*/
+ @java.lang.Override
public int getOperatorId() {
return operatorId_;
}
/**
* required int32 operator_id = 9;
+ * @param value The operatorId to set.
+ * @return This builder for chaining.
*/
public Builder setOperatorId(int value) {
bitField0_ |= 0x00000100;
@@ -3672,6 +4003,7 @@ public Builder setOperatorId(int value) {
}
/**
* required int32 operator_id = 9;
+ * @return This builder for chaining.
*/
public Builder clearOperatorId() {
bitField0_ = (bitField0_ & ~0x00000100);
@@ -3683,18 +4015,24 @@ public Builder clearOperatorId() {
private int vehicleNumber_ ;
/**
* required int32 vehicle_number = 10;
+ * @return Whether the vehicleNumber field is set.
*/
+ @java.lang.Override
public boolean hasVehicleNumber() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
* required int32 vehicle_number = 10;
+ * @return The vehicleNumber.
*/
+ @java.lang.Override
public int getVehicleNumber() {
return vehicleNumber_;
}
/**
* required int32 vehicle_number = 10;
+ * @param value The vehicleNumber to set.
+ * @return This builder for chaining.
*/
public Builder setVehicleNumber(int value) {
bitField0_ |= 0x00000200;
@@ -3704,6 +4042,7 @@ public Builder setVehicleNumber(int value) {
}
/**
* required int32 vehicle_number = 10;
+ * @return This builder for chaining.
*/
public Builder clearVehicleNumber() {
bitField0_ = (bitField0_ & ~0x00000200);
@@ -3715,12 +4054,14 @@ public Builder clearVehicleNumber() {
private java.lang.Object uniqueVehicleId_ = "";
/**
* required string unique_vehicle_id = 11;
+ * @return Whether the uniqueVehicleId field is set.
*/
public boolean hasUniqueVehicleId() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
* required string unique_vehicle_id = 11;
+ * @return The uniqueVehicleId.
*/
public java.lang.String getUniqueVehicleId() {
java.lang.Object ref = uniqueVehicleId_;
@@ -3738,6 +4079,7 @@ public java.lang.String getUniqueVehicleId() {
}
/**
* required string unique_vehicle_id = 11;
+ * @return The bytes for uniqueVehicleId.
*/
public com.google.protobuf.ByteString
getUniqueVehicleIdBytes() {
@@ -3754,6 +4096,8 @@ public java.lang.String getUniqueVehicleId() {
}
/**
* required string unique_vehicle_id = 11;
+ * @param value The uniqueVehicleId to set.
+ * @return This builder for chaining.
*/
public Builder setUniqueVehicleId(
java.lang.String value) {
@@ -3767,6 +4111,7 @@ public Builder setUniqueVehicleId(
}
/**
* required string unique_vehicle_id = 11;
+ * @return This builder for chaining.
*/
public Builder clearUniqueVehicleId() {
bitField0_ = (bitField0_ & ~0x00000400);
@@ -3776,6 +4121,8 @@ public Builder clearUniqueVehicleId() {
}
/**
* required string unique_vehicle_id = 11;
+ * @param value The bytes for uniqueVehicleId to set.
+ * @return This builder for chaining.
*/
public Builder setUniqueVehicleIdBytes(
com.google.protobuf.ByteString value) {
@@ -3791,12 +4138,14 @@ public Builder setUniqueVehicleIdBytes(
private java.lang.Object routeId_ = "";
/**
* optional string route_id = 12;
+ * @return Whether the routeId field is set.
*/
public boolean hasRouteId() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional string route_id = 12;
+ * @return The routeId.
*/
public java.lang.String getRouteId() {
java.lang.Object ref = routeId_;
@@ -3814,6 +4163,7 @@ public java.lang.String getRouteId() {
}
/**
* optional string route_id = 12;
+ * @return The bytes for routeId.
*/
public com.google.protobuf.ByteString
getRouteIdBytes() {
@@ -3830,6 +4180,8 @@ public java.lang.String getRouteId() {
}
/**
* optional string route_id = 12;
+ * @param value The routeId to set.
+ * @return This builder for chaining.
*/
public Builder setRouteId(
java.lang.String value) {
@@ -3843,6 +4195,7 @@ public Builder setRouteId(
}
/**
* optional string route_id = 12;
+ * @return This builder for chaining.
*/
public Builder clearRouteId() {
bitField0_ = (bitField0_ & ~0x00000800);
@@ -3852,6 +4205,8 @@ public Builder clearRouteId() {
}
/**
* optional string route_id = 12;
+ * @param value The bytes for routeId to set.
+ * @return This builder for chaining.
*/
public Builder setRouteIdBytes(
com.google.protobuf.ByteString value) {
@@ -3867,18 +4222,24 @@ public Builder setRouteIdBytes(
private int directionId_ ;
/**
* optional int32 direction_id = 13;
+ * @return Whether the directionId field is set.
*/
+ @java.lang.Override
public boolean hasDirectionId() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
+ return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional int32 direction_id = 13;
+ * @return The directionId.
*/
+ @java.lang.Override
public int getDirectionId() {
return directionId_;
}
/**
* optional int32 direction_id = 13;
+ * @param value The directionId to set.
+ * @return This builder for chaining.
*/
public Builder setDirectionId(int value) {
bitField0_ |= 0x00001000;
@@ -3888,6 +4249,7 @@ public Builder setDirectionId(int value) {
}
/**
* optional int32 direction_id = 13;
+ * @return This builder for chaining.
*/
public Builder clearDirectionId() {
bitField0_ = (bitField0_ & ~0x00001000);
@@ -3899,12 +4261,14 @@ public Builder clearDirectionId() {
private java.lang.Object headsign_ = "";
/**
* optional string headsign = 14;
+ * @return Whether the headsign field is set.
*/
public boolean hasHeadsign() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional string headsign = 14;
+ * @return The headsign.
*/
public java.lang.String getHeadsign() {
java.lang.Object ref = headsign_;
@@ -3922,6 +4286,7 @@ public java.lang.String getHeadsign() {
}
/**
* optional string headsign = 14;
+ * @return The bytes for headsign.
*/
public com.google.protobuf.ByteString
getHeadsignBytes() {
@@ -3938,6 +4303,8 @@ public java.lang.String getHeadsign() {
}
/**
* optional string headsign = 14;
+ * @param value The headsign to set.
+ * @return This builder for chaining.
*/
public Builder setHeadsign(
java.lang.String value) {
@@ -3951,6 +4318,7 @@ public Builder setHeadsign(
}
/**
* optional string headsign = 14;
+ * @return This builder for chaining.
*/
public Builder clearHeadsign() {
bitField0_ = (bitField0_ & ~0x00002000);
@@ -3960,6 +4328,8 @@ public Builder clearHeadsign() {
}
/**
* optional string headsign = 14;
+ * @param value The bytes for headsign to set.
+ * @return This builder for chaining.
*/
public Builder setHeadsignBytes(
com.google.protobuf.ByteString value) {
@@ -3975,12 +4345,14 @@ public Builder setHeadsignBytes(
private java.lang.Object startTime_ = "";
/**
* optional string start_time = 15;
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
+ return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional string start_time = 15;
+ * @return The startTime.
*/
public java.lang.String getStartTime() {
java.lang.Object ref = startTime_;
@@ -3998,6 +4370,7 @@ public java.lang.String getStartTime() {
}
/**
* optional string start_time = 15;
+ * @return The bytes for startTime.
*/
public com.google.protobuf.ByteString
getStartTimeBytes() {
@@ -4014,6 +4387,8 @@ public java.lang.String getStartTime() {
}
/**
* optional string start_time = 15;
+ * @param value The startTime to set.
+ * @return This builder for chaining.
*/
public Builder setStartTime(
java.lang.String value) {
@@ -4027,6 +4402,7 @@ public Builder setStartTime(
}
/**
* optional string start_time = 15;
+ * @return This builder for chaining.
*/
public Builder clearStartTime() {
bitField0_ = (bitField0_ & ~0x00004000);
@@ -4036,6 +4412,8 @@ public Builder clearStartTime() {
}
/**
* optional string start_time = 15;
+ * @param value The bytes for startTime to set.
+ * @return This builder for chaining.
*/
public Builder setStartTimeBytes(
com.google.protobuf.ByteString value) {
@@ -4051,12 +4429,14 @@ public Builder setStartTimeBytes(
private java.lang.Object nextStop_ = "";
/**
* optional string next_stop = 16;
+ * @return Whether the nextStop field is set.
*/
public boolean hasNextStop() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
+ return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional string next_stop = 16;
+ * @return The nextStop.
*/
public java.lang.String getNextStop() {
java.lang.Object ref = nextStop_;
@@ -4074,6 +4454,7 @@ public java.lang.String getNextStop() {
}
/**
* optional string next_stop = 16;
+ * @return The bytes for nextStop.
*/
public com.google.protobuf.ByteString
getNextStopBytes() {
@@ -4090,6 +4471,8 @@ public java.lang.String getNextStop() {
}
/**
* optional string next_stop = 16;
+ * @param value The nextStop to set.
+ * @return This builder for chaining.
*/
public Builder setNextStop(
java.lang.String value) {
@@ -4103,6 +4486,7 @@ public Builder setNextStop(
}
/**
* optional string next_stop = 16;
+ * @return This builder for chaining.
*/
public Builder clearNextStop() {
bitField0_ = (bitField0_ & ~0x00008000);
@@ -4112,6 +4496,8 @@ public Builder clearNextStop() {
}
/**
* optional string next_stop = 16;
+ * @param value The bytes for nextStop to set.
+ * @return This builder for chaining.
*/
public Builder setNextStopBytes(
com.google.protobuf.ByteString value) {
@@ -4127,18 +4513,24 @@ public Builder setNextStopBytes(
private int geohashLevel_ ;
/**
* optional int32 geohash_level = 17;
+ * @return Whether the geohashLevel field is set.
*/
+ @java.lang.Override
public boolean hasGeohashLevel() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
+ return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional int32 geohash_level = 17;
+ * @return The geohashLevel.
*/
+ @java.lang.Override
public int getGeohashLevel() {
return geohashLevel_;
}
/**
* optional int32 geohash_level = 17;
+ * @param value The geohashLevel to set.
+ * @return This builder for chaining.
*/
public Builder setGeohashLevel(int value) {
bitField0_ |= 0x00010000;
@@ -4148,6 +4540,7 @@ public Builder setGeohashLevel(int value) {
}
/**
* optional int32 geohash_level = 17;
+ * @return This builder for chaining.
*/
public Builder clearGeohashLevel() {
bitField0_ = (bitField0_ & ~0x00010000);
@@ -4159,18 +4552,24 @@ public Builder clearGeohashLevel() {
private double latitude_ ;
/**
* optional double latitude = 18;
+ * @return Whether the latitude field is set.
*/
+ @java.lang.Override
public boolean hasLatitude() {
- return ((bitField0_ & 0x00020000) == 0x00020000);
+ return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional double latitude = 18;
+ * @return The latitude.
*/
+ @java.lang.Override
public double getLatitude() {
return latitude_;
}
/**
* optional double latitude = 18;
+ * @param value The latitude to set.
+ * @return This builder for chaining.
*/
public Builder setLatitude(double value) {
bitField0_ |= 0x00020000;
@@ -4180,6 +4579,7 @@ public Builder setLatitude(double value) {
}
/**
* optional double latitude = 18;
+ * @return This builder for chaining.
*/
public Builder clearLatitude() {
bitField0_ = (bitField0_ & ~0x00020000);
@@ -4191,18 +4591,24 @@ public Builder clearLatitude() {
private double longitude_ ;
/**
* optional double longitude = 19;
+ * @return Whether the longitude field is set.
*/
+ @java.lang.Override
public boolean hasLongitude() {
- return ((bitField0_ & 0x00040000) == 0x00040000);
+ return ((bitField0_ & 0x00040000) != 0);
}
/**
* optional double longitude = 19;
+ * @return The longitude.
*/
+ @java.lang.Override
public double getLongitude() {
return longitude_;
}
/**
* optional double longitude = 19;
+ * @param value The longitude to set.
+ * @return This builder for chaining.
*/
public Builder setLongitude(double value) {
bitField0_ |= 0x00040000;
@@ -4212,6 +4618,7 @@ public Builder setLongitude(double value) {
}
/**
* optional double longitude = 19;
+ * @return This builder for chaining.
*/
public Builder clearLongitude() {
bitField0_ = (bitField0_ & ~0x00040000);
@@ -4219,11 +4626,13 @@ public Builder clearLongitude() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -4245,11 +4654,12 @@ public static fi.hsl.common.hfp.proto.Hfp.Topic getDefaultInstance() {
@java.lang.Deprecated public static final com.google.protobuf.Parserrequired int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
boolean hasSchemaVersion();
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
int getSchemaVersion();
/**
* optional string desi = 2;
+ * @return Whether the desi field is set.
*/
boolean hasDesi();
/**
* optional string desi = 2;
+ * @return The desi.
*/
java.lang.String getDesi();
/**
* optional string desi = 2;
+ * @return The bytes for desi.
*/
com.google.protobuf.ByteString
getDesiBytes();
/**
* optional string dir = 3;
+ * @return Whether the dir field is set.
*/
boolean hasDir();
/**
* optional string dir = 3;
+ * @return The dir.
*/
java.lang.String getDir();
/**
* optional string dir = 3;
+ * @return The bytes for dir.
*/
com.google.protobuf.ByteString
getDirBytes();
/**
* optional int32 oper = 4;
+ * @return Whether the oper field is set.
*/
boolean hasOper();
/**
* optional int32 oper = 4;
+ * @return The oper.
*/
int getOper();
/**
* optional int32 veh = 5;
+ * @return Whether the veh field is set.
*/
boolean hasVeh();
/**
* optional int32 veh = 5;
+ * @return The veh.
*/
int getVeh();
/**
* required string tst = 6;
+ * @return Whether the tst field is set.
*/
boolean hasTst();
/**
* required string tst = 6;
+ * @return The tst.
*/
java.lang.String getTst();
/**
* required string tst = 6;
+ * @return The bytes for tst.
*/
com.google.protobuf.ByteString
getTstBytes();
/**
* required int64 tsi = 7;
+ * @return Whether the tsi field is set.
*/
boolean hasTsi();
/**
* required int64 tsi = 7;
+ * @return The tsi.
*/
long getTsi();
/**
* optional double spd = 8;
+ * @return Whether the spd field is set.
*/
boolean hasSpd();
/**
* optional double spd = 8;
+ * @return The spd.
*/
double getSpd();
/**
* optional int32 hdg = 9;
+ * @return Whether the hdg field is set.
*/
boolean hasHdg();
/**
* optional int32 hdg = 9;
+ * @return The hdg.
*/
int getHdg();
/**
* optional double lat = 10;
+ * @return Whether the lat field is set.
*/
boolean hasLat();
/**
* optional double lat = 10;
+ * @return The lat.
*/
double getLat();
/**
* optional double long = 11;
+ * @return Whether the long field is set.
*/
boolean hasLong();
/**
* optional double long = 11;
+ * @return The long.
*/
double getLong();
/**
* optional double acc = 12;
+ * @return Whether the acc field is set.
*/
boolean hasAcc();
/**
* optional double acc = 12;
+ * @return The acc.
*/
double getAcc();
/**
* optional uint32 dl = 13;
+ * @return Whether the dl field is set.
*/
boolean hasDl();
/**
* optional uint32 dl = 13;
+ * @return The dl.
*/
int getDl();
/**
* optional double odo = 14;
+ * @return Whether the odo field is set.
*/
boolean hasOdo();
/**
* optional double odo = 14;
+ * @return The odo.
*/
double getOdo();
/**
* optional uint32 drst = 15;
+ * @return Whether the drst field is set.
*/
boolean hasDrst();
/**
* optional uint32 drst = 15;
+ * @return The drst.
*/
int getDrst();
/**
* optional string oday = 16;
+ * @return Whether the oday field is set.
*/
boolean hasOday();
/**
* optional string oday = 16;
+ * @return The oday.
*/
java.lang.String getOday();
/**
* optional string oday = 16;
+ * @return The bytes for oday.
*/
com.google.protobuf.ByteString
getOdayBytes();
/**
* optional int32 jrn = 17;
+ * @return Whether the jrn field is set.
*/
boolean hasJrn();
/**
* optional int32 jrn = 17;
+ * @return The jrn.
*/
int getJrn();
/**
* optional int32 line = 18;
+ * @return Whether the line field is set.
*/
boolean hasLine();
/**
* optional int32 line = 18;
+ * @return The line.
*/
int getLine();
/**
* optional string start = 19;
+ * @return Whether the start field is set.
*/
boolean hasStart();
/**
* optional string start = 19;
+ * @return The start.
*/
java.lang.String getStart();
/**
* optional string start = 19;
+ * @return The bytes for start.
*/
com.google.protobuf.ByteString
getStartBytes();
@@ -4474,6 +4928,7 @@ public interface PayloadOrBuilder extends
*
*
* optional .proto.Payload.LocationQualityMethod loc = 20;
+ * @return Whether the loc field is set.
*/
boolean hasLoc();
/**
@@ -4482,6 +4937,7 @@ public interface PayloadOrBuilder extends
*
*
* optional .proto.Payload.LocationQualityMethod loc = 20;
+ * @return The loc.
*/
fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod getLoc();
@@ -4491,6 +4947,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 stop = 21;
+ * @return Whether the stop field is set.
*/
boolean hasStop();
/**
@@ -4499,6 +4956,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 stop = 21;
+ * @return The stop.
*/
int getStop();
@@ -4508,6 +4966,7 @@ public interface PayloadOrBuilder extends
*
*
* optional string route = 22;
+ * @return Whether the route field is set.
*/
boolean hasRoute();
/**
@@ -4516,6 +4975,7 @@ public interface PayloadOrBuilder extends
*
*
* optional string route = 22;
+ * @return The route.
*/
java.lang.String getRoute();
/**
@@ -4524,6 +4984,7 @@ public interface PayloadOrBuilder extends
*
*
* optional string route = 22;
+ * @return The bytes for route.
*/
com.google.protobuf.ByteString
getRouteBytes();
@@ -4534,6 +4995,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 occu = 23;
+ * @return Whether the occu field is set.
*/
boolean hasOccu();
/**
@@ -4542,52 +5004,63 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 occu = 23;
+ * @return The occu.
*/
int getOccu();
/**
* optional int32 seq = 24;
+ * @return Whether the seq field is set.
*/
boolean hasSeq();
/**
* optional int32 seq = 24;
+ * @return The seq.
*/
int getSeq();
/**
* optional string ttarr = 25;
+ * @return Whether the ttarr field is set.
*/
boolean hasTtarr();
/**
* optional string ttarr = 25;
+ * @return The ttarr.
*/
java.lang.String getTtarr();
/**
* optional string ttarr = 25;
+ * @return The bytes for ttarr.
*/
com.google.protobuf.ByteString
getTtarrBytes();
/**
* optional string ttdep = 26;
+ * @return Whether the ttdep field is set.
*/
boolean hasTtdep();
/**
* optional string ttdep = 26;
+ * @return The ttdep.
*/
java.lang.String getTtdep();
/**
* optional string ttdep = 26;
+ * @return The bytes for ttdep.
*/
com.google.protobuf.ByteString
getTtdepBytes();
/**
* optional int32 dr_type = 27;
+ * @return Whether the drType field is set.
*/
boolean hasDrType();
/**
* optional int32 dr_type = 27;
+ * @return The drType.
*/
int getDrType();
@@ -4597,6 +5070,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 tlp_requestid = 28;
+ * @return Whether the tlpRequestid field is set.
*/
boolean hasTlpRequestid();
/**
@@ -4605,6 +5079,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 tlp_requestid = 28;
+ * @return The tlpRequestid.
*/
int getTlpRequestid();
@@ -4614,6 +5089,7 @@ public interface PayloadOrBuilder extends
*
*
* optional .proto.Payload.TlpRequestType tlp_requesttype = 29;
+ * @return Whether the tlpRequesttype field is set.
*/
boolean hasTlpRequesttype();
/**
@@ -4622,6 +5098,7 @@ public interface PayloadOrBuilder extends
*
*
* optional .proto.Payload.TlpRequestType tlp_requesttype = 29;
+ * @return The tlpRequesttype.
*/
fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType getTlpRequesttype();
@@ -4631,6 +5108,7 @@ public interface PayloadOrBuilder extends
*
*
* optional .proto.Payload.TlpPriorityLevel tlp_prioritylevel = 30;
+ * @return Whether the tlpPrioritylevel field is set.
*/
boolean hasTlpPrioritylevel();
/**
@@ -4639,6 +5117,7 @@ public interface PayloadOrBuilder extends
*
*
* optional .proto.Payload.TlpPriorityLevel tlp_prioritylevel = 30;
+ * @return The tlpPrioritylevel.
*/
fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel getTlpPrioritylevel();
@@ -4648,6 +5127,7 @@ public interface PayloadOrBuilder extends
*
*
* optional .proto.Payload.TlpReason tlp_reason = 31;
+ * @return Whether the tlpReason field is set.
*/
boolean hasTlpReason();
/**
@@ -4656,6 +5136,7 @@ public interface PayloadOrBuilder extends
*
*
* optional .proto.Payload.TlpReason tlp_reason = 31;
+ * @return The tlpReason.
*/
fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason getTlpReason();
@@ -4665,6 +5146,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 tlp_att_seq = 32;
+ * @return Whether the tlpAttSeq field is set.
*/
boolean hasTlpAttSeq();
/**
@@ -4673,6 +5155,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 tlp_att_seq = 32;
+ * @return The tlpAttSeq.
*/
int getTlpAttSeq();
@@ -4682,6 +5165,7 @@ public interface PayloadOrBuilder extends
*
*
* optional .proto.Payload.TlpDecision tlp_decision = 33;
+ * @return Whether the tlpDecision field is set.
*/
boolean hasTlpDecision();
/**
@@ -4690,6 +5174,7 @@ public interface PayloadOrBuilder extends
*
*
* optional .proto.Payload.TlpDecision tlp_decision = 33;
+ * @return The tlpDecision.
*/
fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision getTlpDecision();
@@ -4699,6 +5184,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 sid = 34;
+ * @return Whether the sid field is set.
*/
boolean hasSid();
/**
@@ -4707,6 +5193,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 sid = 34;
+ * @return The sid.
*/
int getSid();
@@ -4716,6 +5203,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 signal_groupid = 35;
+ * @return Whether the signalGroupid field is set.
*/
boolean hasSignalGroupid();
/**
@@ -4724,6 +5212,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 signal_groupid = 35;
+ * @return The signalGroupid.
*/
int getSignalGroupid();
@@ -4733,6 +5222,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 tlp_signalgroupnbr = 36;
+ * @return Whether the tlpSignalgroupnbr field is set.
*/
boolean hasTlpSignalgroupnbr();
/**
@@ -4741,6 +5231,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 tlp_signalgroupnbr = 36;
+ * @return The tlpSignalgroupnbr.
*/
int getTlpSignalgroupnbr();
@@ -4750,6 +5241,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 tlp_line_configid = 38;
+ * @return Whether the tlpLineConfigid field is set.
*/
boolean hasTlpLineConfigid();
/**
@@ -4758,6 +5250,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 tlp_line_configid = 38;
+ * @return The tlpLineConfigid.
*/
int getTlpLineConfigid();
@@ -4767,6 +5260,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 tlp_point_configid = 39;
+ * @return Whether the tlpPointConfigid field is set.
*/
boolean hasTlpPointConfigid();
/**
@@ -4775,6 +5269,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 tlp_point_configid = 39;
+ * @return The tlpPointConfigid.
*/
int getTlpPointConfigid();
@@ -4784,6 +5279,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 tlp_frequency = 40;
+ * @return Whether the tlpFrequency field is set.
*/
boolean hasTlpFrequency();
/**
@@ -4792,6 +5288,7 @@ public interface PayloadOrBuilder extends
*
*
* optional int32 tlp_frequency = 40;
+ * @return The tlpFrequency.
*/
int getTlpFrequency();
@@ -4801,6 +5298,7 @@ public interface PayloadOrBuilder extends
*
*
* optional string tlp_protocol = 41;
+ * @return Whether the tlpProtocol field is set.
*/
boolean hasTlpProtocol();
/**
@@ -4809,6 +5307,7 @@ public interface PayloadOrBuilder extends
*
*
* optional string tlp_protocol = 41;
+ * @return The tlpProtocol.
*/
java.lang.String getTlpProtocol();
/**
@@ -4817,20 +5316,24 @@ public interface PayloadOrBuilder extends
*
*
* optional string tlp_protocol = 41;
+ * @return The bytes for tlpProtocol.
*/
com.google.protobuf.ByteString
getTlpProtocolBytes();
/**
* optional string label = 42;
+ * @return Whether the label field is set.
*/
boolean hasLabel();
/**
* optional string label = 42;
+ * @return The label.
*/
java.lang.String getLabel();
/**
* optional string label = 42;
+ * @return The bytes for label.
*/
com.google.protobuf.ByteString
getLabelBytes();
@@ -4838,10 +5341,11 @@ public interface PayloadOrBuilder extends
/**
* Protobuf type {@code proto.Payload}
*/
- public static final class Payload extends
+ public static final class Payload extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.Payload)
PayloadOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use Payload.newBuilder() to construct.
private Payload(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -4850,46 +5354,28 @@ private Payload() {
schemaVersion_ = 1;
desi_ = "";
dir_ = "";
- oper_ = 0;
- veh_ = 0;
tst_ = "";
- tsi_ = 0L;
- spd_ = 0D;
- hdg_ = 0;
- lat_ = 0D;
- long_ = 0D;
- acc_ = 0D;
- dl_ = 0;
- odo_ = 0D;
- drst_ = 0;
oday_ = "";
- jrn_ = 0;
- line_ = 0;
start_ = "";
loc_ = 0;
- stop_ = 0;
route_ = "";
- occu_ = 0;
- seq_ = 0;
ttarr_ = "";
ttdep_ = "";
- drType_ = 0;
- tlpRequestid_ = 0;
tlpRequesttype_ = 0;
tlpPrioritylevel_ = 0;
tlpReason_ = 0;
- tlpAttSeq_ = 0;
tlpDecision_ = 0;
- sid_ = 0;
- signalGroupid_ = 0;
- tlpSignalgroupnbr_ = 0;
- tlpLineConfigid_ = 0;
- tlpPointConfigid_ = 0;
- tlpFrequency_ = 0;
tlpProtocol_ = "";
label_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new Payload();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
@@ -4900,6 +5386,9 @@ private Payload(
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
int mutable_bitField0_ = 0;
int mutable_bitField1_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
@@ -4912,13 +5401,6 @@ private Payload(
case 0:
done = true;
break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
case 8: {
bitField0_ |= 0x00000001;
schemaVersion_ = input.readInt32();
@@ -5021,6 +5503,7 @@ private Payload(
}
case 160: {
int rawValue = input.readEnum();
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod value = fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(20, rawValue);
@@ -5075,6 +5558,7 @@ private Payload(
}
case 232: {
int rawValue = input.readEnum();
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType value = fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(29, rawValue);
@@ -5086,6 +5570,7 @@ private Payload(
}
case 240: {
int rawValue = input.readEnum();
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel value = fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(30, rawValue);
@@ -5097,6 +5582,7 @@ private Payload(
}
case 248: {
int rawValue = input.readEnum();
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason value = fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(31, rawValue);
@@ -5113,6 +5599,7 @@ private Payload(
}
case 264: {
int rawValue = input.readEnum();
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision value = fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(33, rawValue);
@@ -5164,6 +5651,13 @@ private Payload(
label_ = bs;
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5181,6 +5675,7 @@ private Payload(
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Payload_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Payload_fieldAccessorTable
@@ -5234,6 +5729,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -5241,6 +5738,10 @@ public static LocationQualityMethod valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static LocationQualityMethod forNumber(int value) {
switch (value) {
case 0: return GPS;
@@ -5342,6 +5843,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -5349,6 +5852,10 @@ public static TlpRequestType valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static TlpRequestType forNumber(int value) {
switch (value) {
case 0: return NORMAL;
@@ -5442,6 +5949,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -5449,6 +5958,10 @@ public static TlpPriorityLevel valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static TlpPriorityLevel forNumber(int value) {
switch (value) {
case 0: return normal;
@@ -5549,6 +6062,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -5556,6 +6071,10 @@ public static TlpReason valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static TlpReason forNumber(int value) {
switch (value) {
case 0: return GLOBAL;
@@ -5641,6 +6160,8 @@ public final int getNumber() {
}
/**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
@@ -5648,6 +6169,10 @@ public static TlpDecision valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static TlpDecision forNumber(int value) {
switch (value) {
case 0: return ACK;
@@ -5707,13 +6232,17 @@ private TlpDecision(int value) {
private int schemaVersion_;
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
+ @java.lang.Override
public boolean hasSchemaVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
+ @java.lang.Override
public int getSchemaVersion() {
return schemaVersion_;
}
@@ -5722,13 +6251,17 @@ public int getSchemaVersion() {
private volatile java.lang.Object desi_;
/**
* optional string desi = 2;
+ * @return Whether the desi field is set.
*/
+ @java.lang.Override
public boolean hasDesi() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string desi = 2;
+ * @return The desi.
*/
+ @java.lang.Override
public java.lang.String getDesi() {
java.lang.Object ref = desi_;
if (ref instanceof java.lang.String) {
@@ -5745,7 +6278,9 @@ public java.lang.String getDesi() {
}
/**
* optional string desi = 2;
+ * @return The bytes for desi.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getDesiBytes() {
java.lang.Object ref = desi_;
@@ -5764,13 +6299,17 @@ public java.lang.String getDesi() {
private volatile java.lang.Object dir_;
/**
* optional string dir = 3;
+ * @return Whether the dir field is set.
*/
+ @java.lang.Override
public boolean hasDir() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string dir = 3;
+ * @return The dir.
*/
+ @java.lang.Override
public java.lang.String getDir() {
java.lang.Object ref = dir_;
if (ref instanceof java.lang.String) {
@@ -5787,7 +6326,9 @@ public java.lang.String getDir() {
}
/**
* optional string dir = 3;
+ * @return The bytes for dir.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getDirBytes() {
java.lang.Object ref = dir_;
@@ -5806,13 +6347,17 @@ public java.lang.String getDir() {
private int oper_;
/**
* optional int32 oper = 4;
+ * @return Whether the oper field is set.
*/
+ @java.lang.Override
public boolean hasOper() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int32 oper = 4;
+ * @return The oper.
*/
+ @java.lang.Override
public int getOper() {
return oper_;
}
@@ -5821,13 +6366,17 @@ public int getOper() {
private int veh_;
/**
* optional int32 veh = 5;
+ * @return Whether the veh field is set.
*/
+ @java.lang.Override
public boolean hasVeh() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional int32 veh = 5;
+ * @return The veh.
*/
+ @java.lang.Override
public int getVeh() {
return veh_;
}
@@ -5836,13 +6385,17 @@ public int getVeh() {
private volatile java.lang.Object tst_;
/**
* required string tst = 6;
+ * @return Whether the tst field is set.
*/
+ @java.lang.Override
public boolean hasTst() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
* required string tst = 6;
+ * @return The tst.
*/
+ @java.lang.Override
public java.lang.String getTst() {
java.lang.Object ref = tst_;
if (ref instanceof java.lang.String) {
@@ -5859,7 +6412,9 @@ public java.lang.String getTst() {
}
/**
* required string tst = 6;
+ * @return The bytes for tst.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getTstBytes() {
java.lang.Object ref = tst_;
@@ -5878,13 +6433,17 @@ public java.lang.String getTst() {
private long tsi_;
/**
* required int64 tsi = 7;
+ * @return Whether the tsi field is set.
*/
+ @java.lang.Override
public boolean hasTsi() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
* required int64 tsi = 7;
+ * @return The tsi.
*/
+ @java.lang.Override
public long getTsi() {
return tsi_;
}
@@ -5893,13 +6452,17 @@ public long getTsi() {
private double spd_;
/**
* optional double spd = 8;
+ * @return Whether the spd field is set.
*/
+ @java.lang.Override
public boolean hasSpd() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional double spd = 8;
+ * @return The spd.
*/
+ @java.lang.Override
public double getSpd() {
return spd_;
}
@@ -5908,13 +6471,17 @@ public double getSpd() {
private int hdg_;
/**
* optional int32 hdg = 9;
+ * @return Whether the hdg field is set.
*/
+ @java.lang.Override
public boolean hasHdg() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional int32 hdg = 9;
+ * @return The hdg.
*/
+ @java.lang.Override
public int getHdg() {
return hdg_;
}
@@ -5923,13 +6490,17 @@ public int getHdg() {
private double lat_;
/**
* optional double lat = 10;
+ * @return Whether the lat field is set.
*/
+ @java.lang.Override
public boolean hasLat() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional double lat = 10;
+ * @return The lat.
*/
+ @java.lang.Override
public double getLat() {
return lat_;
}
@@ -5938,13 +6509,17 @@ public double getLat() {
private double long_;
/**
* optional double long = 11;
+ * @return Whether the long field is set.
*/
+ @java.lang.Override
public boolean hasLong() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional double long = 11;
+ * @return The long.
*/
+ @java.lang.Override
public double getLong() {
return long_;
}
@@ -5953,13 +6528,17 @@ public double getLong() {
private double acc_;
/**
* optional double acc = 12;
+ * @return Whether the acc field is set.
*/
+ @java.lang.Override
public boolean hasAcc() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional double acc = 12;
+ * @return The acc.
*/
+ @java.lang.Override
public double getAcc() {
return acc_;
}
@@ -5968,13 +6547,17 @@ public double getAcc() {
private int dl_;
/**
* optional uint32 dl = 13;
+ * @return Whether the dl field is set.
*/
+ @java.lang.Override
public boolean hasDl() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
+ return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional uint32 dl = 13;
+ * @return The dl.
*/
+ @java.lang.Override
public int getDl() {
return dl_;
}
@@ -5983,13 +6566,17 @@ public int getDl() {
private double odo_;
/**
* optional double odo = 14;
+ * @return Whether the odo field is set.
*/
+ @java.lang.Override
public boolean hasOdo() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional double odo = 14;
+ * @return The odo.
*/
+ @java.lang.Override
public double getOdo() {
return odo_;
}
@@ -5998,13 +6585,17 @@ public double getOdo() {
private int drst_;
/**
* optional uint32 drst = 15;
+ * @return Whether the drst field is set.
*/
+ @java.lang.Override
public boolean hasDrst() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
+ return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional uint32 drst = 15;
+ * @return The drst.
*/
+ @java.lang.Override
public int getDrst() {
return drst_;
}
@@ -6013,13 +6604,17 @@ public int getDrst() {
private volatile java.lang.Object oday_;
/**
* optional string oday = 16;
+ * @return Whether the oday field is set.
*/
+ @java.lang.Override
public boolean hasOday() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
+ return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional string oday = 16;
+ * @return The oday.
*/
+ @java.lang.Override
public java.lang.String getOday() {
java.lang.Object ref = oday_;
if (ref instanceof java.lang.String) {
@@ -6036,7 +6631,9 @@ public java.lang.String getOday() {
}
/**
* optional string oday = 16;
+ * @return The bytes for oday.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getOdayBytes() {
java.lang.Object ref = oday_;
@@ -6055,13 +6652,17 @@ public java.lang.String getOday() {
private int jrn_;
/**
* optional int32 jrn = 17;
+ * @return Whether the jrn field is set.
*/
+ @java.lang.Override
public boolean hasJrn() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
+ return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional int32 jrn = 17;
+ * @return The jrn.
*/
+ @java.lang.Override
public int getJrn() {
return jrn_;
}
@@ -6070,13 +6671,17 @@ public int getJrn() {
private int line_;
/**
* optional int32 line = 18;
+ * @return Whether the line field is set.
*/
+ @java.lang.Override
public boolean hasLine() {
- return ((bitField0_ & 0x00020000) == 0x00020000);
+ return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional int32 line = 18;
+ * @return The line.
*/
+ @java.lang.Override
public int getLine() {
return line_;
}
@@ -6085,13 +6690,17 @@ public int getLine() {
private volatile java.lang.Object start_;
/**
* optional string start = 19;
+ * @return Whether the start field is set.
*/
+ @java.lang.Override
public boolean hasStart() {
- return ((bitField0_ & 0x00040000) == 0x00040000);
+ return ((bitField0_ & 0x00040000) != 0);
}
/**
* optional string start = 19;
+ * @return The start.
*/
+ @java.lang.Override
public java.lang.String getStart() {
java.lang.Object ref = start_;
if (ref instanceof java.lang.String) {
@@ -6108,7 +6717,9 @@ public java.lang.String getStart() {
}
/**
* optional string start = 19;
+ * @return The bytes for start.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStartBytes() {
java.lang.Object ref = start_;
@@ -6131,9 +6742,10 @@ public java.lang.String getStart() {
*
*
* optional .proto.Payload.LocationQualityMethod loc = 20;
+ * @return Whether the loc field is set.
*/
- public boolean hasLoc() {
- return ((bitField0_ & 0x00080000) == 0x00080000);
+ @java.lang.Override public boolean hasLoc() {
+ return ((bitField0_ & 0x00080000) != 0);
}
/**
*
@@ -6141,8 +6753,10 @@ public boolean hasLoc() {
*
*
* optional .proto.Payload.LocationQualityMethod loc = 20;
+ * @return The loc.
*/
- public fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod getLoc() {
+ @java.lang.Override public fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod getLoc() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod result = fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod.valueOf(loc_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod.GPS : result;
}
@@ -6155,9 +6769,11 @@ public fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod getLoc() {
*
*
* optional int32 stop = 21;
+ * @return Whether the stop field is set.
*/
+ @java.lang.Override
public boolean hasStop() {
- return ((bitField0_ & 0x00100000) == 0x00100000);
+ return ((bitField0_ & 0x00100000) != 0);
}
/**
*
@@ -6165,7 +6781,9 @@ public boolean hasStop() {
*
*
* optional int32 stop = 21;
+ * @return The stop.
*/
+ @java.lang.Override
public int getStop() {
return stop_;
}
@@ -6178,9 +6796,11 @@ public int getStop() {
*
*
* optional string route = 22;
+ * @return Whether the route field is set.
*/
+ @java.lang.Override
public boolean hasRoute() {
- return ((bitField0_ & 0x00200000) == 0x00200000);
+ return ((bitField0_ & 0x00200000) != 0);
}
/**
*
@@ -6188,7 +6808,9 @@ public boolean hasRoute() {
*
*
* optional string route = 22;
+ * @return The route.
*/
+ @java.lang.Override
public java.lang.String getRoute() {
java.lang.Object ref = route_;
if (ref instanceof java.lang.String) {
@@ -6209,7 +6831,9 @@ public java.lang.String getRoute() {
*
*
* optional string route = 22;
+ * @return The bytes for route.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getRouteBytes() {
java.lang.Object ref = route_;
@@ -6232,9 +6856,11 @@ public java.lang.String getRoute() {
*
*
* optional int32 occu = 23;
+ * @return Whether the occu field is set.
*/
+ @java.lang.Override
public boolean hasOccu() {
- return ((bitField0_ & 0x00400000) == 0x00400000);
+ return ((bitField0_ & 0x00400000) != 0);
}
/**
*
@@ -6242,7 +6868,9 @@ public boolean hasOccu() {
*
*
* optional int32 occu = 23;
+ * @return The occu.
*/
+ @java.lang.Override
public int getOccu() {
return occu_;
}
@@ -6251,13 +6879,17 @@ public int getOccu() {
private int seq_;
/**
* optional int32 seq = 24;
+ * @return Whether the seq field is set.
*/
+ @java.lang.Override
public boolean hasSeq() {
- return ((bitField0_ & 0x00800000) == 0x00800000);
+ return ((bitField0_ & 0x00800000) != 0);
}
/**
* optional int32 seq = 24;
+ * @return The seq.
*/
+ @java.lang.Override
public int getSeq() {
return seq_;
}
@@ -6266,13 +6898,17 @@ public int getSeq() {
private volatile java.lang.Object ttarr_;
/**
* optional string ttarr = 25;
+ * @return Whether the ttarr field is set.
*/
+ @java.lang.Override
public boolean hasTtarr() {
- return ((bitField0_ & 0x01000000) == 0x01000000);
+ return ((bitField0_ & 0x01000000) != 0);
}
/**
* optional string ttarr = 25;
+ * @return The ttarr.
*/
+ @java.lang.Override
public java.lang.String getTtarr() {
java.lang.Object ref = ttarr_;
if (ref instanceof java.lang.String) {
@@ -6289,7 +6925,9 @@ public java.lang.String getTtarr() {
}
/**
* optional string ttarr = 25;
+ * @return The bytes for ttarr.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getTtarrBytes() {
java.lang.Object ref = ttarr_;
@@ -6308,13 +6946,17 @@ public java.lang.String getTtarr() {
private volatile java.lang.Object ttdep_;
/**
* optional string ttdep = 26;
+ * @return Whether the ttdep field is set.
*/
+ @java.lang.Override
public boolean hasTtdep() {
- return ((bitField0_ & 0x02000000) == 0x02000000);
+ return ((bitField0_ & 0x02000000) != 0);
}
/**
* optional string ttdep = 26;
+ * @return The ttdep.
*/
+ @java.lang.Override
public java.lang.String getTtdep() {
java.lang.Object ref = ttdep_;
if (ref instanceof java.lang.String) {
@@ -6331,7 +6973,9 @@ public java.lang.String getTtdep() {
}
/**
* optional string ttdep = 26;
+ * @return The bytes for ttdep.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getTtdepBytes() {
java.lang.Object ref = ttdep_;
@@ -6350,13 +6994,17 @@ public java.lang.String getTtdep() {
private int drType_;
/**
* optional int32 dr_type = 27;
+ * @return Whether the drType field is set.
*/
+ @java.lang.Override
public boolean hasDrType() {
- return ((bitField0_ & 0x04000000) == 0x04000000);
+ return ((bitField0_ & 0x04000000) != 0);
}
/**
* optional int32 dr_type = 27;
+ * @return The drType.
*/
+ @java.lang.Override
public int getDrType() {
return drType_;
}
@@ -6369,9 +7017,11 @@ public int getDrType() {
*
*
* optional int32 tlp_requestid = 28;
+ * @return Whether the tlpRequestid field is set.
*/
+ @java.lang.Override
public boolean hasTlpRequestid() {
- return ((bitField0_ & 0x08000000) == 0x08000000);
+ return ((bitField0_ & 0x08000000) != 0);
}
/**
*
@@ -6379,7 +7029,9 @@ public boolean hasTlpRequestid() {
*
*
* optional int32 tlp_requestid = 28;
+ * @return The tlpRequestid.
*/
+ @java.lang.Override
public int getTlpRequestid() {
return tlpRequestid_;
}
@@ -6392,9 +7044,10 @@ public int getTlpRequestid() {
*
*
* optional .proto.Payload.TlpRequestType tlp_requesttype = 29;
+ * @return Whether the tlpRequesttype field is set.
*/
- public boolean hasTlpRequesttype() {
- return ((bitField0_ & 0x10000000) == 0x10000000);
+ @java.lang.Override public boolean hasTlpRequesttype() {
+ return ((bitField0_ & 0x10000000) != 0);
}
/**
*
@@ -6402,8 +7055,10 @@ public boolean hasTlpRequesttype() {
*
*
* optional .proto.Payload.TlpRequestType tlp_requesttype = 29;
+ * @return The tlpRequesttype.
*/
- public fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType getTlpRequesttype() {
+ @java.lang.Override public fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType getTlpRequesttype() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType result = fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType.valueOf(tlpRequesttype_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType.NORMAL : result;
}
@@ -6416,9 +7071,10 @@ public fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType getTlpRequesttype() {
*
*
* optional .proto.Payload.TlpPriorityLevel tlp_prioritylevel = 30;
+ * @return Whether the tlpPrioritylevel field is set.
*/
- public boolean hasTlpPrioritylevel() {
- return ((bitField0_ & 0x20000000) == 0x20000000);
+ @java.lang.Override public boolean hasTlpPrioritylevel() {
+ return ((bitField0_ & 0x20000000) != 0);
}
/**
*
@@ -6426,8 +7082,10 @@ public boolean hasTlpPrioritylevel() {
*
*
* optional .proto.Payload.TlpPriorityLevel tlp_prioritylevel = 30;
+ * @return The tlpPrioritylevel.
*/
- public fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel getTlpPrioritylevel() {
+ @java.lang.Override public fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel getTlpPrioritylevel() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel result = fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel.valueOf(tlpPrioritylevel_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel.normal : result;
}
@@ -6440,9 +7098,10 @@ public fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel getTlpPrioritylevel(
*
*
* optional .proto.Payload.TlpReason tlp_reason = 31;
+ * @return Whether the tlpReason field is set.
*/
- public boolean hasTlpReason() {
- return ((bitField0_ & 0x40000000) == 0x40000000);
+ @java.lang.Override public boolean hasTlpReason() {
+ return ((bitField0_ & 0x40000000) != 0);
}
/**
*
@@ -6450,8 +7109,10 @@ public boolean hasTlpReason() {
*
*
* optional .proto.Payload.TlpReason tlp_reason = 31;
+ * @return The tlpReason.
*/
- public fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason getTlpReason() {
+ @java.lang.Override public fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason getTlpReason() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason result = fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason.valueOf(tlpReason_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason.GLOBAL : result;
}
@@ -6464,9 +7125,11 @@ public fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason getTlpReason() {
*
*
* optional int32 tlp_att_seq = 32;
+ * @return Whether the tlpAttSeq field is set.
*/
+ @java.lang.Override
public boolean hasTlpAttSeq() {
- return ((bitField0_ & 0x80000000) == 0x80000000);
+ return ((bitField0_ & 0x80000000) != 0);
}
/**
*
@@ -6474,7 +7137,9 @@ public boolean hasTlpAttSeq() {
*
*
* optional int32 tlp_att_seq = 32;
+ * @return The tlpAttSeq.
*/
+ @java.lang.Override
public int getTlpAttSeq() {
return tlpAttSeq_;
}
@@ -6487,9 +7152,10 @@ public int getTlpAttSeq() {
*
*
* optional .proto.Payload.TlpDecision tlp_decision = 33;
+ * @return Whether the tlpDecision field is set.
*/
- public boolean hasTlpDecision() {
- return ((bitField1_ & 0x00000001) == 0x00000001);
+ @java.lang.Override public boolean hasTlpDecision() {
+ return ((bitField1_ & 0x00000001) != 0);
}
/**
*
@@ -6497,8 +7163,10 @@ public boolean hasTlpDecision() {
*
*
* optional .proto.Payload.TlpDecision tlp_decision = 33;
+ * @return The tlpDecision.
*/
- public fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision getTlpDecision() {
+ @java.lang.Override public fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision getTlpDecision() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision result = fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision.valueOf(tlpDecision_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision.ACK : result;
}
@@ -6511,9 +7179,11 @@ public fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision getTlpDecision() {
*
*
* optional int32 sid = 34;
+ * @return Whether the sid field is set.
*/
+ @java.lang.Override
public boolean hasSid() {
- return ((bitField1_ & 0x00000002) == 0x00000002);
+ return ((bitField1_ & 0x00000002) != 0);
}
/**
*
@@ -6521,7 +7191,9 @@ public boolean hasSid() {
*
*
* optional int32 sid = 34;
+ * @return The sid.
*/
+ @java.lang.Override
public int getSid() {
return sid_;
}
@@ -6534,9 +7206,11 @@ public int getSid() {
*
*
* optional int32 signal_groupid = 35;
+ * @return Whether the signalGroupid field is set.
*/
+ @java.lang.Override
public boolean hasSignalGroupid() {
- return ((bitField1_ & 0x00000004) == 0x00000004);
+ return ((bitField1_ & 0x00000004) != 0);
}
/**
*
@@ -6544,7 +7218,9 @@ public boolean hasSignalGroupid() {
*
*
* optional int32 signal_groupid = 35;
+ * @return The signalGroupid.
*/
+ @java.lang.Override
public int getSignalGroupid() {
return signalGroupid_;
}
@@ -6557,9 +7233,11 @@ public int getSignalGroupid() {
*
*
* optional int32 tlp_signalgroupnbr = 36;
+ * @return Whether the tlpSignalgroupnbr field is set.
*/
+ @java.lang.Override
public boolean hasTlpSignalgroupnbr() {
- return ((bitField1_ & 0x00000008) == 0x00000008);
+ return ((bitField1_ & 0x00000008) != 0);
}
/**
*
@@ -6567,7 +7245,9 @@ public boolean hasTlpSignalgroupnbr() {
*
*
* optional int32 tlp_signalgroupnbr = 36;
+ * @return The tlpSignalgroupnbr.
*/
+ @java.lang.Override
public int getTlpSignalgroupnbr() {
return tlpSignalgroupnbr_;
}
@@ -6580,9 +7260,11 @@ public int getTlpSignalgroupnbr() {
*
*
* optional int32 tlp_line_configid = 38;
+ * @return Whether the tlpLineConfigid field is set.
*/
+ @java.lang.Override
public boolean hasTlpLineConfigid() {
- return ((bitField1_ & 0x00000010) == 0x00000010);
+ return ((bitField1_ & 0x00000010) != 0);
}
/**
*
@@ -6590,7 +7272,9 @@ public boolean hasTlpLineConfigid() {
*
*
* optional int32 tlp_line_configid = 38;
+ * @return The tlpLineConfigid.
*/
+ @java.lang.Override
public int getTlpLineConfigid() {
return tlpLineConfigid_;
}
@@ -6603,9 +7287,11 @@ public int getTlpLineConfigid() {
*
*
* optional int32 tlp_point_configid = 39;
+ * @return Whether the tlpPointConfigid field is set.
*/
+ @java.lang.Override
public boolean hasTlpPointConfigid() {
- return ((bitField1_ & 0x00000020) == 0x00000020);
+ return ((bitField1_ & 0x00000020) != 0);
}
/**
*
@@ -6613,7 +7299,9 @@ public boolean hasTlpPointConfigid() {
*
*
* optional int32 tlp_point_configid = 39;
+ * @return The tlpPointConfigid.
*/
+ @java.lang.Override
public int getTlpPointConfigid() {
return tlpPointConfigid_;
}
@@ -6626,9 +7314,11 @@ public int getTlpPointConfigid() {
*
*
* optional int32 tlp_frequency = 40;
+ * @return Whether the tlpFrequency field is set.
*/
+ @java.lang.Override
public boolean hasTlpFrequency() {
- return ((bitField1_ & 0x00000040) == 0x00000040);
+ return ((bitField1_ & 0x00000040) != 0);
}
/**
*
@@ -6636,7 +7326,9 @@ public boolean hasTlpFrequency() {
*
*
* optional int32 tlp_frequency = 40;
+ * @return The tlpFrequency.
*/
+ @java.lang.Override
public int getTlpFrequency() {
return tlpFrequency_;
}
@@ -6649,9 +7341,11 @@ public int getTlpFrequency() {
*
*
* optional string tlp_protocol = 41;
+ * @return Whether the tlpProtocol field is set.
*/
+ @java.lang.Override
public boolean hasTlpProtocol() {
- return ((bitField1_ & 0x00000080) == 0x00000080);
+ return ((bitField1_ & 0x00000080) != 0);
}
/**
*
@@ -6659,7 +7353,9 @@ public boolean hasTlpProtocol() {
*
*
* optional string tlp_protocol = 41;
+ * @return The tlpProtocol.
*/
+ @java.lang.Override
public java.lang.String getTlpProtocol() {
java.lang.Object ref = tlpProtocol_;
if (ref instanceof java.lang.String) {
@@ -6680,7 +7376,9 @@ public java.lang.String getTlpProtocol() {
*
*
* optional string tlp_protocol = 41;
+ * @return The bytes for tlpProtocol.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getTlpProtocolBytes() {
java.lang.Object ref = tlpProtocol_;
@@ -6699,13 +7397,17 @@ public java.lang.String getTlpProtocol() {
private volatile java.lang.Object label_;
/**
* optional string label = 42;
+ * @return Whether the label field is set.
*/
+ @java.lang.Override
public boolean hasLabel() {
- return ((bitField1_ & 0x00000100) == 0x00000100);
+ return ((bitField1_ & 0x00000100) != 0);
}
/**
* optional string label = 42;
+ * @return The label.
*/
+ @java.lang.Override
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
@@ -6722,7 +7424,9 @@ public java.lang.String getLabel() {
}
/**
* optional string label = 42;
+ * @return The bytes for label.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
@@ -6738,6 +7442,7 @@ public java.lang.String getLabel() {
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -6759,291 +7464,293 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(1, schemaVersion_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, desi_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dir_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt32(4, oper_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt32(5, veh_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, tst_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(7, tsi_);
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000080) != 0)) {
output.writeDouble(8, spd_);
}
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((bitField0_ & 0x00000100) != 0)) {
output.writeInt32(9, hdg_);
}
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((bitField0_ & 0x00000200) != 0)) {
output.writeDouble(10, lat_);
}
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
+ if (((bitField0_ & 0x00000400) != 0)) {
output.writeDouble(11, long_);
}
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
+ if (((bitField0_ & 0x00000800) != 0)) {
output.writeDouble(12, acc_);
}
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
+ if (((bitField0_ & 0x00001000) != 0)) {
output.writeUInt32(13, dl_);
}
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
+ if (((bitField0_ & 0x00002000) != 0)) {
output.writeDouble(14, odo_);
}
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
+ if (((bitField0_ & 0x00004000) != 0)) {
output.writeUInt32(15, drst_);
}
- if (((bitField0_ & 0x00008000) == 0x00008000)) {
+ if (((bitField0_ & 0x00008000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 16, oday_);
}
- if (((bitField0_ & 0x00010000) == 0x00010000)) {
+ if (((bitField0_ & 0x00010000) != 0)) {
output.writeInt32(17, jrn_);
}
- if (((bitField0_ & 0x00020000) == 0x00020000)) {
+ if (((bitField0_ & 0x00020000) != 0)) {
output.writeInt32(18, line_);
}
- if (((bitField0_ & 0x00040000) == 0x00040000)) {
+ if (((bitField0_ & 0x00040000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 19, start_);
}
- if (((bitField0_ & 0x00080000) == 0x00080000)) {
+ if (((bitField0_ & 0x00080000) != 0)) {
output.writeEnum(20, loc_);
}
- if (((bitField0_ & 0x00100000) == 0x00100000)) {
+ if (((bitField0_ & 0x00100000) != 0)) {
output.writeInt32(21, stop_);
}
- if (((bitField0_ & 0x00200000) == 0x00200000)) {
+ if (((bitField0_ & 0x00200000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 22, route_);
}
- if (((bitField0_ & 0x00400000) == 0x00400000)) {
+ if (((bitField0_ & 0x00400000) != 0)) {
output.writeInt32(23, occu_);
}
- if (((bitField0_ & 0x00800000) == 0x00800000)) {
+ if (((bitField0_ & 0x00800000) != 0)) {
output.writeInt32(24, seq_);
}
- if (((bitField0_ & 0x01000000) == 0x01000000)) {
+ if (((bitField0_ & 0x01000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 25, ttarr_);
}
- if (((bitField0_ & 0x02000000) == 0x02000000)) {
+ if (((bitField0_ & 0x02000000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 26, ttdep_);
}
- if (((bitField0_ & 0x04000000) == 0x04000000)) {
+ if (((bitField0_ & 0x04000000) != 0)) {
output.writeInt32(27, drType_);
}
- if (((bitField0_ & 0x08000000) == 0x08000000)) {
+ if (((bitField0_ & 0x08000000) != 0)) {
output.writeInt32(28, tlpRequestid_);
}
- if (((bitField0_ & 0x10000000) == 0x10000000)) {
+ if (((bitField0_ & 0x10000000) != 0)) {
output.writeEnum(29, tlpRequesttype_);
}
- if (((bitField0_ & 0x20000000) == 0x20000000)) {
+ if (((bitField0_ & 0x20000000) != 0)) {
output.writeEnum(30, tlpPrioritylevel_);
}
- if (((bitField0_ & 0x40000000) == 0x40000000)) {
+ if (((bitField0_ & 0x40000000) != 0)) {
output.writeEnum(31, tlpReason_);
}
- if (((bitField0_ & 0x80000000) == 0x80000000)) {
+ if (((bitField0_ & 0x80000000) != 0)) {
output.writeInt32(32, tlpAttSeq_);
}
- if (((bitField1_ & 0x00000001) == 0x00000001)) {
+ if (((bitField1_ & 0x00000001) != 0)) {
output.writeEnum(33, tlpDecision_);
}
- if (((bitField1_ & 0x00000002) == 0x00000002)) {
+ if (((bitField1_ & 0x00000002) != 0)) {
output.writeInt32(34, sid_);
}
- if (((bitField1_ & 0x00000004) == 0x00000004)) {
+ if (((bitField1_ & 0x00000004) != 0)) {
output.writeInt32(35, signalGroupid_);
}
- if (((bitField1_ & 0x00000008) == 0x00000008)) {
+ if (((bitField1_ & 0x00000008) != 0)) {
output.writeInt32(36, tlpSignalgroupnbr_);
}
- if (((bitField1_ & 0x00000010) == 0x00000010)) {
+ if (((bitField1_ & 0x00000010) != 0)) {
output.writeInt32(38, tlpLineConfigid_);
}
- if (((bitField1_ & 0x00000020) == 0x00000020)) {
+ if (((bitField1_ & 0x00000020) != 0)) {
output.writeInt32(39, tlpPointConfigid_);
}
- if (((bitField1_ & 0x00000040) == 0x00000040)) {
+ if (((bitField1_ & 0x00000040) != 0)) {
output.writeInt32(40, tlpFrequency_);
}
- if (((bitField1_ & 0x00000080) == 0x00000080)) {
+ if (((bitField1_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 41, tlpProtocol_);
}
- if (((bitField1_ & 0x00000100) == 0x00000100)) {
+ if (((bitField1_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 42, label_);
}
unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, schemaVersion_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, desi_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dir_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, oper_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, veh_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, tst_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, tsi_);
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(8, spd_);
}
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, hdg_);
}
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(10, lat_);
}
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
+ if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(11, long_);
}
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
+ if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(12, acc_);
}
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
+ if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(13, dl_);
}
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
+ if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(14, odo_);
}
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
+ if (((bitField0_ & 0x00004000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(15, drst_);
}
- if (((bitField0_ & 0x00008000) == 0x00008000)) {
+ if (((bitField0_ & 0x00008000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, oday_);
}
- if (((bitField0_ & 0x00010000) == 0x00010000)) {
+ if (((bitField0_ & 0x00010000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(17, jrn_);
}
- if (((bitField0_ & 0x00020000) == 0x00020000)) {
+ if (((bitField0_ & 0x00020000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(18, line_);
}
- if (((bitField0_ & 0x00040000) == 0x00040000)) {
+ if (((bitField0_ & 0x00040000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, start_);
}
- if (((bitField0_ & 0x00080000) == 0x00080000)) {
+ if (((bitField0_ & 0x00080000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(20, loc_);
}
- if (((bitField0_ & 0x00100000) == 0x00100000)) {
+ if (((bitField0_ & 0x00100000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(21, stop_);
}
- if (((bitField0_ & 0x00200000) == 0x00200000)) {
+ if (((bitField0_ & 0x00200000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, route_);
}
- if (((bitField0_ & 0x00400000) == 0x00400000)) {
+ if (((bitField0_ & 0x00400000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(23, occu_);
}
- if (((bitField0_ & 0x00800000) == 0x00800000)) {
+ if (((bitField0_ & 0x00800000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(24, seq_);
}
- if (((bitField0_ & 0x01000000) == 0x01000000)) {
+ if (((bitField0_ & 0x01000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, ttarr_);
}
- if (((bitField0_ & 0x02000000) == 0x02000000)) {
+ if (((bitField0_ & 0x02000000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, ttdep_);
}
- if (((bitField0_ & 0x04000000) == 0x04000000)) {
+ if (((bitField0_ & 0x04000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(27, drType_);
}
- if (((bitField0_ & 0x08000000) == 0x08000000)) {
+ if (((bitField0_ & 0x08000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(28, tlpRequestid_);
}
- if (((bitField0_ & 0x10000000) == 0x10000000)) {
+ if (((bitField0_ & 0x10000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(29, tlpRequesttype_);
}
- if (((bitField0_ & 0x20000000) == 0x20000000)) {
+ if (((bitField0_ & 0x20000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(30, tlpPrioritylevel_);
}
- if (((bitField0_ & 0x40000000) == 0x40000000)) {
+ if (((bitField0_ & 0x40000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(31, tlpReason_);
}
- if (((bitField0_ & 0x80000000) == 0x80000000)) {
+ if (((bitField0_ & 0x80000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(32, tlpAttSeq_);
}
- if (((bitField1_ & 0x00000001) == 0x00000001)) {
+ if (((bitField1_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(33, tlpDecision_);
}
- if (((bitField1_ & 0x00000002) == 0x00000002)) {
+ if (((bitField1_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(34, sid_);
}
- if (((bitField1_ & 0x00000004) == 0x00000004)) {
+ if (((bitField1_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(35, signalGroupid_);
}
- if (((bitField1_ & 0x00000008) == 0x00000008)) {
+ if (((bitField1_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(36, tlpSignalgroupnbr_);
}
- if (((bitField1_ & 0x00000010) == 0x00000010)) {
+ if (((bitField1_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(38, tlpLineConfigid_);
}
- if (((bitField1_ & 0x00000020) == 0x00000020)) {
+ if (((bitField1_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(39, tlpPointConfigid_);
}
- if (((bitField1_ & 0x00000040) == 0x00000040)) {
+ if (((bitField1_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(40, tlpFrequency_);
}
- if (((bitField1_ & 0x00000080) == 0x00000080)) {
+ if (((bitField1_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(41, tlpProtocol_);
}
- if (((bitField1_ & 0x00000100) == 0x00000100)) {
+ if (((bitField1_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(42, label_);
}
size += unknownFields.getSerializedSize();
@@ -7051,7 +7758,6 @@ public int getSerializedSize() {
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -7062,219 +7768,213 @@ public boolean equals(final java.lang.Object obj) {
}
fi.hsl.common.hfp.proto.Hfp.Payload other = (fi.hsl.common.hfp.proto.Hfp.Payload) obj;
- boolean result = true;
- result = result && (hasSchemaVersion() == other.hasSchemaVersion());
+ if (hasSchemaVersion() != other.hasSchemaVersion()) return false;
if (hasSchemaVersion()) {
- result = result && (getSchemaVersion()
- == other.getSchemaVersion());
+ if (getSchemaVersion()
+ != other.getSchemaVersion()) return false;
}
- result = result && (hasDesi() == other.hasDesi());
+ if (hasDesi() != other.hasDesi()) return false;
if (hasDesi()) {
- result = result && getDesi()
- .equals(other.getDesi());
+ if (!getDesi()
+ .equals(other.getDesi())) return false;
}
- result = result && (hasDir() == other.hasDir());
+ if (hasDir() != other.hasDir()) return false;
if (hasDir()) {
- result = result && getDir()
- .equals(other.getDir());
+ if (!getDir()
+ .equals(other.getDir())) return false;
}
- result = result && (hasOper() == other.hasOper());
+ if (hasOper() != other.hasOper()) return false;
if (hasOper()) {
- result = result && (getOper()
- == other.getOper());
+ if (getOper()
+ != other.getOper()) return false;
}
- result = result && (hasVeh() == other.hasVeh());
+ if (hasVeh() != other.hasVeh()) return false;
if (hasVeh()) {
- result = result && (getVeh()
- == other.getVeh());
+ if (getVeh()
+ != other.getVeh()) return false;
}
- result = result && (hasTst() == other.hasTst());
+ if (hasTst() != other.hasTst()) return false;
if (hasTst()) {
- result = result && getTst()
- .equals(other.getTst());
+ if (!getTst()
+ .equals(other.getTst())) return false;
}
- result = result && (hasTsi() == other.hasTsi());
+ if (hasTsi() != other.hasTsi()) return false;
if (hasTsi()) {
- result = result && (getTsi()
- == other.getTsi());
+ if (getTsi()
+ != other.getTsi()) return false;
}
- result = result && (hasSpd() == other.hasSpd());
+ if (hasSpd() != other.hasSpd()) return false;
if (hasSpd()) {
- result = result && (
- java.lang.Double.doubleToLongBits(getSpd())
- == java.lang.Double.doubleToLongBits(
- other.getSpd()));
+ if (java.lang.Double.doubleToLongBits(getSpd())
+ != java.lang.Double.doubleToLongBits(
+ other.getSpd())) return false;
}
- result = result && (hasHdg() == other.hasHdg());
+ if (hasHdg() != other.hasHdg()) return false;
if (hasHdg()) {
- result = result && (getHdg()
- == other.getHdg());
+ if (getHdg()
+ != other.getHdg()) return false;
}
- result = result && (hasLat() == other.hasLat());
+ if (hasLat() != other.hasLat()) return false;
if (hasLat()) {
- result = result && (
- java.lang.Double.doubleToLongBits(getLat())
- == java.lang.Double.doubleToLongBits(
- other.getLat()));
+ if (java.lang.Double.doubleToLongBits(getLat())
+ != java.lang.Double.doubleToLongBits(
+ other.getLat())) return false;
}
- result = result && (hasLong() == other.hasLong());
+ if (hasLong() != other.hasLong()) return false;
if (hasLong()) {
- result = result && (
- java.lang.Double.doubleToLongBits(getLong())
- == java.lang.Double.doubleToLongBits(
- other.getLong()));
+ if (java.lang.Double.doubleToLongBits(getLong())
+ != java.lang.Double.doubleToLongBits(
+ other.getLong())) return false;
}
- result = result && (hasAcc() == other.hasAcc());
+ if (hasAcc() != other.hasAcc()) return false;
if (hasAcc()) {
- result = result && (
- java.lang.Double.doubleToLongBits(getAcc())
- == java.lang.Double.doubleToLongBits(
- other.getAcc()));
+ if (java.lang.Double.doubleToLongBits(getAcc())
+ != java.lang.Double.doubleToLongBits(
+ other.getAcc())) return false;
}
- result = result && (hasDl() == other.hasDl());
+ if (hasDl() != other.hasDl()) return false;
if (hasDl()) {
- result = result && (getDl()
- == other.getDl());
+ if (getDl()
+ != other.getDl()) return false;
}
- result = result && (hasOdo() == other.hasOdo());
+ if (hasOdo() != other.hasOdo()) return false;
if (hasOdo()) {
- result = result && (
- java.lang.Double.doubleToLongBits(getOdo())
- == java.lang.Double.doubleToLongBits(
- other.getOdo()));
+ if (java.lang.Double.doubleToLongBits(getOdo())
+ != java.lang.Double.doubleToLongBits(
+ other.getOdo())) return false;
}
- result = result && (hasDrst() == other.hasDrst());
+ if (hasDrst() != other.hasDrst()) return false;
if (hasDrst()) {
- result = result && (getDrst()
- == other.getDrst());
+ if (getDrst()
+ != other.getDrst()) return false;
}
- result = result && (hasOday() == other.hasOday());
+ if (hasOday() != other.hasOday()) return false;
if (hasOday()) {
- result = result && getOday()
- .equals(other.getOday());
+ if (!getOday()
+ .equals(other.getOday())) return false;
}
- result = result && (hasJrn() == other.hasJrn());
+ if (hasJrn() != other.hasJrn()) return false;
if (hasJrn()) {
- result = result && (getJrn()
- == other.getJrn());
+ if (getJrn()
+ != other.getJrn()) return false;
}
- result = result && (hasLine() == other.hasLine());
+ if (hasLine() != other.hasLine()) return false;
if (hasLine()) {
- result = result && (getLine()
- == other.getLine());
+ if (getLine()
+ != other.getLine()) return false;
}
- result = result && (hasStart() == other.hasStart());
+ if (hasStart() != other.hasStart()) return false;
if (hasStart()) {
- result = result && getStart()
- .equals(other.getStart());
+ if (!getStart()
+ .equals(other.getStart())) return false;
}
- result = result && (hasLoc() == other.hasLoc());
+ if (hasLoc() != other.hasLoc()) return false;
if (hasLoc()) {
- result = result && loc_ == other.loc_;
+ if (loc_ != other.loc_) return false;
}
- result = result && (hasStop() == other.hasStop());
+ if (hasStop() != other.hasStop()) return false;
if (hasStop()) {
- result = result && (getStop()
- == other.getStop());
+ if (getStop()
+ != other.getStop()) return false;
}
- result = result && (hasRoute() == other.hasRoute());
+ if (hasRoute() != other.hasRoute()) return false;
if (hasRoute()) {
- result = result && getRoute()
- .equals(other.getRoute());
+ if (!getRoute()
+ .equals(other.getRoute())) return false;
}
- result = result && (hasOccu() == other.hasOccu());
+ if (hasOccu() != other.hasOccu()) return false;
if (hasOccu()) {
- result = result && (getOccu()
- == other.getOccu());
+ if (getOccu()
+ != other.getOccu()) return false;
}
- result = result && (hasSeq() == other.hasSeq());
+ if (hasSeq() != other.hasSeq()) return false;
if (hasSeq()) {
- result = result && (getSeq()
- == other.getSeq());
+ if (getSeq()
+ != other.getSeq()) return false;
}
- result = result && (hasTtarr() == other.hasTtarr());
+ if (hasTtarr() != other.hasTtarr()) return false;
if (hasTtarr()) {
- result = result && getTtarr()
- .equals(other.getTtarr());
+ if (!getTtarr()
+ .equals(other.getTtarr())) return false;
}
- result = result && (hasTtdep() == other.hasTtdep());
+ if (hasTtdep() != other.hasTtdep()) return false;
if (hasTtdep()) {
- result = result && getTtdep()
- .equals(other.getTtdep());
+ if (!getTtdep()
+ .equals(other.getTtdep())) return false;
}
- result = result && (hasDrType() == other.hasDrType());
+ if (hasDrType() != other.hasDrType()) return false;
if (hasDrType()) {
- result = result && (getDrType()
- == other.getDrType());
+ if (getDrType()
+ != other.getDrType()) return false;
}
- result = result && (hasTlpRequestid() == other.hasTlpRequestid());
+ if (hasTlpRequestid() != other.hasTlpRequestid()) return false;
if (hasTlpRequestid()) {
- result = result && (getTlpRequestid()
- == other.getTlpRequestid());
+ if (getTlpRequestid()
+ != other.getTlpRequestid()) return false;
}
- result = result && (hasTlpRequesttype() == other.hasTlpRequesttype());
+ if (hasTlpRequesttype() != other.hasTlpRequesttype()) return false;
if (hasTlpRequesttype()) {
- result = result && tlpRequesttype_ == other.tlpRequesttype_;
+ if (tlpRequesttype_ != other.tlpRequesttype_) return false;
}
- result = result && (hasTlpPrioritylevel() == other.hasTlpPrioritylevel());
+ if (hasTlpPrioritylevel() != other.hasTlpPrioritylevel()) return false;
if (hasTlpPrioritylevel()) {
- result = result && tlpPrioritylevel_ == other.tlpPrioritylevel_;
+ if (tlpPrioritylevel_ != other.tlpPrioritylevel_) return false;
}
- result = result && (hasTlpReason() == other.hasTlpReason());
+ if (hasTlpReason() != other.hasTlpReason()) return false;
if (hasTlpReason()) {
- result = result && tlpReason_ == other.tlpReason_;
+ if (tlpReason_ != other.tlpReason_) return false;
}
- result = result && (hasTlpAttSeq() == other.hasTlpAttSeq());
+ if (hasTlpAttSeq() != other.hasTlpAttSeq()) return false;
if (hasTlpAttSeq()) {
- result = result && (getTlpAttSeq()
- == other.getTlpAttSeq());
+ if (getTlpAttSeq()
+ != other.getTlpAttSeq()) return false;
}
- result = result && (hasTlpDecision() == other.hasTlpDecision());
+ if (hasTlpDecision() != other.hasTlpDecision()) return false;
if (hasTlpDecision()) {
- result = result && tlpDecision_ == other.tlpDecision_;
+ if (tlpDecision_ != other.tlpDecision_) return false;
}
- result = result && (hasSid() == other.hasSid());
+ if (hasSid() != other.hasSid()) return false;
if (hasSid()) {
- result = result && (getSid()
- == other.getSid());
+ if (getSid()
+ != other.getSid()) return false;
}
- result = result && (hasSignalGroupid() == other.hasSignalGroupid());
+ if (hasSignalGroupid() != other.hasSignalGroupid()) return false;
if (hasSignalGroupid()) {
- result = result && (getSignalGroupid()
- == other.getSignalGroupid());
+ if (getSignalGroupid()
+ != other.getSignalGroupid()) return false;
}
- result = result && (hasTlpSignalgroupnbr() == other.hasTlpSignalgroupnbr());
+ if (hasTlpSignalgroupnbr() != other.hasTlpSignalgroupnbr()) return false;
if (hasTlpSignalgroupnbr()) {
- result = result && (getTlpSignalgroupnbr()
- == other.getTlpSignalgroupnbr());
+ if (getTlpSignalgroupnbr()
+ != other.getTlpSignalgroupnbr()) return false;
}
- result = result && (hasTlpLineConfigid() == other.hasTlpLineConfigid());
+ if (hasTlpLineConfigid() != other.hasTlpLineConfigid()) return false;
if (hasTlpLineConfigid()) {
- result = result && (getTlpLineConfigid()
- == other.getTlpLineConfigid());
+ if (getTlpLineConfigid()
+ != other.getTlpLineConfigid()) return false;
}
- result = result && (hasTlpPointConfigid() == other.hasTlpPointConfigid());
+ if (hasTlpPointConfigid() != other.hasTlpPointConfigid()) return false;
if (hasTlpPointConfigid()) {
- result = result && (getTlpPointConfigid()
- == other.getTlpPointConfigid());
+ if (getTlpPointConfigid()
+ != other.getTlpPointConfigid()) return false;
}
- result = result && (hasTlpFrequency() == other.hasTlpFrequency());
+ if (hasTlpFrequency() != other.hasTlpFrequency()) return false;
if (hasTlpFrequency()) {
- result = result && (getTlpFrequency()
- == other.getTlpFrequency());
+ if (getTlpFrequency()
+ != other.getTlpFrequency()) return false;
}
- result = result && (hasTlpProtocol() == other.hasTlpProtocol());
+ if (hasTlpProtocol() != other.hasTlpProtocol()) return false;
if (hasTlpProtocol()) {
- result = result && getTlpProtocol()
- .equals(other.getTlpProtocol());
+ if (!getTlpProtocol()
+ .equals(other.getTlpProtocol())) return false;
}
- result = result && (hasLabel() == other.hasLabel());
+ if (hasLabel() != other.hasLabel()) return false;
if (hasLabel()) {
- result = result && getLabel()
- .equals(other.getLabel());
+ if (!getLabel()
+ .equals(other.getLabel())) return false;
}
- result = result && unknownFields.equals(other.unknownFields);
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -7283,7 +7983,7 @@ public int hashCode() {
return memoizedHashCode;
}
int hash = 41;
- hash = (19 * hash) + getDescriptorForType().hashCode();
+ hash = (19 * hash) + getDescriptor().hashCode();
if (hasSchemaVersion()) {
hash = (37 * hash) + SCHEMAVERSION_FIELD_NUMBER;
hash = (53 * hash) + getSchemaVersion();
@@ -7459,6 +8159,17 @@ public int hashCode() {
return hash;
}
+ public static fi.hsl.common.hfp.proto.Hfp.Payload parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static fi.hsl.common.hfp.proto.Hfp.Payload parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static fi.hsl.common.hfp.proto.Hfp.Payload parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -7518,6 +8229,7 @@ public static fi.hsl.common.hfp.proto.Hfp.Payload parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -7525,6 +8237,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(fi.hsl.common.hfp.proto.Hfp.Payload prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -7548,6 +8261,7 @@ public static final class Builder extends
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Payload_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Payload_fieldAccessorTable
@@ -7570,6 +8284,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
schemaVersion_ = 1;
@@ -7657,15 +8372,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return fi.hsl.common.hfp.proto.Hfp.internal_static_proto_Payload_descriptor;
}
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Payload getDefaultInstanceForType() {
return fi.hsl.common.hfp.proto.Hfp.Payload.getDefaultInstance();
}
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Payload build() {
fi.hsl.common.hfp.proto.Hfp.Payload result = buildPartial();
if (!result.isInitialized()) {
@@ -7674,173 +8392,174 @@ public fi.hsl.common.hfp.proto.Hfp.Payload build() {
return result;
}
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Payload buildPartial() {
fi.hsl.common.hfp.proto.Hfp.Payload result = new fi.hsl.common.hfp.proto.Hfp.Payload(this);
int from_bitField0_ = bitField0_;
int from_bitField1_ = bitField1_;
int to_bitField0_ = 0;
int to_bitField1_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.schemaVersion_ = schemaVersion_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.desi_ = desi_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.dir_ = dir_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.oper_ = oper_;
to_bitField0_ |= 0x00000008;
}
- result.oper_ = oper_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.veh_ = veh_;
to_bitField0_ |= 0x00000010;
}
- result.veh_ = veh_;
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.tst_ = tst_;
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.tsi_ = tsi_;
to_bitField0_ |= 0x00000040;
}
- result.tsi_ = tsi_;
- if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.spd_ = spd_;
to_bitField0_ |= 0x00000080;
}
- result.spd_ = spd_;
- if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.hdg_ = hdg_;
to_bitField0_ |= 0x00000100;
}
- result.hdg_ = hdg_;
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.lat_ = lat_;
to_bitField0_ |= 0x00000200;
}
- result.lat_ = lat_;
- if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.long_ = long_;
to_bitField0_ |= 0x00000400;
}
- result.long_ = long_;
- if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.acc_ = acc_;
to_bitField0_ |= 0x00000800;
}
- result.acc_ = acc_;
- if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
+ if (((from_bitField0_ & 0x00001000) != 0)) {
+ result.dl_ = dl_;
to_bitField0_ |= 0x00001000;
}
- result.dl_ = dl_;
- if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
+ if (((from_bitField0_ & 0x00002000) != 0)) {
+ result.odo_ = odo_;
to_bitField0_ |= 0x00002000;
}
- result.odo_ = odo_;
- if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
+ if (((from_bitField0_ & 0x00004000) != 0)) {
+ result.drst_ = drst_;
to_bitField0_ |= 0x00004000;
}
- result.drst_ = drst_;
- if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
+ if (((from_bitField0_ & 0x00008000) != 0)) {
to_bitField0_ |= 0x00008000;
}
result.oday_ = oday_;
- if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
+ if (((from_bitField0_ & 0x00010000) != 0)) {
+ result.jrn_ = jrn_;
to_bitField0_ |= 0x00010000;
}
- result.jrn_ = jrn_;
- if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
+ if (((from_bitField0_ & 0x00020000) != 0)) {
+ result.line_ = line_;
to_bitField0_ |= 0x00020000;
}
- result.line_ = line_;
- if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
+ if (((from_bitField0_ & 0x00040000) != 0)) {
to_bitField0_ |= 0x00040000;
}
result.start_ = start_;
- if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
+ if (((from_bitField0_ & 0x00080000) != 0)) {
to_bitField0_ |= 0x00080000;
}
result.loc_ = loc_;
- if (((from_bitField0_ & 0x00100000) == 0x00100000)) {
+ if (((from_bitField0_ & 0x00100000) != 0)) {
+ result.stop_ = stop_;
to_bitField0_ |= 0x00100000;
}
- result.stop_ = stop_;
- if (((from_bitField0_ & 0x00200000) == 0x00200000)) {
+ if (((from_bitField0_ & 0x00200000) != 0)) {
to_bitField0_ |= 0x00200000;
}
result.route_ = route_;
- if (((from_bitField0_ & 0x00400000) == 0x00400000)) {
+ if (((from_bitField0_ & 0x00400000) != 0)) {
+ result.occu_ = occu_;
to_bitField0_ |= 0x00400000;
}
- result.occu_ = occu_;
- if (((from_bitField0_ & 0x00800000) == 0x00800000)) {
+ if (((from_bitField0_ & 0x00800000) != 0)) {
+ result.seq_ = seq_;
to_bitField0_ |= 0x00800000;
}
- result.seq_ = seq_;
- if (((from_bitField0_ & 0x01000000) == 0x01000000)) {
+ if (((from_bitField0_ & 0x01000000) != 0)) {
to_bitField0_ |= 0x01000000;
}
result.ttarr_ = ttarr_;
- if (((from_bitField0_ & 0x02000000) == 0x02000000)) {
+ if (((from_bitField0_ & 0x02000000) != 0)) {
to_bitField0_ |= 0x02000000;
}
result.ttdep_ = ttdep_;
- if (((from_bitField0_ & 0x04000000) == 0x04000000)) {
+ if (((from_bitField0_ & 0x04000000) != 0)) {
+ result.drType_ = drType_;
to_bitField0_ |= 0x04000000;
}
- result.drType_ = drType_;
- if (((from_bitField0_ & 0x08000000) == 0x08000000)) {
+ if (((from_bitField0_ & 0x08000000) != 0)) {
+ result.tlpRequestid_ = tlpRequestid_;
to_bitField0_ |= 0x08000000;
}
- result.tlpRequestid_ = tlpRequestid_;
- if (((from_bitField0_ & 0x10000000) == 0x10000000)) {
+ if (((from_bitField0_ & 0x10000000) != 0)) {
to_bitField0_ |= 0x10000000;
}
result.tlpRequesttype_ = tlpRequesttype_;
- if (((from_bitField0_ & 0x20000000) == 0x20000000)) {
+ if (((from_bitField0_ & 0x20000000) != 0)) {
to_bitField0_ |= 0x20000000;
}
result.tlpPrioritylevel_ = tlpPrioritylevel_;
- if (((from_bitField0_ & 0x40000000) == 0x40000000)) {
+ if (((from_bitField0_ & 0x40000000) != 0)) {
to_bitField0_ |= 0x40000000;
}
result.tlpReason_ = tlpReason_;
- if (((from_bitField0_ & 0x80000000) == 0x80000000)) {
+ if (((from_bitField0_ & 0x80000000) != 0)) {
+ result.tlpAttSeq_ = tlpAttSeq_;
to_bitField0_ |= 0x80000000;
}
- result.tlpAttSeq_ = tlpAttSeq_;
- if (((from_bitField1_ & 0x00000001) == 0x00000001)) {
+ if (((from_bitField1_ & 0x00000001) != 0)) {
to_bitField1_ |= 0x00000001;
}
result.tlpDecision_ = tlpDecision_;
- if (((from_bitField1_ & 0x00000002) == 0x00000002)) {
+ if (((from_bitField1_ & 0x00000002) != 0)) {
+ result.sid_ = sid_;
to_bitField1_ |= 0x00000002;
}
- result.sid_ = sid_;
- if (((from_bitField1_ & 0x00000004) == 0x00000004)) {
+ if (((from_bitField1_ & 0x00000004) != 0)) {
+ result.signalGroupid_ = signalGroupid_;
to_bitField1_ |= 0x00000004;
}
- result.signalGroupid_ = signalGroupid_;
- if (((from_bitField1_ & 0x00000008) == 0x00000008)) {
+ if (((from_bitField1_ & 0x00000008) != 0)) {
+ result.tlpSignalgroupnbr_ = tlpSignalgroupnbr_;
to_bitField1_ |= 0x00000008;
}
- result.tlpSignalgroupnbr_ = tlpSignalgroupnbr_;
- if (((from_bitField1_ & 0x00000010) == 0x00000010)) {
+ if (((from_bitField1_ & 0x00000010) != 0)) {
+ result.tlpLineConfigid_ = tlpLineConfigid_;
to_bitField1_ |= 0x00000010;
}
- result.tlpLineConfigid_ = tlpLineConfigid_;
- if (((from_bitField1_ & 0x00000020) == 0x00000020)) {
+ if (((from_bitField1_ & 0x00000020) != 0)) {
+ result.tlpPointConfigid_ = tlpPointConfigid_;
to_bitField1_ |= 0x00000020;
}
- result.tlpPointConfigid_ = tlpPointConfigid_;
- if (((from_bitField1_ & 0x00000040) == 0x00000040)) {
+ if (((from_bitField1_ & 0x00000040) != 0)) {
+ result.tlpFrequency_ = tlpFrequency_;
to_bitField1_ |= 0x00000040;
}
- result.tlpFrequency_ = tlpFrequency_;
- if (((from_bitField1_ & 0x00000080) == 0x00000080)) {
+ if (((from_bitField1_ & 0x00000080) != 0)) {
to_bitField1_ |= 0x00000080;
}
result.tlpProtocol_ = tlpProtocol_;
- if (((from_bitField1_ & 0x00000100) == 0x00000100)) {
+ if (((from_bitField1_ & 0x00000100) != 0)) {
to_bitField1_ |= 0x00000100;
}
result.label_ = label_;
@@ -7850,32 +8569,39 @@ public fi.hsl.common.hfp.proto.Hfp.Payload buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof fi.hsl.common.hfp.proto.Hfp.Payload) {
return mergeFrom((fi.hsl.common.hfp.proto.Hfp.Payload)other);
@@ -8035,6 +8761,7 @@ public Builder mergeFrom(fi.hsl.common.hfp.proto.Hfp.Payload other) {
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
if (!hasSchemaVersion()) {
return false;
@@ -8048,6 +8775,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8071,18 +8799,24 @@ public Builder mergeFrom(
private int schemaVersion_ = 1;
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
+ @java.lang.Override
public boolean hasSchemaVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
+ @java.lang.Override
public int getSchemaVersion() {
return schemaVersion_;
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @param value The schemaVersion to set.
+ * @return This builder for chaining.
*/
public Builder setSchemaVersion(int value) {
bitField0_ |= 0x00000001;
@@ -8092,6 +8826,7 @@ public Builder setSchemaVersion(int value) {
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return This builder for chaining.
*/
public Builder clearSchemaVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -8103,12 +8838,14 @@ public Builder clearSchemaVersion() {
private java.lang.Object desi_ = "";
/**
* optional string desi = 2;
+ * @return Whether the desi field is set.
*/
public boolean hasDesi() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string desi = 2;
+ * @return The desi.
*/
public java.lang.String getDesi() {
java.lang.Object ref = desi_;
@@ -8126,6 +8863,7 @@ public java.lang.String getDesi() {
}
/**
* optional string desi = 2;
+ * @return The bytes for desi.
*/
public com.google.protobuf.ByteString
getDesiBytes() {
@@ -8142,6 +8880,8 @@ public java.lang.String getDesi() {
}
/**
* optional string desi = 2;
+ * @param value The desi to set.
+ * @return This builder for chaining.
*/
public Builder setDesi(
java.lang.String value) {
@@ -8155,6 +8895,7 @@ public Builder setDesi(
}
/**
* optional string desi = 2;
+ * @return This builder for chaining.
*/
public Builder clearDesi() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -8164,6 +8905,8 @@ public Builder clearDesi() {
}
/**
* optional string desi = 2;
+ * @param value The bytes for desi to set.
+ * @return This builder for chaining.
*/
public Builder setDesiBytes(
com.google.protobuf.ByteString value) {
@@ -8179,12 +8922,14 @@ public Builder setDesiBytes(
private java.lang.Object dir_ = "";
/**
* optional string dir = 3;
+ * @return Whether the dir field is set.
*/
public boolean hasDir() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string dir = 3;
+ * @return The dir.
*/
public java.lang.String getDir() {
java.lang.Object ref = dir_;
@@ -8202,6 +8947,7 @@ public java.lang.String getDir() {
}
/**
* optional string dir = 3;
+ * @return The bytes for dir.
*/
public com.google.protobuf.ByteString
getDirBytes() {
@@ -8218,6 +8964,8 @@ public java.lang.String getDir() {
}
/**
* optional string dir = 3;
+ * @param value The dir to set.
+ * @return This builder for chaining.
*/
public Builder setDir(
java.lang.String value) {
@@ -8231,6 +8979,7 @@ public Builder setDir(
}
/**
* optional string dir = 3;
+ * @return This builder for chaining.
*/
public Builder clearDir() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -8240,6 +8989,8 @@ public Builder clearDir() {
}
/**
* optional string dir = 3;
+ * @param value The bytes for dir to set.
+ * @return This builder for chaining.
*/
public Builder setDirBytes(
com.google.protobuf.ByteString value) {
@@ -8255,18 +9006,24 @@ public Builder setDirBytes(
private int oper_ ;
/**
* optional int32 oper = 4;
+ * @return Whether the oper field is set.
*/
+ @java.lang.Override
public boolean hasOper() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int32 oper = 4;
+ * @return The oper.
*/
+ @java.lang.Override
public int getOper() {
return oper_;
}
/**
* optional int32 oper = 4;
+ * @param value The oper to set.
+ * @return This builder for chaining.
*/
public Builder setOper(int value) {
bitField0_ |= 0x00000008;
@@ -8276,6 +9033,7 @@ public Builder setOper(int value) {
}
/**
* optional int32 oper = 4;
+ * @return This builder for chaining.
*/
public Builder clearOper() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -8287,18 +9045,24 @@ public Builder clearOper() {
private int veh_ ;
/**
* optional int32 veh = 5;
+ * @return Whether the veh field is set.
*/
+ @java.lang.Override
public boolean hasVeh() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional int32 veh = 5;
+ * @return The veh.
*/
+ @java.lang.Override
public int getVeh() {
return veh_;
}
/**
* optional int32 veh = 5;
+ * @param value The veh to set.
+ * @return This builder for chaining.
*/
public Builder setVeh(int value) {
bitField0_ |= 0x00000010;
@@ -8308,6 +9072,7 @@ public Builder setVeh(int value) {
}
/**
* optional int32 veh = 5;
+ * @return This builder for chaining.
*/
public Builder clearVeh() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -8319,12 +9084,14 @@ public Builder clearVeh() {
private java.lang.Object tst_ = "";
/**
* required string tst = 6;
+ * @return Whether the tst field is set.
*/
public boolean hasTst() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
* required string tst = 6;
+ * @return The tst.
*/
public java.lang.String getTst() {
java.lang.Object ref = tst_;
@@ -8342,6 +9109,7 @@ public java.lang.String getTst() {
}
/**
* required string tst = 6;
+ * @return The bytes for tst.
*/
public com.google.protobuf.ByteString
getTstBytes() {
@@ -8358,6 +9126,8 @@ public java.lang.String getTst() {
}
/**
* required string tst = 6;
+ * @param value The tst to set.
+ * @return This builder for chaining.
*/
public Builder setTst(
java.lang.String value) {
@@ -8371,6 +9141,7 @@ public Builder setTst(
}
/**
* required string tst = 6;
+ * @return This builder for chaining.
*/
public Builder clearTst() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -8380,6 +9151,8 @@ public Builder clearTst() {
}
/**
* required string tst = 6;
+ * @param value The bytes for tst to set.
+ * @return This builder for chaining.
*/
public Builder setTstBytes(
com.google.protobuf.ByteString value) {
@@ -8395,18 +9168,24 @@ public Builder setTstBytes(
private long tsi_ ;
/**
* required int64 tsi = 7;
+ * @return Whether the tsi field is set.
*/
+ @java.lang.Override
public boolean hasTsi() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
* required int64 tsi = 7;
+ * @return The tsi.
*/
+ @java.lang.Override
public long getTsi() {
return tsi_;
}
/**
* required int64 tsi = 7;
+ * @param value The tsi to set.
+ * @return This builder for chaining.
*/
public Builder setTsi(long value) {
bitField0_ |= 0x00000040;
@@ -8416,6 +9195,7 @@ public Builder setTsi(long value) {
}
/**
* required int64 tsi = 7;
+ * @return This builder for chaining.
*/
public Builder clearTsi() {
bitField0_ = (bitField0_ & ~0x00000040);
@@ -8427,18 +9207,24 @@ public Builder clearTsi() {
private double spd_ ;
/**
* optional double spd = 8;
+ * @return Whether the spd field is set.
*/
+ @java.lang.Override
public boolean hasSpd() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional double spd = 8;
+ * @return The spd.
*/
+ @java.lang.Override
public double getSpd() {
return spd_;
}
/**
* optional double spd = 8;
+ * @param value The spd to set.
+ * @return This builder for chaining.
*/
public Builder setSpd(double value) {
bitField0_ |= 0x00000080;
@@ -8448,6 +9234,7 @@ public Builder setSpd(double value) {
}
/**
* optional double spd = 8;
+ * @return This builder for chaining.
*/
public Builder clearSpd() {
bitField0_ = (bitField0_ & ~0x00000080);
@@ -8459,18 +9246,24 @@ public Builder clearSpd() {
private int hdg_ ;
/**
* optional int32 hdg = 9;
+ * @return Whether the hdg field is set.
*/
+ @java.lang.Override
public boolean hasHdg() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional int32 hdg = 9;
+ * @return The hdg.
*/
+ @java.lang.Override
public int getHdg() {
return hdg_;
}
/**
* optional int32 hdg = 9;
+ * @param value The hdg to set.
+ * @return This builder for chaining.
*/
public Builder setHdg(int value) {
bitField0_ |= 0x00000100;
@@ -8480,6 +9273,7 @@ public Builder setHdg(int value) {
}
/**
* optional int32 hdg = 9;
+ * @return This builder for chaining.
*/
public Builder clearHdg() {
bitField0_ = (bitField0_ & ~0x00000100);
@@ -8491,18 +9285,24 @@ public Builder clearHdg() {
private double lat_ ;
/**
* optional double lat = 10;
+ * @return Whether the lat field is set.
*/
+ @java.lang.Override
public boolean hasLat() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional double lat = 10;
+ * @return The lat.
*/
+ @java.lang.Override
public double getLat() {
return lat_;
}
/**
* optional double lat = 10;
+ * @param value The lat to set.
+ * @return This builder for chaining.
*/
public Builder setLat(double value) {
bitField0_ |= 0x00000200;
@@ -8512,6 +9312,7 @@ public Builder setLat(double value) {
}
/**
* optional double lat = 10;
+ * @return This builder for chaining.
*/
public Builder clearLat() {
bitField0_ = (bitField0_ & ~0x00000200);
@@ -8523,18 +9324,24 @@ public Builder clearLat() {
private double long_ ;
/**
* optional double long = 11;
+ * @return Whether the long field is set.
*/
+ @java.lang.Override
public boolean hasLong() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional double long = 11;
+ * @return The long.
*/
+ @java.lang.Override
public double getLong() {
return long_;
}
/**
* optional double long = 11;
+ * @param value The long to set.
+ * @return This builder for chaining.
*/
public Builder setLong(double value) {
bitField0_ |= 0x00000400;
@@ -8544,6 +9351,7 @@ public Builder setLong(double value) {
}
/**
* optional double long = 11;
+ * @return This builder for chaining.
*/
public Builder clearLong() {
bitField0_ = (bitField0_ & ~0x00000400);
@@ -8555,18 +9363,24 @@ public Builder clearLong() {
private double acc_ ;
/**
* optional double acc = 12;
+ * @return Whether the acc field is set.
*/
+ @java.lang.Override
public boolean hasAcc() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional double acc = 12;
+ * @return The acc.
*/
+ @java.lang.Override
public double getAcc() {
return acc_;
}
/**
* optional double acc = 12;
+ * @param value The acc to set.
+ * @return This builder for chaining.
*/
public Builder setAcc(double value) {
bitField0_ |= 0x00000800;
@@ -8576,6 +9390,7 @@ public Builder setAcc(double value) {
}
/**
* optional double acc = 12;
+ * @return This builder for chaining.
*/
public Builder clearAcc() {
bitField0_ = (bitField0_ & ~0x00000800);
@@ -8587,18 +9402,24 @@ public Builder clearAcc() {
private int dl_ ;
/**
* optional uint32 dl = 13;
+ * @return Whether the dl field is set.
*/
+ @java.lang.Override
public boolean hasDl() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
+ return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional uint32 dl = 13;
+ * @return The dl.
*/
+ @java.lang.Override
public int getDl() {
return dl_;
}
/**
* optional uint32 dl = 13;
+ * @param value The dl to set.
+ * @return This builder for chaining.
*/
public Builder setDl(int value) {
bitField0_ |= 0x00001000;
@@ -8608,6 +9429,7 @@ public Builder setDl(int value) {
}
/**
* optional uint32 dl = 13;
+ * @return This builder for chaining.
*/
public Builder clearDl() {
bitField0_ = (bitField0_ & ~0x00001000);
@@ -8619,18 +9441,24 @@ public Builder clearDl() {
private double odo_ ;
/**
* optional double odo = 14;
+ * @return Whether the odo field is set.
*/
+ @java.lang.Override
public boolean hasOdo() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional double odo = 14;
+ * @return The odo.
*/
+ @java.lang.Override
public double getOdo() {
return odo_;
}
/**
* optional double odo = 14;
+ * @param value The odo to set.
+ * @return This builder for chaining.
*/
public Builder setOdo(double value) {
bitField0_ |= 0x00002000;
@@ -8640,6 +9468,7 @@ public Builder setOdo(double value) {
}
/**
* optional double odo = 14;
+ * @return This builder for chaining.
*/
public Builder clearOdo() {
bitField0_ = (bitField0_ & ~0x00002000);
@@ -8651,18 +9480,24 @@ public Builder clearOdo() {
private int drst_ ;
/**
* optional uint32 drst = 15;
+ * @return Whether the drst field is set.
*/
+ @java.lang.Override
public boolean hasDrst() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
+ return ((bitField0_ & 0x00004000) != 0);
}
/**
* optional uint32 drst = 15;
+ * @return The drst.
*/
+ @java.lang.Override
public int getDrst() {
return drst_;
}
/**
* optional uint32 drst = 15;
+ * @param value The drst to set.
+ * @return This builder for chaining.
*/
public Builder setDrst(int value) {
bitField0_ |= 0x00004000;
@@ -8672,6 +9507,7 @@ public Builder setDrst(int value) {
}
/**
* optional uint32 drst = 15;
+ * @return This builder for chaining.
*/
public Builder clearDrst() {
bitField0_ = (bitField0_ & ~0x00004000);
@@ -8683,12 +9519,14 @@ public Builder clearDrst() {
private java.lang.Object oday_ = "";
/**
* optional string oday = 16;
+ * @return Whether the oday field is set.
*/
public boolean hasOday() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
+ return ((bitField0_ & 0x00008000) != 0);
}
/**
* optional string oday = 16;
+ * @return The oday.
*/
public java.lang.String getOday() {
java.lang.Object ref = oday_;
@@ -8706,6 +9544,7 @@ public java.lang.String getOday() {
}
/**
* optional string oday = 16;
+ * @return The bytes for oday.
*/
public com.google.protobuf.ByteString
getOdayBytes() {
@@ -8722,6 +9561,8 @@ public java.lang.String getOday() {
}
/**
* optional string oday = 16;
+ * @param value The oday to set.
+ * @return This builder for chaining.
*/
public Builder setOday(
java.lang.String value) {
@@ -8735,6 +9576,7 @@ public Builder setOday(
}
/**
* optional string oday = 16;
+ * @return This builder for chaining.
*/
public Builder clearOday() {
bitField0_ = (bitField0_ & ~0x00008000);
@@ -8744,6 +9586,8 @@ public Builder clearOday() {
}
/**
* optional string oday = 16;
+ * @param value The bytes for oday to set.
+ * @return This builder for chaining.
*/
public Builder setOdayBytes(
com.google.protobuf.ByteString value) {
@@ -8759,18 +9603,24 @@ public Builder setOdayBytes(
private int jrn_ ;
/**
* optional int32 jrn = 17;
+ * @return Whether the jrn field is set.
*/
+ @java.lang.Override
public boolean hasJrn() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
+ return ((bitField0_ & 0x00010000) != 0);
}
/**
* optional int32 jrn = 17;
+ * @return The jrn.
*/
+ @java.lang.Override
public int getJrn() {
return jrn_;
}
/**
* optional int32 jrn = 17;
+ * @param value The jrn to set.
+ * @return This builder for chaining.
*/
public Builder setJrn(int value) {
bitField0_ |= 0x00010000;
@@ -8780,6 +9630,7 @@ public Builder setJrn(int value) {
}
/**
* optional int32 jrn = 17;
+ * @return This builder for chaining.
*/
public Builder clearJrn() {
bitField0_ = (bitField0_ & ~0x00010000);
@@ -8791,18 +9642,24 @@ public Builder clearJrn() {
private int line_ ;
/**
* optional int32 line = 18;
+ * @return Whether the line field is set.
*/
+ @java.lang.Override
public boolean hasLine() {
- return ((bitField0_ & 0x00020000) == 0x00020000);
+ return ((bitField0_ & 0x00020000) != 0);
}
/**
* optional int32 line = 18;
+ * @return The line.
*/
+ @java.lang.Override
public int getLine() {
return line_;
}
/**
* optional int32 line = 18;
+ * @param value The line to set.
+ * @return This builder for chaining.
*/
public Builder setLine(int value) {
bitField0_ |= 0x00020000;
@@ -8812,6 +9669,7 @@ public Builder setLine(int value) {
}
/**
* optional int32 line = 18;
+ * @return This builder for chaining.
*/
public Builder clearLine() {
bitField0_ = (bitField0_ & ~0x00020000);
@@ -8823,12 +9681,14 @@ public Builder clearLine() {
private java.lang.Object start_ = "";
/**
* optional string start = 19;
+ * @return Whether the start field is set.
*/
public boolean hasStart() {
- return ((bitField0_ & 0x00040000) == 0x00040000);
+ return ((bitField0_ & 0x00040000) != 0);
}
/**
* optional string start = 19;
+ * @return The start.
*/
public java.lang.String getStart() {
java.lang.Object ref = start_;
@@ -8846,6 +9706,7 @@ public java.lang.String getStart() {
}
/**
* optional string start = 19;
+ * @return The bytes for start.
*/
public com.google.protobuf.ByteString
getStartBytes() {
@@ -8862,6 +9723,8 @@ public java.lang.String getStart() {
}
/**
* optional string start = 19;
+ * @param value The start to set.
+ * @return This builder for chaining.
*/
public Builder setStart(
java.lang.String value) {
@@ -8875,6 +9738,7 @@ public Builder setStart(
}
/**
* optional string start = 19;
+ * @return This builder for chaining.
*/
public Builder clearStart() {
bitField0_ = (bitField0_ & ~0x00040000);
@@ -8884,6 +9748,8 @@ public Builder clearStart() {
}
/**
* optional string start = 19;
+ * @param value The bytes for start to set.
+ * @return This builder for chaining.
*/
public Builder setStartBytes(
com.google.protobuf.ByteString value) {
@@ -8903,9 +9769,10 @@ public Builder setStartBytes(
*
*
* optional .proto.Payload.LocationQualityMethod loc = 20;
+ * @return Whether the loc field is set.
*/
- public boolean hasLoc() {
- return ((bitField0_ & 0x00080000) == 0x00080000);
+ @java.lang.Override public boolean hasLoc() {
+ return ((bitField0_ & 0x00080000) != 0);
}
/**
*
@@ -8913,8 +9780,11 @@ public boolean hasLoc() {
*
*
* optional .proto.Payload.LocationQualityMethod loc = 20;
+ * @return The loc.
*/
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod getLoc() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod result = fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod.valueOf(loc_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod.GPS : result;
}
@@ -8924,6 +9794,8 @@ public fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod getLoc() {
*
*
* optional .proto.Payload.LocationQualityMethod loc = 20;
+ * @param value The loc to set.
+ * @return This builder for chaining.
*/
public Builder setLoc(fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod value) {
if (value == null) {
@@ -8940,6 +9812,7 @@ public Builder setLoc(fi.hsl.common.hfp.proto.Hfp.Payload.LocationQualityMethod
*
*
* optional .proto.Payload.LocationQualityMethod loc = 20;
+ * @return This builder for chaining.
*/
public Builder clearLoc() {
bitField0_ = (bitField0_ & ~0x00080000);
@@ -8955,9 +9828,11 @@ public Builder clearLoc() {
*
*
* optional int32 stop = 21;
+ * @return Whether the stop field is set.
*/
+ @java.lang.Override
public boolean hasStop() {
- return ((bitField0_ & 0x00100000) == 0x00100000);
+ return ((bitField0_ & 0x00100000) != 0);
}
/**
*
@@ -8965,7 +9840,9 @@ public boolean hasStop() {
*
*
* optional int32 stop = 21;
+ * @return The stop.
*/
+ @java.lang.Override
public int getStop() {
return stop_;
}
@@ -8975,6 +9852,8 @@ public int getStop() {
*
*
* optional int32 stop = 21;
+ * @param value The stop to set.
+ * @return This builder for chaining.
*/
public Builder setStop(int value) {
bitField0_ |= 0x00100000;
@@ -8988,6 +9867,7 @@ public Builder setStop(int value) {
*
*
* optional int32 stop = 21;
+ * @return This builder for chaining.
*/
public Builder clearStop() {
bitField0_ = (bitField0_ & ~0x00100000);
@@ -9003,9 +9883,10 @@ public Builder clearStop() {
*
*
* optional string route = 22;
+ * @return Whether the route field is set.
*/
public boolean hasRoute() {
- return ((bitField0_ & 0x00200000) == 0x00200000);
+ return ((bitField0_ & 0x00200000) != 0);
}
/**
*
@@ -9013,6 +9894,7 @@ public boolean hasRoute() {
*
*
* optional string route = 22;
+ * @return The route.
*/
public java.lang.String getRoute() {
java.lang.Object ref = route_;
@@ -9034,6 +9916,7 @@ public java.lang.String getRoute() {
*
*
* optional string route = 22;
+ * @return The bytes for route.
*/
public com.google.protobuf.ByteString
getRouteBytes() {
@@ -9054,6 +9937,8 @@ public java.lang.String getRoute() {
*
*
* optional string route = 22;
+ * @param value The route to set.
+ * @return This builder for chaining.
*/
public Builder setRoute(
java.lang.String value) {
@@ -9071,6 +9956,7 @@ public Builder setRoute(
*
*
* optional string route = 22;
+ * @return This builder for chaining.
*/
public Builder clearRoute() {
bitField0_ = (bitField0_ & ~0x00200000);
@@ -9084,6 +9970,8 @@ public Builder clearRoute() {
*
*
* optional string route = 22;
+ * @param value The bytes for route to set.
+ * @return This builder for chaining.
*/
public Builder setRouteBytes(
com.google.protobuf.ByteString value) {
@@ -9103,9 +9991,11 @@ public Builder setRouteBytes(
*
*
* optional int32 occu = 23;
+ * @return Whether the occu field is set.
*/
+ @java.lang.Override
public boolean hasOccu() {
- return ((bitField0_ & 0x00400000) == 0x00400000);
+ return ((bitField0_ & 0x00400000) != 0);
}
/**
*
@@ -9113,7 +10003,9 @@ public boolean hasOccu() {
*
*
* optional int32 occu = 23;
+ * @return The occu.
*/
+ @java.lang.Override
public int getOccu() {
return occu_;
}
@@ -9123,6 +10015,8 @@ public int getOccu() {
*
*
* optional int32 occu = 23;
+ * @param value The occu to set.
+ * @return This builder for chaining.
*/
public Builder setOccu(int value) {
bitField0_ |= 0x00400000;
@@ -9136,6 +10030,7 @@ public Builder setOccu(int value) {
*
*
* optional int32 occu = 23;
+ * @return This builder for chaining.
*/
public Builder clearOccu() {
bitField0_ = (bitField0_ & ~0x00400000);
@@ -9147,18 +10042,24 @@ public Builder clearOccu() {
private int seq_ ;
/**
* optional int32 seq = 24;
+ * @return Whether the seq field is set.
*/
+ @java.lang.Override
public boolean hasSeq() {
- return ((bitField0_ & 0x00800000) == 0x00800000);
+ return ((bitField0_ & 0x00800000) != 0);
}
/**
* optional int32 seq = 24;
+ * @return The seq.
*/
+ @java.lang.Override
public int getSeq() {
return seq_;
}
/**
* optional int32 seq = 24;
+ * @param value The seq to set.
+ * @return This builder for chaining.
*/
public Builder setSeq(int value) {
bitField0_ |= 0x00800000;
@@ -9168,6 +10069,7 @@ public Builder setSeq(int value) {
}
/**
* optional int32 seq = 24;
+ * @return This builder for chaining.
*/
public Builder clearSeq() {
bitField0_ = (bitField0_ & ~0x00800000);
@@ -9179,12 +10081,14 @@ public Builder clearSeq() {
private java.lang.Object ttarr_ = "";
/**
* optional string ttarr = 25;
+ * @return Whether the ttarr field is set.
*/
public boolean hasTtarr() {
- return ((bitField0_ & 0x01000000) == 0x01000000);
+ return ((bitField0_ & 0x01000000) != 0);
}
/**
* optional string ttarr = 25;
+ * @return The ttarr.
*/
public java.lang.String getTtarr() {
java.lang.Object ref = ttarr_;
@@ -9202,6 +10106,7 @@ public java.lang.String getTtarr() {
}
/**
* optional string ttarr = 25;
+ * @return The bytes for ttarr.
*/
public com.google.protobuf.ByteString
getTtarrBytes() {
@@ -9218,6 +10123,8 @@ public java.lang.String getTtarr() {
}
/**
* optional string ttarr = 25;
+ * @param value The ttarr to set.
+ * @return This builder for chaining.
*/
public Builder setTtarr(
java.lang.String value) {
@@ -9231,6 +10138,7 @@ public Builder setTtarr(
}
/**
* optional string ttarr = 25;
+ * @return This builder for chaining.
*/
public Builder clearTtarr() {
bitField0_ = (bitField0_ & ~0x01000000);
@@ -9240,6 +10148,8 @@ public Builder clearTtarr() {
}
/**
* optional string ttarr = 25;
+ * @param value The bytes for ttarr to set.
+ * @return This builder for chaining.
*/
public Builder setTtarrBytes(
com.google.protobuf.ByteString value) {
@@ -9255,12 +10165,14 @@ public Builder setTtarrBytes(
private java.lang.Object ttdep_ = "";
/**
* optional string ttdep = 26;
+ * @return Whether the ttdep field is set.
*/
public boolean hasTtdep() {
- return ((bitField0_ & 0x02000000) == 0x02000000);
+ return ((bitField0_ & 0x02000000) != 0);
}
/**
* optional string ttdep = 26;
+ * @return The ttdep.
*/
public java.lang.String getTtdep() {
java.lang.Object ref = ttdep_;
@@ -9278,6 +10190,7 @@ public java.lang.String getTtdep() {
}
/**
* optional string ttdep = 26;
+ * @return The bytes for ttdep.
*/
public com.google.protobuf.ByteString
getTtdepBytes() {
@@ -9294,6 +10207,8 @@ public java.lang.String getTtdep() {
}
/**
* optional string ttdep = 26;
+ * @param value The ttdep to set.
+ * @return This builder for chaining.
*/
public Builder setTtdep(
java.lang.String value) {
@@ -9307,6 +10222,7 @@ public Builder setTtdep(
}
/**
* optional string ttdep = 26;
+ * @return This builder for chaining.
*/
public Builder clearTtdep() {
bitField0_ = (bitField0_ & ~0x02000000);
@@ -9316,6 +10232,8 @@ public Builder clearTtdep() {
}
/**
* optional string ttdep = 26;
+ * @param value The bytes for ttdep to set.
+ * @return This builder for chaining.
*/
public Builder setTtdepBytes(
com.google.protobuf.ByteString value) {
@@ -9331,18 +10249,24 @@ public Builder setTtdepBytes(
private int drType_ ;
/**
* optional int32 dr_type = 27;
+ * @return Whether the drType field is set.
*/
+ @java.lang.Override
public boolean hasDrType() {
- return ((bitField0_ & 0x04000000) == 0x04000000);
+ return ((bitField0_ & 0x04000000) != 0);
}
/**
* optional int32 dr_type = 27;
+ * @return The drType.
*/
+ @java.lang.Override
public int getDrType() {
return drType_;
}
/**
* optional int32 dr_type = 27;
+ * @param value The drType to set.
+ * @return This builder for chaining.
*/
public Builder setDrType(int value) {
bitField0_ |= 0x04000000;
@@ -9352,6 +10276,7 @@ public Builder setDrType(int value) {
}
/**
* optional int32 dr_type = 27;
+ * @return This builder for chaining.
*/
public Builder clearDrType() {
bitField0_ = (bitField0_ & ~0x04000000);
@@ -9367,9 +10292,11 @@ public Builder clearDrType() {
*
*
* optional int32 tlp_requestid = 28;
+ * @return Whether the tlpRequestid field is set.
*/
+ @java.lang.Override
public boolean hasTlpRequestid() {
- return ((bitField0_ & 0x08000000) == 0x08000000);
+ return ((bitField0_ & 0x08000000) != 0);
}
/**
*
@@ -9377,7 +10304,9 @@ public boolean hasTlpRequestid() {
*
*
* optional int32 tlp_requestid = 28;
+ * @return The tlpRequestid.
*/
+ @java.lang.Override
public int getTlpRequestid() {
return tlpRequestid_;
}
@@ -9387,6 +10316,8 @@ public int getTlpRequestid() {
*
*
* optional int32 tlp_requestid = 28;
+ * @param value The tlpRequestid to set.
+ * @return This builder for chaining.
*/
public Builder setTlpRequestid(int value) {
bitField0_ |= 0x08000000;
@@ -9400,6 +10331,7 @@ public Builder setTlpRequestid(int value) {
*
*
* optional int32 tlp_requestid = 28;
+ * @return This builder for chaining.
*/
public Builder clearTlpRequestid() {
bitField0_ = (bitField0_ & ~0x08000000);
@@ -9415,9 +10347,10 @@ public Builder clearTlpRequestid() {
*
*
* optional .proto.Payload.TlpRequestType tlp_requesttype = 29;
+ * @return Whether the tlpRequesttype field is set.
*/
- public boolean hasTlpRequesttype() {
- return ((bitField0_ & 0x10000000) == 0x10000000);
+ @java.lang.Override public boolean hasTlpRequesttype() {
+ return ((bitField0_ & 0x10000000) != 0);
}
/**
*
@@ -9425,8 +10358,11 @@ public boolean hasTlpRequesttype() {
*
*
* optional .proto.Payload.TlpRequestType tlp_requesttype = 29;
+ * @return The tlpRequesttype.
*/
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType getTlpRequesttype() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType result = fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType.valueOf(tlpRequesttype_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType.NORMAL : result;
}
@@ -9436,6 +10372,8 @@ public fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType getTlpRequesttype() {
*
*
* optional .proto.Payload.TlpRequestType tlp_requesttype = 29;
+ * @param value The tlpRequesttype to set.
+ * @return This builder for chaining.
*/
public Builder setTlpRequesttype(fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestType value) {
if (value == null) {
@@ -9452,6 +10390,7 @@ public Builder setTlpRequesttype(fi.hsl.common.hfp.proto.Hfp.Payload.TlpRequestT
*
*
* optional .proto.Payload.TlpRequestType tlp_requesttype = 29;
+ * @return This builder for chaining.
*/
public Builder clearTlpRequesttype() {
bitField0_ = (bitField0_ & ~0x10000000);
@@ -9467,9 +10406,10 @@ public Builder clearTlpRequesttype() {
*
*
* optional .proto.Payload.TlpPriorityLevel tlp_prioritylevel = 30;
+ * @return Whether the tlpPrioritylevel field is set.
*/
- public boolean hasTlpPrioritylevel() {
- return ((bitField0_ & 0x20000000) == 0x20000000);
+ @java.lang.Override public boolean hasTlpPrioritylevel() {
+ return ((bitField0_ & 0x20000000) != 0);
}
/**
*
@@ -9477,8 +10417,11 @@ public boolean hasTlpPrioritylevel() {
*
*
* optional .proto.Payload.TlpPriorityLevel tlp_prioritylevel = 30;
+ * @return The tlpPrioritylevel.
*/
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel getTlpPrioritylevel() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel result = fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel.valueOf(tlpPrioritylevel_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel.normal : result;
}
@@ -9488,6 +10431,8 @@ public fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel getTlpPrioritylevel(
*
*
* optional .proto.Payload.TlpPriorityLevel tlp_prioritylevel = 30;
+ * @param value The tlpPrioritylevel to set.
+ * @return This builder for chaining.
*/
public Builder setTlpPrioritylevel(fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriorityLevel value) {
if (value == null) {
@@ -9504,6 +10449,7 @@ public Builder setTlpPrioritylevel(fi.hsl.common.hfp.proto.Hfp.Payload.TlpPriori
*
*
* optional .proto.Payload.TlpPriorityLevel tlp_prioritylevel = 30;
+ * @return This builder for chaining.
*/
public Builder clearTlpPrioritylevel() {
bitField0_ = (bitField0_ & ~0x20000000);
@@ -9519,9 +10465,10 @@ public Builder clearTlpPrioritylevel() {
*
*
* optional .proto.Payload.TlpReason tlp_reason = 31;
+ * @return Whether the tlpReason field is set.
*/
- public boolean hasTlpReason() {
- return ((bitField0_ & 0x40000000) == 0x40000000);
+ @java.lang.Override public boolean hasTlpReason() {
+ return ((bitField0_ & 0x40000000) != 0);
}
/**
*
@@ -9529,8 +10476,11 @@ public boolean hasTlpReason() {
*
*
* optional .proto.Payload.TlpReason tlp_reason = 31;
+ * @return The tlpReason.
*/
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason getTlpReason() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason result = fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason.valueOf(tlpReason_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason.GLOBAL : result;
}
@@ -9540,6 +10490,8 @@ public fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason getTlpReason() {
*
*
* optional .proto.Payload.TlpReason tlp_reason = 31;
+ * @param value The tlpReason to set.
+ * @return This builder for chaining.
*/
public Builder setTlpReason(fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason value) {
if (value == null) {
@@ -9556,6 +10508,7 @@ public Builder setTlpReason(fi.hsl.common.hfp.proto.Hfp.Payload.TlpReason value)
*
*
* optional .proto.Payload.TlpReason tlp_reason = 31;
+ * @return This builder for chaining.
*/
public Builder clearTlpReason() {
bitField0_ = (bitField0_ & ~0x40000000);
@@ -9571,9 +10524,11 @@ public Builder clearTlpReason() {
*
*
* optional int32 tlp_att_seq = 32;
+ * @return Whether the tlpAttSeq field is set.
*/
+ @java.lang.Override
public boolean hasTlpAttSeq() {
- return ((bitField0_ & 0x80000000) == 0x80000000);
+ return ((bitField0_ & 0x80000000) != 0);
}
/**
*
@@ -9581,7 +10536,9 @@ public boolean hasTlpAttSeq() {
*
*
* optional int32 tlp_att_seq = 32;
+ * @return The tlpAttSeq.
*/
+ @java.lang.Override
public int getTlpAttSeq() {
return tlpAttSeq_;
}
@@ -9591,6 +10548,8 @@ public int getTlpAttSeq() {
*
*
* optional int32 tlp_att_seq = 32;
+ * @param value The tlpAttSeq to set.
+ * @return This builder for chaining.
*/
public Builder setTlpAttSeq(int value) {
bitField0_ |= 0x80000000;
@@ -9604,6 +10563,7 @@ public Builder setTlpAttSeq(int value) {
*
*
* optional int32 tlp_att_seq = 32;
+ * @return This builder for chaining.
*/
public Builder clearTlpAttSeq() {
bitField0_ = (bitField0_ & ~0x80000000);
@@ -9619,9 +10579,10 @@ public Builder clearTlpAttSeq() {
*
*
* optional .proto.Payload.TlpDecision tlp_decision = 33;
+ * @return Whether the tlpDecision field is set.
*/
- public boolean hasTlpDecision() {
- return ((bitField1_ & 0x00000001) == 0x00000001);
+ @java.lang.Override public boolean hasTlpDecision() {
+ return ((bitField1_ & 0x00000001) != 0);
}
/**
*
@@ -9629,8 +10590,11 @@ public boolean hasTlpDecision() {
*
*
* optional .proto.Payload.TlpDecision tlp_decision = 33;
+ * @return The tlpDecision.
*/
+ @java.lang.Override
public fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision getTlpDecision() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision result = fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision.valueOf(tlpDecision_);
return result == null ? fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision.ACK : result;
}
@@ -9640,6 +10604,8 @@ public fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision getTlpDecision() {
*
*
* optional .proto.Payload.TlpDecision tlp_decision = 33;
+ * @param value The tlpDecision to set.
+ * @return This builder for chaining.
*/
public Builder setTlpDecision(fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision value) {
if (value == null) {
@@ -9656,6 +10622,7 @@ public Builder setTlpDecision(fi.hsl.common.hfp.proto.Hfp.Payload.TlpDecision va
*
*
* optional .proto.Payload.TlpDecision tlp_decision = 33;
+ * @return This builder for chaining.
*/
public Builder clearTlpDecision() {
bitField1_ = (bitField1_ & ~0x00000001);
@@ -9671,9 +10638,11 @@ public Builder clearTlpDecision() {
*
*
* optional int32 sid = 34;
+ * @return Whether the sid field is set.
*/
+ @java.lang.Override
public boolean hasSid() {
- return ((bitField1_ & 0x00000002) == 0x00000002);
+ return ((bitField1_ & 0x00000002) != 0);
}
/**
*
@@ -9681,7 +10650,9 @@ public boolean hasSid() {
*
*
* optional int32 sid = 34;
+ * @return The sid.
*/
+ @java.lang.Override
public int getSid() {
return sid_;
}
@@ -9691,6 +10662,8 @@ public int getSid() {
*
*
* optional int32 sid = 34;
+ * @param value The sid to set.
+ * @return This builder for chaining.
*/
public Builder setSid(int value) {
bitField1_ |= 0x00000002;
@@ -9704,6 +10677,7 @@ public Builder setSid(int value) {
*
*
* optional int32 sid = 34;
+ * @return This builder for chaining.
*/
public Builder clearSid() {
bitField1_ = (bitField1_ & ~0x00000002);
@@ -9719,9 +10693,11 @@ public Builder clearSid() {
*
*
* optional int32 signal_groupid = 35;
+ * @return Whether the signalGroupid field is set.
*/
+ @java.lang.Override
public boolean hasSignalGroupid() {
- return ((bitField1_ & 0x00000004) == 0x00000004);
+ return ((bitField1_ & 0x00000004) != 0);
}
/**
*
@@ -9729,7 +10705,9 @@ public boolean hasSignalGroupid() {
*
*
* optional int32 signal_groupid = 35;
+ * @return The signalGroupid.
*/
+ @java.lang.Override
public int getSignalGroupid() {
return signalGroupid_;
}
@@ -9739,6 +10717,8 @@ public int getSignalGroupid() {
*
*
* optional int32 signal_groupid = 35;
+ * @param value The signalGroupid to set.
+ * @return This builder for chaining.
*/
public Builder setSignalGroupid(int value) {
bitField1_ |= 0x00000004;
@@ -9752,6 +10732,7 @@ public Builder setSignalGroupid(int value) {
*
*
* optional int32 signal_groupid = 35;
+ * @return This builder for chaining.
*/
public Builder clearSignalGroupid() {
bitField1_ = (bitField1_ & ~0x00000004);
@@ -9767,9 +10748,11 @@ public Builder clearSignalGroupid() {
*
*
* optional int32 tlp_signalgroupnbr = 36;
+ * @return Whether the tlpSignalgroupnbr field is set.
*/
+ @java.lang.Override
public boolean hasTlpSignalgroupnbr() {
- return ((bitField1_ & 0x00000008) == 0x00000008);
+ return ((bitField1_ & 0x00000008) != 0);
}
/**
*
@@ -9777,7 +10760,9 @@ public boolean hasTlpSignalgroupnbr() {
*
*
* optional int32 tlp_signalgroupnbr = 36;
+ * @return The tlpSignalgroupnbr.
*/
+ @java.lang.Override
public int getTlpSignalgroupnbr() {
return tlpSignalgroupnbr_;
}
@@ -9787,6 +10772,8 @@ public int getTlpSignalgroupnbr() {
*
*
* optional int32 tlp_signalgroupnbr = 36;
+ * @param value The tlpSignalgroupnbr to set.
+ * @return This builder for chaining.
*/
public Builder setTlpSignalgroupnbr(int value) {
bitField1_ |= 0x00000008;
@@ -9800,6 +10787,7 @@ public Builder setTlpSignalgroupnbr(int value) {
*
*
* optional int32 tlp_signalgroupnbr = 36;
+ * @return This builder for chaining.
*/
public Builder clearTlpSignalgroupnbr() {
bitField1_ = (bitField1_ & ~0x00000008);
@@ -9815,9 +10803,11 @@ public Builder clearTlpSignalgroupnbr() {
*
*
* optional int32 tlp_line_configid = 38;
+ * @return Whether the tlpLineConfigid field is set.
*/
+ @java.lang.Override
public boolean hasTlpLineConfigid() {
- return ((bitField1_ & 0x00000010) == 0x00000010);
+ return ((bitField1_ & 0x00000010) != 0);
}
/**
*
@@ -9825,7 +10815,9 @@ public boolean hasTlpLineConfigid() {
*
*
* optional int32 tlp_line_configid = 38;
+ * @return The tlpLineConfigid.
*/
+ @java.lang.Override
public int getTlpLineConfigid() {
return tlpLineConfigid_;
}
@@ -9835,6 +10827,8 @@ public int getTlpLineConfigid() {
*
*
* optional int32 tlp_line_configid = 38;
+ * @param value The tlpLineConfigid to set.
+ * @return This builder for chaining.
*/
public Builder setTlpLineConfigid(int value) {
bitField1_ |= 0x00000010;
@@ -9848,6 +10842,7 @@ public Builder setTlpLineConfigid(int value) {
*
*
* optional int32 tlp_line_configid = 38;
+ * @return This builder for chaining.
*/
public Builder clearTlpLineConfigid() {
bitField1_ = (bitField1_ & ~0x00000010);
@@ -9863,9 +10858,11 @@ public Builder clearTlpLineConfigid() {
*
*
* optional int32 tlp_point_configid = 39;
+ * @return Whether the tlpPointConfigid field is set.
*/
+ @java.lang.Override
public boolean hasTlpPointConfigid() {
- return ((bitField1_ & 0x00000020) == 0x00000020);
+ return ((bitField1_ & 0x00000020) != 0);
}
/**
*
@@ -9873,7 +10870,9 @@ public boolean hasTlpPointConfigid() {
*
*
* optional int32 tlp_point_configid = 39;
+ * @return The tlpPointConfigid.
*/
+ @java.lang.Override
public int getTlpPointConfigid() {
return tlpPointConfigid_;
}
@@ -9883,6 +10882,8 @@ public int getTlpPointConfigid() {
*
*
* optional int32 tlp_point_configid = 39;
+ * @param value The tlpPointConfigid to set.
+ * @return This builder for chaining.
*/
public Builder setTlpPointConfigid(int value) {
bitField1_ |= 0x00000020;
@@ -9896,6 +10897,7 @@ public Builder setTlpPointConfigid(int value) {
*
*
* optional int32 tlp_point_configid = 39;
+ * @return This builder for chaining.
*/
public Builder clearTlpPointConfigid() {
bitField1_ = (bitField1_ & ~0x00000020);
@@ -9911,9 +10913,11 @@ public Builder clearTlpPointConfigid() {
*
*
* optional int32 tlp_frequency = 40;
+ * @return Whether the tlpFrequency field is set.
*/
+ @java.lang.Override
public boolean hasTlpFrequency() {
- return ((bitField1_ & 0x00000040) == 0x00000040);
+ return ((bitField1_ & 0x00000040) != 0);
}
/**
*
@@ -9921,7 +10925,9 @@ public boolean hasTlpFrequency() {
*
*
* optional int32 tlp_frequency = 40;
+ * @return The tlpFrequency.
*/
+ @java.lang.Override
public int getTlpFrequency() {
return tlpFrequency_;
}
@@ -9931,6 +10937,8 @@ public int getTlpFrequency() {
*
*
* optional int32 tlp_frequency = 40;
+ * @param value The tlpFrequency to set.
+ * @return This builder for chaining.
*/
public Builder setTlpFrequency(int value) {
bitField1_ |= 0x00000040;
@@ -9944,6 +10952,7 @@ public Builder setTlpFrequency(int value) {
*
*
* optional int32 tlp_frequency = 40;
+ * @return This builder for chaining.
*/
public Builder clearTlpFrequency() {
bitField1_ = (bitField1_ & ~0x00000040);
@@ -9959,9 +10968,10 @@ public Builder clearTlpFrequency() {
*
*
* optional string tlp_protocol = 41;
+ * @return Whether the tlpProtocol field is set.
*/
public boolean hasTlpProtocol() {
- return ((bitField1_ & 0x00000080) == 0x00000080);
+ return ((bitField1_ & 0x00000080) != 0);
}
/**
*
@@ -9969,6 +10979,7 @@ public boolean hasTlpProtocol() {
*
*
* optional string tlp_protocol = 41;
+ * @return The tlpProtocol.
*/
public java.lang.String getTlpProtocol() {
java.lang.Object ref = tlpProtocol_;
@@ -9990,6 +11001,7 @@ public java.lang.String getTlpProtocol() {
*
*
* optional string tlp_protocol = 41;
+ * @return The bytes for tlpProtocol.
*/
public com.google.protobuf.ByteString
getTlpProtocolBytes() {
@@ -10010,6 +11022,8 @@ public java.lang.String getTlpProtocol() {
*
*
* optional string tlp_protocol = 41;
+ * @param value The tlpProtocol to set.
+ * @return This builder for chaining.
*/
public Builder setTlpProtocol(
java.lang.String value) {
@@ -10027,6 +11041,7 @@ public Builder setTlpProtocol(
*
*
* optional string tlp_protocol = 41;
+ * @return This builder for chaining.
*/
public Builder clearTlpProtocol() {
bitField1_ = (bitField1_ & ~0x00000080);
@@ -10040,6 +11055,8 @@ public Builder clearTlpProtocol() {
*
*
* optional string tlp_protocol = 41;
+ * @param value The bytes for tlpProtocol to set.
+ * @return This builder for chaining.
*/
public Builder setTlpProtocolBytes(
com.google.protobuf.ByteString value) {
@@ -10055,12 +11072,14 @@ public Builder setTlpProtocolBytes(
private java.lang.Object label_ = "";
/**
* optional string label = 42;
+ * @return Whether the label field is set.
*/
public boolean hasLabel() {
- return ((bitField1_ & 0x00000100) == 0x00000100);
+ return ((bitField1_ & 0x00000100) != 0);
}
/**
* optional string label = 42;
+ * @return The label.
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
@@ -10078,6 +11097,7 @@ public java.lang.String getLabel() {
}
/**
* optional string label = 42;
+ * @return The bytes for label.
*/
public com.google.protobuf.ByteString
getLabelBytes() {
@@ -10094,6 +11114,8 @@ public java.lang.String getLabel() {
}
/**
* optional string label = 42;
+ * @param value The label to set.
+ * @return This builder for chaining.
*/
public Builder setLabel(
java.lang.String value) {
@@ -10107,6 +11129,7 @@ public Builder setLabel(
}
/**
* optional string label = 42;
+ * @return This builder for chaining.
*/
public Builder clearLabel() {
bitField1_ = (bitField1_ & ~0x00000100);
@@ -10116,6 +11139,8 @@ public Builder clearLabel() {
}
/**
* optional string label = 42;
+ * @param value The bytes for label to set.
+ * @return This builder for chaining.
*/
public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
@@ -10127,11 +11152,13 @@ public Builder setLabelBytes(
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -10153,11 +11180,12 @@ public static fi.hsl.common.hfp.proto.Hfp.Payload getDefaultInstance() {
@java.lang.Deprecated public static final com.google.protobuf.Parserrequired int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
boolean hasSchemaVersion();
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
int getSchemaVersion();
/**
* optional string topic = 2;
+ * @return Whether the topic field is set.
*/
boolean hasTopic();
/**
* optional string topic = 2;
+ * @return The topic.
*/
java.lang.String getTopic();
/**
* optional string topic = 2;
+ * @return The bytes for topic.
*/
com.google.protobuf.ByteString
getTopicBytes();
/**
* optional bytes payload = 3;
+ * @return Whether the payload field is set.
*/
boolean hasPayload();
/**
* optional bytes payload = 3;
+ * @return The payload.
*/
com.google.protobuf.ByteString getPayload();
}
/**
* Protobuf type {@code proto.RawMessage}
*/
- public static final class RawMessage extends
+ public static final class RawMessage extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.RawMessage)
RawMessageOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use RawMessage.newBuilder() to construct.
private RawMessage(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -67,6 +75,13 @@ private RawMessage() {
payload_ = com.google.protobuf.ByteString.EMPTY;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new RawMessage();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
@@ -77,6 +92,9 @@ private RawMessage(
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
@@ -88,13 +106,6 @@ private RawMessage(
case 0:
done = true;
break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
case 8: {
bitField0_ |= 0x00000001;
schemaVersion_ = input.readInt32();
@@ -111,6 +122,13 @@ private RawMessage(
payload_ = input.readBytes();
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -128,6 +146,7 @@ private RawMessage(
return fi.hsl.common.mqtt.proto.Mqtt.internal_static_proto_RawMessage_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return fi.hsl.common.mqtt.proto.Mqtt.internal_static_proto_RawMessage_fieldAccessorTable
@@ -140,13 +159,17 @@ private RawMessage(
private int schemaVersion_;
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
+ @java.lang.Override
public boolean hasSchemaVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
+ @java.lang.Override
public int getSchemaVersion() {
return schemaVersion_;
}
@@ -155,13 +178,17 @@ public int getSchemaVersion() {
private volatile java.lang.Object topic_;
/**
* optional string topic = 2;
+ * @return Whether the topic field is set.
*/
+ @java.lang.Override
public boolean hasTopic() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string topic = 2;
+ * @return The topic.
*/
+ @java.lang.Override
public java.lang.String getTopic() {
java.lang.Object ref = topic_;
if (ref instanceof java.lang.String) {
@@ -178,7 +205,9 @@ public java.lang.String getTopic() {
}
/**
* optional string topic = 2;
+ * @return The bytes for topic.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getTopicBytes() {
java.lang.Object ref = topic_;
@@ -197,18 +226,23 @@ public java.lang.String getTopic() {
private com.google.protobuf.ByteString payload_;
/**
* optional bytes payload = 3;
+ * @return Whether the payload field is set.
*/
+ @java.lang.Override
public boolean hasPayload() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bytes payload = 3;
+ * @return The payload.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -222,33 +256,35 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(1, schemaVersion_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, topic_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
output.writeBytes(3, payload_);
}
unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, schemaVersion_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, payload_);
}
@@ -257,7 +293,6 @@ public int getSerializedSize() {
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -268,24 +303,23 @@ public boolean equals(final java.lang.Object obj) {
}
fi.hsl.common.mqtt.proto.Mqtt.RawMessage other = (fi.hsl.common.mqtt.proto.Mqtt.RawMessage) obj;
- boolean result = true;
- result = result && (hasSchemaVersion() == other.hasSchemaVersion());
+ if (hasSchemaVersion() != other.hasSchemaVersion()) return false;
if (hasSchemaVersion()) {
- result = result && (getSchemaVersion()
- == other.getSchemaVersion());
+ if (getSchemaVersion()
+ != other.getSchemaVersion()) return false;
}
- result = result && (hasTopic() == other.hasTopic());
+ if (hasTopic() != other.hasTopic()) return false;
if (hasTopic()) {
- result = result && getTopic()
- .equals(other.getTopic());
+ if (!getTopic()
+ .equals(other.getTopic())) return false;
}
- result = result && (hasPayload() == other.hasPayload());
+ if (hasPayload() != other.hasPayload()) return false;
if (hasPayload()) {
- result = result && getPayload()
- .equals(other.getPayload());
+ if (!getPayload()
+ .equals(other.getPayload())) return false;
}
- result = result && unknownFields.equals(other.unknownFields);
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -294,7 +328,7 @@ public int hashCode() {
return memoizedHashCode;
}
int hash = 41;
- hash = (19 * hash) + getDescriptorForType().hashCode();
+ hash = (19 * hash) + getDescriptor().hashCode();
if (hasSchemaVersion()) {
hash = (37 * hash) + SCHEMAVERSION_FIELD_NUMBER;
hash = (53 * hash) + getSchemaVersion();
@@ -312,6 +346,17 @@ public int hashCode() {
return hash;
}
+ public static fi.hsl.common.mqtt.proto.Mqtt.RawMessage parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static fi.hsl.common.mqtt.proto.Mqtt.RawMessage parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static fi.hsl.common.mqtt.proto.Mqtt.RawMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -371,6 +416,7 @@ public static fi.hsl.common.mqtt.proto.Mqtt.RawMessage parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -378,6 +424,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(fi.hsl.common.mqtt.proto.Mqtt.RawMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -401,6 +448,7 @@ public static final class Builder extends
return fi.hsl.common.mqtt.proto.Mqtt.internal_static_proto_RawMessage_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return fi.hsl.common.mqtt.proto.Mqtt.internal_static_proto_RawMessage_fieldAccessorTable
@@ -423,6 +471,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
schemaVersion_ = 1;
@@ -434,15 +483,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return fi.hsl.common.mqtt.proto.Mqtt.internal_static_proto_RawMessage_descriptor;
}
+ @java.lang.Override
public fi.hsl.common.mqtt.proto.Mqtt.RawMessage getDefaultInstanceForType() {
return fi.hsl.common.mqtt.proto.Mqtt.RawMessage.getDefaultInstance();
}
+ @java.lang.Override
public fi.hsl.common.mqtt.proto.Mqtt.RawMessage build() {
fi.hsl.common.mqtt.proto.Mqtt.RawMessage result = buildPartial();
if (!result.isInitialized()) {
@@ -451,19 +503,20 @@ public fi.hsl.common.mqtt.proto.Mqtt.RawMessage build() {
return result;
}
+ @java.lang.Override
public fi.hsl.common.mqtt.proto.Mqtt.RawMessage buildPartial() {
fi.hsl.common.mqtt.proto.Mqtt.RawMessage result = new fi.hsl.common.mqtt.proto.Mqtt.RawMessage(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.schemaVersion_ = schemaVersion_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.topic_ = topic_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.payload_ = payload_;
@@ -472,32 +525,39 @@ public fi.hsl.common.mqtt.proto.Mqtt.RawMessage buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof fi.hsl.common.mqtt.proto.Mqtt.RawMessage) {
return mergeFrom((fi.hsl.common.mqtt.proto.Mqtt.RawMessage)other);
@@ -525,6 +585,7 @@ public Builder mergeFrom(fi.hsl.common.mqtt.proto.Mqtt.RawMessage other) {
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
if (!hasSchemaVersion()) {
return false;
@@ -532,6 +593,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -554,18 +616,24 @@ public Builder mergeFrom(
private int schemaVersion_ = 1;
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
+ @java.lang.Override
public boolean hasSchemaVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
+ @java.lang.Override
public int getSchemaVersion() {
return schemaVersion_;
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @param value The schemaVersion to set.
+ * @return This builder for chaining.
*/
public Builder setSchemaVersion(int value) {
bitField0_ |= 0x00000001;
@@ -575,6 +643,7 @@ public Builder setSchemaVersion(int value) {
}
/**
* required int32 SchemaVersion = 1 [default = 1];
+ * @return This builder for chaining.
*/
public Builder clearSchemaVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -586,12 +655,14 @@ public Builder clearSchemaVersion() {
private java.lang.Object topic_ = "";
/**
* optional string topic = 2;
+ * @return Whether the topic field is set.
*/
public boolean hasTopic() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string topic = 2;
+ * @return The topic.
*/
public java.lang.String getTopic() {
java.lang.Object ref = topic_;
@@ -609,6 +680,7 @@ public java.lang.String getTopic() {
}
/**
* optional string topic = 2;
+ * @return The bytes for topic.
*/
public com.google.protobuf.ByteString
getTopicBytes() {
@@ -625,6 +697,8 @@ public java.lang.String getTopic() {
}
/**
* optional string topic = 2;
+ * @param value The topic to set.
+ * @return This builder for chaining.
*/
public Builder setTopic(
java.lang.String value) {
@@ -638,6 +712,7 @@ public Builder setTopic(
}
/**
* optional string topic = 2;
+ * @return This builder for chaining.
*/
public Builder clearTopic() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -647,6 +722,8 @@ public Builder clearTopic() {
}
/**
* optional string topic = 2;
+ * @param value The bytes for topic to set.
+ * @return This builder for chaining.
*/
public Builder setTopicBytes(
com.google.protobuf.ByteString value) {
@@ -662,18 +739,24 @@ public Builder setTopicBytes(
private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes payload = 3;
+ * @return Whether the payload field is set.
*/
+ @java.lang.Override
public boolean hasPayload() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bytes payload = 3;
+ * @return The payload.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getPayload() {
return payload_;
}
/**
* optional bytes payload = 3;
+ * @param value The payload to set.
+ * @return This builder for chaining.
*/
public Builder setPayload(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -686,6 +769,7 @@ public Builder setPayload(com.google.protobuf.ByteString value) {
}
/**
* optional bytes payload = 3;
+ * @return This builder for chaining.
*/
public Builder clearPayload() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -693,11 +777,13 @@ public Builder clearPayload() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -719,11 +805,12 @@ public static fi.hsl.common.mqtt.proto.Mqtt.RawMessage getDefaultInstance() {
@java.lang.Deprecated public static final com.google.protobuf.Parserrequired int64 ekeDate = 1;
+ * @return Whether the ekeDate field is set.
*/
boolean hasEkeDate();
/**
* required int64 ekeDate = 1;
+ * @return The ekeDate.
*/
long getEkeDate();
/**
* required int32 trainNumber = 2;
+ * @return Whether the trainNumber field is set.
*/
boolean hasTrainNumber();
/**
* required int32 trainNumber = 2;
+ * @return The trainNumber.
*/
int getTrainNumber();
/**
* required string topicPart = 3;
+ * @return Whether the topicPart field is set.
*/
boolean hasTopicPart();
/**
* required string topicPart = 3;
+ * @return The topicPart.
*/
java.lang.String getTopicPart();
/**
* required string topicPart = 3;
+ * @return The bytes for topicPart.
*/
com.google.protobuf.ByteString
getTopicPartBytes();
@@ -53,20 +60,26 @@ public interface EkeSummaryOrBuilder extends
/**
* Protobuf type {@code proto.EkeSummary}
*/
- public static final class EkeSummary extends
+ public static final class EkeSummary extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.EkeSummary)
EkeSummaryOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use EkeSummary.newBuilder() to construct.
private EkeSummary(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EkeSummary() {
- ekeDate_ = 0L;
- trainNumber_ = 0;
topicPart_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new EkeSummary();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
@@ -77,6 +90,9 @@ private EkeSummary(
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
@@ -88,13 +104,6 @@ private EkeSummary(
case 0:
done = true;
break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
case 8: {
bitField0_ |= 0x00000001;
ekeDate_ = input.readInt64();
@@ -111,6 +120,13 @@ private EkeSummary(
topicPart_ = bs;
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -128,6 +144,7 @@ private EkeSummary(
return fi.hsl.common.transitdata.proto.Eke.internal_static_proto_EkeSummary_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return fi.hsl.common.transitdata.proto.Eke.internal_static_proto_EkeSummary_fieldAccessorTable
@@ -140,13 +157,17 @@ private EkeSummary(
private long ekeDate_;
/**
* required int64 ekeDate = 1;
+ * @return Whether the ekeDate field is set.
*/
+ @java.lang.Override
public boolean hasEkeDate() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int64 ekeDate = 1;
+ * @return The ekeDate.
*/
+ @java.lang.Override
public long getEkeDate() {
return ekeDate_;
}
@@ -155,13 +176,17 @@ public long getEkeDate() {
private int trainNumber_;
/**
* required int32 trainNumber = 2;
+ * @return Whether the trainNumber field is set.
*/
+ @java.lang.Override
public boolean hasTrainNumber() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* required int32 trainNumber = 2;
+ * @return The trainNumber.
*/
+ @java.lang.Override
public int getTrainNumber() {
return trainNumber_;
}
@@ -170,13 +195,17 @@ public int getTrainNumber() {
private volatile java.lang.Object topicPart_;
/**
* required string topicPart = 3;
+ * @return Whether the topicPart field is set.
*/
+ @java.lang.Override
public boolean hasTopicPart() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* required string topicPart = 3;
+ * @return The topicPart.
*/
+ @java.lang.Override
public java.lang.String getTopicPart() {
java.lang.Object ref = topicPart_;
if (ref instanceof java.lang.String) {
@@ -193,7 +222,9 @@ public java.lang.String getTopicPart() {
}
/**
* required string topicPart = 3;
+ * @return The bytes for topicPart.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getTopicPartBytes() {
java.lang.Object ref = topicPart_;
@@ -209,6 +240,7 @@ public java.lang.String getTopicPart() {
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -230,34 +262,36 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, ekeDate_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, trainNumber_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, topicPart_);
}
unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, ekeDate_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, trainNumber_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, topicPart_);
}
size += unknownFields.getSerializedSize();
@@ -265,7 +299,6 @@ public int getSerializedSize() {
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -276,24 +309,23 @@ public boolean equals(final java.lang.Object obj) {
}
fi.hsl.common.transitdata.proto.Eke.EkeSummary other = (fi.hsl.common.transitdata.proto.Eke.EkeSummary) obj;
- boolean result = true;
- result = result && (hasEkeDate() == other.hasEkeDate());
+ if (hasEkeDate() != other.hasEkeDate()) return false;
if (hasEkeDate()) {
- result = result && (getEkeDate()
- == other.getEkeDate());
+ if (getEkeDate()
+ != other.getEkeDate()) return false;
}
- result = result && (hasTrainNumber() == other.hasTrainNumber());
+ if (hasTrainNumber() != other.hasTrainNumber()) return false;
if (hasTrainNumber()) {
- result = result && (getTrainNumber()
- == other.getTrainNumber());
+ if (getTrainNumber()
+ != other.getTrainNumber()) return false;
}
- result = result && (hasTopicPart() == other.hasTopicPart());
+ if (hasTopicPart() != other.hasTopicPart()) return false;
if (hasTopicPart()) {
- result = result && getTopicPart()
- .equals(other.getTopicPart());
+ if (!getTopicPart()
+ .equals(other.getTopicPart())) return false;
}
- result = result && unknownFields.equals(other.unknownFields);
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -302,7 +334,7 @@ public int hashCode() {
return memoizedHashCode;
}
int hash = 41;
- hash = (19 * hash) + getDescriptorForType().hashCode();
+ hash = (19 * hash) + getDescriptor().hashCode();
if (hasEkeDate()) {
hash = (37 * hash) + EKEDATE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
@@ -321,6 +353,17 @@ public int hashCode() {
return hash;
}
+ public static fi.hsl.common.transitdata.proto.Eke.EkeSummary parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static fi.hsl.common.transitdata.proto.Eke.EkeSummary parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static fi.hsl.common.transitdata.proto.Eke.EkeSummary parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -380,6 +423,7 @@ public static fi.hsl.common.transitdata.proto.Eke.EkeSummary parseFrom(
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -387,6 +431,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(fi.hsl.common.transitdata.proto.Eke.EkeSummary prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -410,6 +455,7 @@ public static final class Builder extends
return fi.hsl.common.transitdata.proto.Eke.internal_static_proto_EkeSummary_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return fi.hsl.common.transitdata.proto.Eke.internal_static_proto_EkeSummary_fieldAccessorTable
@@ -432,6 +478,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
ekeDate_ = 0L;
@@ -443,15 +490,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return fi.hsl.common.transitdata.proto.Eke.internal_static_proto_EkeSummary_descriptor;
}
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.Eke.EkeSummary getDefaultInstanceForType() {
return fi.hsl.common.transitdata.proto.Eke.EkeSummary.getDefaultInstance();
}
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.Eke.EkeSummary build() {
fi.hsl.common.transitdata.proto.Eke.EkeSummary result = buildPartial();
if (!result.isInitialized()) {
@@ -460,19 +510,20 @@ public fi.hsl.common.transitdata.proto.Eke.EkeSummary build() {
return result;
}
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.Eke.EkeSummary buildPartial() {
fi.hsl.common.transitdata.proto.Eke.EkeSummary result = new fi.hsl.common.transitdata.proto.Eke.EkeSummary(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.ekeDate_ = ekeDate_;
to_bitField0_ |= 0x00000001;
}
- result.ekeDate_ = ekeDate_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.trainNumber_ = trainNumber_;
to_bitField0_ |= 0x00000002;
}
- result.trainNumber_ = trainNumber_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.topicPart_ = topicPart_;
@@ -481,32 +532,39 @@ public fi.hsl.common.transitdata.proto.Eke.EkeSummary buildPartial() {
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof fi.hsl.common.transitdata.proto.Eke.EkeSummary) {
return mergeFrom((fi.hsl.common.transitdata.proto.Eke.EkeSummary)other);
@@ -534,6 +592,7 @@ public Builder mergeFrom(fi.hsl.common.transitdata.proto.Eke.EkeSummary other) {
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
if (!hasEkeDate()) {
return false;
@@ -547,6 +606,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -569,18 +629,24 @@ public Builder mergeFrom(
private long ekeDate_ ;
/**
* required int64 ekeDate = 1;
+ * @return Whether the ekeDate field is set.
*/
+ @java.lang.Override
public boolean hasEkeDate() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
* required int64 ekeDate = 1;
+ * @return The ekeDate.
*/
+ @java.lang.Override
public long getEkeDate() {
return ekeDate_;
}
/**
* required int64 ekeDate = 1;
+ * @param value The ekeDate to set.
+ * @return This builder for chaining.
*/
public Builder setEkeDate(long value) {
bitField0_ |= 0x00000001;
@@ -590,6 +656,7 @@ public Builder setEkeDate(long value) {
}
/**
* required int64 ekeDate = 1;
+ * @return This builder for chaining.
*/
public Builder clearEkeDate() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -601,18 +668,24 @@ public Builder clearEkeDate() {
private int trainNumber_ ;
/**
* required int32 trainNumber = 2;
+ * @return Whether the trainNumber field is set.
*/
+ @java.lang.Override
public boolean hasTrainNumber() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* required int32 trainNumber = 2;
+ * @return The trainNumber.
*/
+ @java.lang.Override
public int getTrainNumber() {
return trainNumber_;
}
/**
* required int32 trainNumber = 2;
+ * @param value The trainNumber to set.
+ * @return This builder for chaining.
*/
public Builder setTrainNumber(int value) {
bitField0_ |= 0x00000002;
@@ -622,6 +695,7 @@ public Builder setTrainNumber(int value) {
}
/**
* required int32 trainNumber = 2;
+ * @return This builder for chaining.
*/
public Builder clearTrainNumber() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -633,12 +707,14 @@ public Builder clearTrainNumber() {
private java.lang.Object topicPart_ = "";
/**
* required string topicPart = 3;
+ * @return Whether the topicPart field is set.
*/
public boolean hasTopicPart() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* required string topicPart = 3;
+ * @return The topicPart.
*/
public java.lang.String getTopicPart() {
java.lang.Object ref = topicPart_;
@@ -656,6 +732,7 @@ public java.lang.String getTopicPart() {
}
/**
* required string topicPart = 3;
+ * @return The bytes for topicPart.
*/
public com.google.protobuf.ByteString
getTopicPartBytes() {
@@ -672,6 +749,8 @@ public java.lang.String getTopicPart() {
}
/**
* required string topicPart = 3;
+ * @param value The topicPart to set.
+ * @return This builder for chaining.
*/
public Builder setTopicPart(
java.lang.String value) {
@@ -685,6 +764,7 @@ public Builder setTopicPart(
}
/**
* required string topicPart = 3;
+ * @return This builder for chaining.
*/
public Builder clearTopicPart() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -694,6 +774,8 @@ public Builder clearTopicPart() {
}
/**
* required string topicPart = 3;
+ * @param value The bytes for topicPart to set.
+ * @return This builder for chaining.
*/
public Builder setTopicPartBytes(
com.google.protobuf.ByteString value) {
@@ -705,11 +787,13 @@ public Builder setTopicPartBytes(
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -731,11 +815,12 @@ public static fi.hsl.common.transitdata.proto.Eke.EkeSummary getDefaultInstance(
@java.lang.Deprecated public static final com.google.protobuf.Parserrepeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ java.util.Listrepeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity getAffectedDisruptionRoutes(int index);
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ int getAffectedDisruptionRoutesCount();
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ java.util.List extends fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntityOrBuilder>
+ getAffectedDisruptionRoutesOrBuilderList();
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntityOrBuilder getAffectedDisruptionRoutesOrBuilder(
+ int index);
}
/**
* Protobuf type {@code proto.Bulletin}
@@ -12740,6 +12764,7 @@ private Bulletin() {
titles_ = java.util.Collections.emptyList();
descriptions_ = java.util.Collections.emptyList();
urls_ = java.util.Collections.emptyList();
+ affectedDisruptionRoutes_ = java.util.Collections.emptyList();
}
@java.lang.Override
@@ -12890,6 +12915,15 @@ private Bulletin(
displayOnly_ = input.readBool();
break;
}
+ case 130: {
+ if (!((mutable_bitField0_ & 0x00008000) != 0)) {
+ affectedDisruptionRoutes_ = new java.util.ArrayListrepeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ @java.lang.Override
+ public java.util.List extends fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntityOrBuilder>
+ getAffectedDisruptionRoutesOrBuilderList() {
+ return affectedDisruptionRoutes_;
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ @java.lang.Override
+ public int getAffectedDisruptionRoutesCount() {
+ return affectedDisruptionRoutes_.size();
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ @java.lang.Override
+ public fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity getAffectedDisruptionRoutes(int index) {
+ return affectedDisruptionRoutes_.get(index);
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ @java.lang.Override
+ public fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntityOrBuilder getAffectedDisruptionRoutesOrBuilder(
+ int index) {
+ return affectedDisruptionRoutes_.get(index);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -15131,6 +15208,12 @@ public final boolean isInitialized() {
return false;
}
}
+ for (int i = 0; i < getAffectedDisruptionRoutesCount(); i++) {
+ if (!getAffectedDisruptionRoutes(i).isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
memoizedIsInitialized = 1;
return true;
}
@@ -15183,6 +15266,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (((bitField0_ & 0x00000200) != 0)) {
output.writeBool(15, displayOnly_);
}
+ for (int i = 0; i < affectedDisruptionRoutes_.size(); i++) {
+ output.writeMessage(16, affectedDisruptionRoutes_.get(i));
+ }
unknownFields.writeTo(output);
}
@@ -15251,6 +15337,10 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(15, displayOnly_);
}
+ for (int i = 0; i < affectedDisruptionRoutes_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(16, affectedDisruptionRoutes_.get(i));
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -15323,6 +15413,8 @@ public boolean equals(final java.lang.Object obj) {
if (getDisplayOnly()
!= other.getDisplayOnly()) return false;
}
+ if (!getAffectedDisruptionRoutesList()
+ .equals(other.getAffectedDisruptionRoutesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -15400,6 +15492,10 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDisplayOnly());
}
+ if (getAffectedDisruptionRoutesCount() > 0) {
+ hash = (37 * hash) + AFFECTED_DISRUPTION_ROUTES_FIELD_NUMBER;
+ hash = (53 * hash) + getAffectedDisruptionRoutesList().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -15533,6 +15629,7 @@ private void maybeForceBuilderInitialization() {
getTitlesFieldBuilder();
getDescriptionsFieldBuilder();
getUrlsFieldBuilder();
+ getAffectedDisruptionRoutesFieldBuilder();
}
}
@java.lang.Override
@@ -15588,6 +15685,12 @@ public Builder clear() {
}
displayOnly_ = false;
bitField0_ = (bitField0_ & ~0x00004000);
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ affectedDisruptionRoutes_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00008000);
+ } else {
+ affectedDisruptionRoutesBuilder_.clear();
+ }
return this;
}
@@ -15701,6 +15804,15 @@ public fi.hsl.common.transitdata.proto.InternalMessages.Bulletin buildPartial()
result.displayOnly_ = displayOnly_;
to_bitField0_ |= 0x00000200;
}
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ if (((bitField0_ & 0x00008000) != 0)) {
+ affectedDisruptionRoutes_ = java.util.Collections.unmodifiableList(affectedDisruptionRoutes_);
+ bitField0_ = (bitField0_ & ~0x00008000);
+ }
+ result.affectedDisruptionRoutes_ = affectedDisruptionRoutes_;
+ } else {
+ result.affectedDisruptionRoutes_ = affectedDisruptionRoutesBuilder_.build();
+ }
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -15912,6 +16024,32 @@ public Builder mergeFrom(fi.hsl.common.transitdata.proto.InternalMessages.Bullet
if (other.hasDisplayOnly()) {
setDisplayOnly(other.getDisplayOnly());
}
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ if (!other.affectedDisruptionRoutes_.isEmpty()) {
+ if (affectedDisruptionRoutes_.isEmpty()) {
+ affectedDisruptionRoutes_ = other.affectedDisruptionRoutes_;
+ bitField0_ = (bitField0_ & ~0x00008000);
+ } else {
+ ensureAffectedDisruptionRoutesIsMutable();
+ affectedDisruptionRoutes_.addAll(other.affectedDisruptionRoutes_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.affectedDisruptionRoutes_.isEmpty()) {
+ if (affectedDisruptionRoutesBuilder_.isEmpty()) {
+ affectedDisruptionRoutesBuilder_.dispose();
+ affectedDisruptionRoutesBuilder_ = null;
+ affectedDisruptionRoutes_ = other.affectedDisruptionRoutes_;
+ bitField0_ = (bitField0_ & ~0x00008000);
+ affectedDisruptionRoutesBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+ getAffectedDisruptionRoutesFieldBuilder() : null;
+ } else {
+ affectedDisruptionRoutesBuilder_.addAllMessages(other.affectedDisruptionRoutes_);
+ }
+ }
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -15953,6 +16091,11 @@ public final boolean isInitialized() {
return false;
}
}
+ for (int i = 0; i < getAffectedDisruptionRoutesCount(); i++) {
+ if (!getAffectedDisruptionRoutes(i).isInitialized()) {
+ return false;
+ }
+ }
return true;
}
@@ -17638,6 +17781,246 @@ public Builder clearDisplayOnly() {
onChanged();
return this;
}
+
+ private java.util.Listrepeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public java.util.Listrepeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public int getAffectedDisruptionRoutesCount() {
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ return affectedDisruptionRoutes_.size();
+ } else {
+ return affectedDisruptionRoutesBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity getAffectedDisruptionRoutes(int index) {
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ return affectedDisruptionRoutes_.get(index);
+ } else {
+ return affectedDisruptionRoutesBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public Builder setAffectedDisruptionRoutes(
+ int index, fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity value) {
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAffectedDisruptionRoutesIsMutable();
+ affectedDisruptionRoutes_.set(index, value);
+ onChanged();
+ } else {
+ affectedDisruptionRoutesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public Builder setAffectedDisruptionRoutes(
+ int index, fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity.Builder builderForValue) {
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ ensureAffectedDisruptionRoutesIsMutable();
+ affectedDisruptionRoutes_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ affectedDisruptionRoutesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public Builder addAffectedDisruptionRoutes(fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity value) {
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAffectedDisruptionRoutesIsMutable();
+ affectedDisruptionRoutes_.add(value);
+ onChanged();
+ } else {
+ affectedDisruptionRoutesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public Builder addAffectedDisruptionRoutes(
+ int index, fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity value) {
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAffectedDisruptionRoutesIsMutable();
+ affectedDisruptionRoutes_.add(index, value);
+ onChanged();
+ } else {
+ affectedDisruptionRoutesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public Builder addAffectedDisruptionRoutes(
+ fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity.Builder builderForValue) {
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ ensureAffectedDisruptionRoutesIsMutable();
+ affectedDisruptionRoutes_.add(builderForValue.build());
+ onChanged();
+ } else {
+ affectedDisruptionRoutesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public Builder addAffectedDisruptionRoutes(
+ int index, fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity.Builder builderForValue) {
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ ensureAffectedDisruptionRoutesIsMutable();
+ affectedDisruptionRoutes_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ affectedDisruptionRoutesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public Builder addAllAffectedDisruptionRoutes(
+ java.lang.Iterable extends fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity> values) {
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ ensureAffectedDisruptionRoutesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, affectedDisruptionRoutes_);
+ onChanged();
+ } else {
+ affectedDisruptionRoutesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public Builder clearAffectedDisruptionRoutes() {
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ affectedDisruptionRoutes_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00008000);
+ onChanged();
+ } else {
+ affectedDisruptionRoutesBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public Builder removeAffectedDisruptionRoutes(int index) {
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ ensureAffectedDisruptionRoutesIsMutable();
+ affectedDisruptionRoutes_.remove(index);
+ onChanged();
+ } else {
+ affectedDisruptionRoutesBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity.Builder getAffectedDisruptionRoutesBuilder(
+ int index) {
+ return getAffectedDisruptionRoutesFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntityOrBuilder getAffectedDisruptionRoutesOrBuilder(
+ int index) {
+ if (affectedDisruptionRoutesBuilder_ == null) {
+ return affectedDisruptionRoutes_.get(index); } else {
+ return affectedDisruptionRoutesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public java.util.List extends fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntityOrBuilder>
+ getAffectedDisruptionRoutesOrBuilderList() {
+ if (affectedDisruptionRoutesBuilder_ != null) {
+ return affectedDisruptionRoutesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(affectedDisruptionRoutes_);
+ }
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity.Builder addAffectedDisruptionRoutesBuilder() {
+ return getAffectedDisruptionRoutesFieldBuilder().addBuilder(
+ fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity.getDefaultInstance());
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity.Builder addAffectedDisruptionRoutesBuilder(
+ int index) {
+ return getAffectedDisruptionRoutesFieldBuilder().addBuilder(
+ index, fi.hsl.common.transitdata.proto.InternalMessages.Bulletin.AffectedEntity.getDefaultInstance());
+ }
+ /**
+ * repeated .proto.Bulletin.AffectedEntity affected_disruption_routes = 16;
+ */
+ public java.util.Listrequired string station = 1;
+ * @return Whether the station field is set.
*/
boolean hasStation();
/**
@@ -230,6 +243,7 @@ public interface MetroStopEstimateOrBuilder extends
*
*
* required string station = 1;
+ * @return The station.
*/
java.lang.String getStation();
/**
@@ -238,152 +252,183 @@ public interface MetroStopEstimateOrBuilder extends
*
*
* required string station = 1;
+ * @return The bytes for station.
*/
com.google.protobuf.ByteString
getStationBytes();
/**
* required string platform = 2;
+ * @return Whether the platform field is set.
*/
boolean hasPlatform();
/**
* required string platform = 2;
+ * @return The platform.
*/
java.lang.String getPlatform();
/**
* required string platform = 2;
+ * @return The bytes for platform.
*/
com.google.protobuf.ByteString
getPlatformBytes();
/**
* required string arrival_time_planned = 3;
+ * @return Whether the arrivalTimePlanned field is set.
*/
boolean hasArrivalTimePlanned();
/**
* required string arrival_time_planned = 3;
+ * @return The arrivalTimePlanned.
*/
java.lang.String getArrivalTimePlanned();
/**
* required string arrival_time_planned = 3;
+ * @return The bytes for arrivalTimePlanned.
*/
com.google.protobuf.ByteString
getArrivalTimePlannedBytes();
/**
* optional string arrival_time_forecast = 4;
+ * @return Whether the arrivalTimeForecast field is set.
*/
boolean hasArrivalTimeForecast();
/**
* optional string arrival_time_forecast = 4;
+ * @return The arrivalTimeForecast.
*/
java.lang.String getArrivalTimeForecast();
/**
* optional string arrival_time_forecast = 4;
+ * @return The bytes for arrivalTimeForecast.
*/
com.google.protobuf.ByteString
getArrivalTimeForecastBytes();
/**
* optional string arrival_time_measured = 5;
+ * @return Whether the arrivalTimeMeasured field is set.
*/
boolean hasArrivalTimeMeasured();
/**
* optional string arrival_time_measured = 5;
+ * @return The arrivalTimeMeasured.
*/
java.lang.String getArrivalTimeMeasured();
/**
* optional string arrival_time_measured = 5;
+ * @return The bytes for arrivalTimeMeasured.
*/
com.google.protobuf.ByteString
getArrivalTimeMeasuredBytes();
/**
* required string departure_time_planned = 6;
+ * @return Whether the departureTimePlanned field is set.
*/
boolean hasDepartureTimePlanned();
/**
* required string departure_time_planned = 6;
+ * @return The departureTimePlanned.
*/
java.lang.String getDepartureTimePlanned();
/**
* required string departure_time_planned = 6;
+ * @return The bytes for departureTimePlanned.
*/
com.google.protobuf.ByteString
getDepartureTimePlannedBytes();
/**
* optional string departure_time_forecast = 7;
+ * @return Whether the departureTimeForecast field is set.
*/
boolean hasDepartureTimeForecast();
/**
* optional string departure_time_forecast = 7;
+ * @return The departureTimeForecast.
*/
java.lang.String getDepartureTimeForecast();
/**
* optional string departure_time_forecast = 7;
+ * @return The bytes for departureTimeForecast.
*/
com.google.protobuf.ByteString
getDepartureTimeForecastBytes();
/**
* optional string departure_time_measured = 8;
+ * @return Whether the departureTimeMeasured field is set.
*/
boolean hasDepartureTimeMeasured();
/**
* optional string departure_time_measured = 8;
+ * @return The departureTimeMeasured.
*/
java.lang.String getDepartureTimeMeasured();
/**
* optional string departure_time_measured = 8;
+ * @return The bytes for departureTimeMeasured.
*/
com.google.protobuf.ByteString
getDepartureTimeMeasuredBytes();
/**
* required string source = 9;
+ * @return Whether the source field is set.
*/
boolean hasSource();
/**
* required string source = 9;
+ * @return The source.
*/
java.lang.String getSource();
/**
* required string source = 9;
+ * @return The bytes for source.
*/
com.google.protobuf.ByteString
getSourceBytes();
/**
* required string stop_number = 10;
+ * @return Whether the stopNumber field is set.
*/
boolean hasStopNumber();
/**
* required string stop_number = 10;
+ * @return The stopNumber.
*/
java.lang.String getStopNumber();
/**
* required string stop_number = 10;
+ * @return The bytes for stopNumber.
*/
com.google.protobuf.ByteString
getStopNumberBytes();
/**
* optional .proto.MetroProgress row_progress = 11;
+ * @return Whether the rowProgress field is set.
*/
boolean hasRowProgress();
/**
* optional .proto.MetroProgress row_progress = 11;
+ * @return The rowProgress.
*/
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress getRowProgress();
}
/**
* Protobuf type {@code proto.MetroStopEstimate}
*/
- public static final class MetroStopEstimate extends
+ public static final class MetroStopEstimate extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.MetroStopEstimate)
MetroStopEstimateOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use MetroStopEstimate.newBuilder() to construct.
private MetroStopEstimate(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -402,6 +447,13 @@ private MetroStopEstimate() {
rowProgress_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new MetroStopEstimate();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
@@ -412,6 +464,9 @@ private MetroStopEstimate(
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
@@ -423,13 +478,6 @@ private MetroStopEstimate(
case 0:
done = true;
break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
@@ -492,6 +540,7 @@ private MetroStopEstimate(
}
case 88: {
int rawValue = input.readEnum();
+ @SuppressWarnings("deprecation")
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress value = fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(11, rawValue);
@@ -501,6 +550,13 @@ private MetroStopEstimate(
}
break;
}
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -518,6 +574,7 @@ private MetroStopEstimate(
return fi.hsl.common.transitdata.proto.MetroAtsProtos.internal_static_proto_MetroStopEstimate_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return fi.hsl.common.transitdata.proto.MetroAtsProtos.internal_static_proto_MetroStopEstimate_fieldAccessorTable
@@ -534,9 +591,11 @@ private MetroStopEstimate(
*
*
* required string station = 1;
+ * @return Whether the station field is set.
*/
+ @java.lang.Override
public boolean hasStation() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -544,7 +603,9 @@ public boolean hasStation() {
*
*
* required string station = 1;
+ * @return The station.
*/
+ @java.lang.Override
public java.lang.String getStation() {
java.lang.Object ref = station_;
if (ref instanceof java.lang.String) {
@@ -565,7 +626,9 @@ public java.lang.String getStation() {
*
*
* required string station = 1;
+ * @return The bytes for station.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStationBytes() {
java.lang.Object ref = station_;
@@ -584,13 +647,17 @@ public java.lang.String getStation() {
private volatile java.lang.Object platform_;
/**
* required string platform = 2;
+ * @return Whether the platform field is set.
*/
+ @java.lang.Override
public boolean hasPlatform() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* required string platform = 2;
+ * @return The platform.
*/
+ @java.lang.Override
public java.lang.String getPlatform() {
java.lang.Object ref = platform_;
if (ref instanceof java.lang.String) {
@@ -607,7 +674,9 @@ public java.lang.String getPlatform() {
}
/**
* required string platform = 2;
+ * @return The bytes for platform.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getPlatformBytes() {
java.lang.Object ref = platform_;
@@ -626,13 +695,17 @@ public java.lang.String getPlatform() {
private volatile java.lang.Object arrivalTimePlanned_;
/**
* required string arrival_time_planned = 3;
+ * @return Whether the arrivalTimePlanned field is set.
*/
+ @java.lang.Override
public boolean hasArrivalTimePlanned() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* required string arrival_time_planned = 3;
+ * @return The arrivalTimePlanned.
*/
+ @java.lang.Override
public java.lang.String getArrivalTimePlanned() {
java.lang.Object ref = arrivalTimePlanned_;
if (ref instanceof java.lang.String) {
@@ -649,7 +722,9 @@ public java.lang.String getArrivalTimePlanned() {
}
/**
* required string arrival_time_planned = 3;
+ * @return The bytes for arrivalTimePlanned.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getArrivalTimePlannedBytes() {
java.lang.Object ref = arrivalTimePlanned_;
@@ -668,13 +743,17 @@ public java.lang.String getArrivalTimePlanned() {
private volatile java.lang.Object arrivalTimeForecast_;
/**
* optional string arrival_time_forecast = 4;
+ * @return Whether the arrivalTimeForecast field is set.
*/
+ @java.lang.Override
public boolean hasArrivalTimeForecast() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string arrival_time_forecast = 4;
+ * @return The arrivalTimeForecast.
*/
+ @java.lang.Override
public java.lang.String getArrivalTimeForecast() {
java.lang.Object ref = arrivalTimeForecast_;
if (ref instanceof java.lang.String) {
@@ -691,7 +770,9 @@ public java.lang.String getArrivalTimeForecast() {
}
/**
* optional string arrival_time_forecast = 4;
+ * @return The bytes for arrivalTimeForecast.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getArrivalTimeForecastBytes() {
java.lang.Object ref = arrivalTimeForecast_;
@@ -710,13 +791,17 @@ public java.lang.String getArrivalTimeForecast() {
private volatile java.lang.Object arrivalTimeMeasured_;
/**
* optional string arrival_time_measured = 5;
+ * @return Whether the arrivalTimeMeasured field is set.
*/
+ @java.lang.Override
public boolean hasArrivalTimeMeasured() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string arrival_time_measured = 5;
+ * @return The arrivalTimeMeasured.
*/
+ @java.lang.Override
public java.lang.String getArrivalTimeMeasured() {
java.lang.Object ref = arrivalTimeMeasured_;
if (ref instanceof java.lang.String) {
@@ -733,7 +818,9 @@ public java.lang.String getArrivalTimeMeasured() {
}
/**
* optional string arrival_time_measured = 5;
+ * @return The bytes for arrivalTimeMeasured.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getArrivalTimeMeasuredBytes() {
java.lang.Object ref = arrivalTimeMeasured_;
@@ -752,13 +839,17 @@ public java.lang.String getArrivalTimeMeasured() {
private volatile java.lang.Object departureTimePlanned_;
/**
* required string departure_time_planned = 6;
+ * @return Whether the departureTimePlanned field is set.
*/
+ @java.lang.Override
public boolean hasDepartureTimePlanned() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
* required string departure_time_planned = 6;
+ * @return The departureTimePlanned.
*/
+ @java.lang.Override
public java.lang.String getDepartureTimePlanned() {
java.lang.Object ref = departureTimePlanned_;
if (ref instanceof java.lang.String) {
@@ -775,7 +866,9 @@ public java.lang.String getDepartureTimePlanned() {
}
/**
* required string departure_time_planned = 6;
+ * @return The bytes for departureTimePlanned.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getDepartureTimePlannedBytes() {
java.lang.Object ref = departureTimePlanned_;
@@ -794,13 +887,17 @@ public java.lang.String getDepartureTimePlanned() {
private volatile java.lang.Object departureTimeForecast_;
/**
* optional string departure_time_forecast = 7;
+ * @return Whether the departureTimeForecast field is set.
*/
+ @java.lang.Override
public boolean hasDepartureTimeForecast() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string departure_time_forecast = 7;
+ * @return The departureTimeForecast.
*/
+ @java.lang.Override
public java.lang.String getDepartureTimeForecast() {
java.lang.Object ref = departureTimeForecast_;
if (ref instanceof java.lang.String) {
@@ -817,7 +914,9 @@ public java.lang.String getDepartureTimeForecast() {
}
/**
* optional string departure_time_forecast = 7;
+ * @return The bytes for departureTimeForecast.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getDepartureTimeForecastBytes() {
java.lang.Object ref = departureTimeForecast_;
@@ -836,13 +935,17 @@ public java.lang.String getDepartureTimeForecast() {
private volatile java.lang.Object departureTimeMeasured_;
/**
* optional string departure_time_measured = 8;
+ * @return Whether the departureTimeMeasured field is set.
*/
+ @java.lang.Override
public boolean hasDepartureTimeMeasured() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string departure_time_measured = 8;
+ * @return The departureTimeMeasured.
*/
+ @java.lang.Override
public java.lang.String getDepartureTimeMeasured() {
java.lang.Object ref = departureTimeMeasured_;
if (ref instanceof java.lang.String) {
@@ -859,7 +962,9 @@ public java.lang.String getDepartureTimeMeasured() {
}
/**
* optional string departure_time_measured = 8;
+ * @return The bytes for departureTimeMeasured.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getDepartureTimeMeasuredBytes() {
java.lang.Object ref = departureTimeMeasured_;
@@ -878,13 +983,17 @@ public java.lang.String getDepartureTimeMeasured() {
private volatile java.lang.Object source_;
/**
* required string source = 9;
+ * @return Whether the source field is set.
*/
+ @java.lang.Override
public boolean hasSource() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
* required string source = 9;
+ * @return The source.
*/
+ @java.lang.Override
public java.lang.String getSource() {
java.lang.Object ref = source_;
if (ref instanceof java.lang.String) {
@@ -901,7 +1010,9 @@ public java.lang.String getSource() {
}
/**
* required string source = 9;
+ * @return The bytes for source.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
@@ -920,13 +1031,17 @@ public java.lang.String getSource() {
private volatile java.lang.Object stopNumber_;
/**
* required string stop_number = 10;
+ * @return Whether the stopNumber field is set.
*/
+ @java.lang.Override
public boolean hasStopNumber() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
* required string stop_number = 10;
+ * @return The stopNumber.
*/
+ @java.lang.Override
public java.lang.String getStopNumber() {
java.lang.Object ref = stopNumber_;
if (ref instanceof java.lang.String) {
@@ -943,7 +1058,9 @@ public java.lang.String getStopNumber() {
}
/**
* required string stop_number = 10;
+ * @return The bytes for stopNumber.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStopNumberBytes() {
java.lang.Object ref = stopNumber_;
@@ -962,19 +1079,23 @@ public java.lang.String getStopNumber() {
private int rowProgress_;
/**
* optional .proto.MetroProgress row_progress = 11;
+ * @return Whether the rowProgress field is set.
*/
- public boolean hasRowProgress() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ @java.lang.Override public boolean hasRowProgress() {
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional .proto.MetroProgress row_progress = 11;
+ * @return The rowProgress.
*/
- public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress getRowProgress() {
+ @java.lang.Override public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress getRowProgress() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress result = fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress.valueOf(rowProgress_);
return result == null ? fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress.SCHEDULED : result;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -1008,80 +1129,82 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, station_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, platform_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, arrivalTimePlanned_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, arrivalTimeForecast_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, arrivalTimeMeasured_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, departureTimePlanned_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, departureTimeForecast_);
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, departureTimeMeasured_);
}
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, source_);
}
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((bitField0_ & 0x00000200) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, stopNumber_);
}
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
+ if (((bitField0_ & 0x00000400) != 0)) {
output.writeEnum(11, rowProgress_);
}
unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, station_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, platform_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, arrivalTimePlanned_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, arrivalTimeForecast_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, arrivalTimeMeasured_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, departureTimePlanned_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, departureTimeForecast_);
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, departureTimeMeasured_);
}
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, source_);
}
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, stopNumber_);
}
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
+ if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(11, rowProgress_);
}
@@ -1090,7 +1213,6 @@ public int getSerializedSize() {
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -1101,63 +1223,62 @@ public boolean equals(final java.lang.Object obj) {
}
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate other = (fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate) obj;
- boolean result = true;
- result = result && (hasStation() == other.hasStation());
+ if (hasStation() != other.hasStation()) return false;
if (hasStation()) {
- result = result && getStation()
- .equals(other.getStation());
+ if (!getStation()
+ .equals(other.getStation())) return false;
}
- result = result && (hasPlatform() == other.hasPlatform());
+ if (hasPlatform() != other.hasPlatform()) return false;
if (hasPlatform()) {
- result = result && getPlatform()
- .equals(other.getPlatform());
+ if (!getPlatform()
+ .equals(other.getPlatform())) return false;
}
- result = result && (hasArrivalTimePlanned() == other.hasArrivalTimePlanned());
+ if (hasArrivalTimePlanned() != other.hasArrivalTimePlanned()) return false;
if (hasArrivalTimePlanned()) {
- result = result && getArrivalTimePlanned()
- .equals(other.getArrivalTimePlanned());
+ if (!getArrivalTimePlanned()
+ .equals(other.getArrivalTimePlanned())) return false;
}
- result = result && (hasArrivalTimeForecast() == other.hasArrivalTimeForecast());
+ if (hasArrivalTimeForecast() != other.hasArrivalTimeForecast()) return false;
if (hasArrivalTimeForecast()) {
- result = result && getArrivalTimeForecast()
- .equals(other.getArrivalTimeForecast());
+ if (!getArrivalTimeForecast()
+ .equals(other.getArrivalTimeForecast())) return false;
}
- result = result && (hasArrivalTimeMeasured() == other.hasArrivalTimeMeasured());
+ if (hasArrivalTimeMeasured() != other.hasArrivalTimeMeasured()) return false;
if (hasArrivalTimeMeasured()) {
- result = result && getArrivalTimeMeasured()
- .equals(other.getArrivalTimeMeasured());
+ if (!getArrivalTimeMeasured()
+ .equals(other.getArrivalTimeMeasured())) return false;
}
- result = result && (hasDepartureTimePlanned() == other.hasDepartureTimePlanned());
+ if (hasDepartureTimePlanned() != other.hasDepartureTimePlanned()) return false;
if (hasDepartureTimePlanned()) {
- result = result && getDepartureTimePlanned()
- .equals(other.getDepartureTimePlanned());
+ if (!getDepartureTimePlanned()
+ .equals(other.getDepartureTimePlanned())) return false;
}
- result = result && (hasDepartureTimeForecast() == other.hasDepartureTimeForecast());
+ if (hasDepartureTimeForecast() != other.hasDepartureTimeForecast()) return false;
if (hasDepartureTimeForecast()) {
- result = result && getDepartureTimeForecast()
- .equals(other.getDepartureTimeForecast());
+ if (!getDepartureTimeForecast()
+ .equals(other.getDepartureTimeForecast())) return false;
}
- result = result && (hasDepartureTimeMeasured() == other.hasDepartureTimeMeasured());
+ if (hasDepartureTimeMeasured() != other.hasDepartureTimeMeasured()) return false;
if (hasDepartureTimeMeasured()) {
- result = result && getDepartureTimeMeasured()
- .equals(other.getDepartureTimeMeasured());
+ if (!getDepartureTimeMeasured()
+ .equals(other.getDepartureTimeMeasured())) return false;
}
- result = result && (hasSource() == other.hasSource());
+ if (hasSource() != other.hasSource()) return false;
if (hasSource()) {
- result = result && getSource()
- .equals(other.getSource());
+ if (!getSource()
+ .equals(other.getSource())) return false;
}
- result = result && (hasStopNumber() == other.hasStopNumber());
+ if (hasStopNumber() != other.hasStopNumber()) return false;
if (hasStopNumber()) {
- result = result && getStopNumber()
- .equals(other.getStopNumber());
+ if (!getStopNumber()
+ .equals(other.getStopNumber())) return false;
}
- result = result && (hasRowProgress() == other.hasRowProgress());
+ if (hasRowProgress() != other.hasRowProgress()) return false;
if (hasRowProgress()) {
- result = result && rowProgress_ == other.rowProgress_;
+ if (rowProgress_ != other.rowProgress_) return false;
}
- result = result && unknownFields.equals(other.unknownFields);
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -1166,7 +1287,7 @@ public int hashCode() {
return memoizedHashCode;
}
int hash = 41;
- hash = (19 * hash) + getDescriptorForType().hashCode();
+ hash = (19 * hash) + getDescriptor().hashCode();
if (hasStation()) {
hash = (37 * hash) + STATION_FIELD_NUMBER;
hash = (53 * hash) + getStation().hashCode();
@@ -1216,6 +1337,17 @@ public int hashCode() {
return hash;
}
+ public static fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -1275,6 +1407,7 @@ public static fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate p
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -1282,6 +1415,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -1305,6 +1439,7 @@ public static final class Builder extends
return fi.hsl.common.transitdata.proto.MetroAtsProtos.internal_static_proto_MetroStopEstimate_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return fi.hsl.common.transitdata.proto.MetroAtsProtos.internal_static_proto_MetroStopEstimate_fieldAccessorTable
@@ -1327,6 +1462,7 @@ private void maybeForceBuilderInitialization() {
.alwaysUseFieldBuilders) {
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
station_ = "";
@@ -1354,15 +1490,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return fi.hsl.common.transitdata.proto.MetroAtsProtos.internal_static_proto_MetroStopEstimate_descriptor;
}
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate getDefaultInstanceForType() {
return fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate.getDefaultInstance();
}
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate build() {
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate result = buildPartial();
if (!result.isInitialized()) {
@@ -1371,51 +1510,52 @@ public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate build()
return result;
}
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate buildPartial() {
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate result = new fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.station_ = station_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((from_bitField0_ & 0x00000002) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.platform_ = platform_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.arrivalTimePlanned_ = arrivalTimePlanned_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.arrivalTimeForecast_ = arrivalTimeForecast_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.arrivalTimeMeasured_ = arrivalTimeMeasured_;
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.departureTimePlanned_ = departureTimePlanned_;
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((from_bitField0_ & 0x00000040) != 0)) {
to_bitField0_ |= 0x00000040;
}
result.departureTimeForecast_ = departureTimeForecast_;
- if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((from_bitField0_ & 0x00000080) != 0)) {
to_bitField0_ |= 0x00000080;
}
result.departureTimeMeasured_ = departureTimeMeasured_;
- if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((from_bitField0_ & 0x00000100) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.source_ = source_;
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((from_bitField0_ & 0x00000200) != 0)) {
to_bitField0_ |= 0x00000200;
}
result.stopNumber_ = stopNumber_;
- if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
+ if (((from_bitField0_ & 0x00000400) != 0)) {
to_bitField0_ |= 0x00000400;
}
result.rowProgress_ = rowProgress_;
@@ -1424,32 +1564,39 @@ public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate buildPar
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate) {
return mergeFrom((fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate)other);
@@ -1519,6 +1666,7 @@ public Builder mergeFrom(fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroSto
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
if (!hasStation()) {
return false;
@@ -1541,6 +1689,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1567,9 +1716,10 @@ public Builder mergeFrom(
*
*
* required string station = 1;
+ * @return Whether the station field is set.
*/
public boolean hasStation() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -1577,6 +1727,7 @@ public boolean hasStation() {
*
*
* required string station = 1;
+ * @return The station.
*/
public java.lang.String getStation() {
java.lang.Object ref = station_;
@@ -1598,6 +1749,7 @@ public java.lang.String getStation() {
*
*
* required string station = 1;
+ * @return The bytes for station.
*/
public com.google.protobuf.ByteString
getStationBytes() {
@@ -1618,6 +1770,8 @@ public java.lang.String getStation() {
*
*
* required string station = 1;
+ * @param value The station to set.
+ * @return This builder for chaining.
*/
public Builder setStation(
java.lang.String value) {
@@ -1635,6 +1789,7 @@ public Builder setStation(
*
*
* required string station = 1;
+ * @return This builder for chaining.
*/
public Builder clearStation() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -1648,6 +1803,8 @@ public Builder clearStation() {
*
*
* required string station = 1;
+ * @param value The bytes for station to set.
+ * @return This builder for chaining.
*/
public Builder setStationBytes(
com.google.protobuf.ByteString value) {
@@ -1663,12 +1820,14 @@ public Builder setStationBytes(
private java.lang.Object platform_ = "";
/**
* required string platform = 2;
+ * @return Whether the platform field is set.
*/
public boolean hasPlatform() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* required string platform = 2;
+ * @return The platform.
*/
public java.lang.String getPlatform() {
java.lang.Object ref = platform_;
@@ -1686,6 +1845,7 @@ public java.lang.String getPlatform() {
}
/**
* required string platform = 2;
+ * @return The bytes for platform.
*/
public com.google.protobuf.ByteString
getPlatformBytes() {
@@ -1702,6 +1862,8 @@ public java.lang.String getPlatform() {
}
/**
* required string platform = 2;
+ * @param value The platform to set.
+ * @return This builder for chaining.
*/
public Builder setPlatform(
java.lang.String value) {
@@ -1715,6 +1877,7 @@ public Builder setPlatform(
}
/**
* required string platform = 2;
+ * @return This builder for chaining.
*/
public Builder clearPlatform() {
bitField0_ = (bitField0_ & ~0x00000002);
@@ -1724,6 +1887,8 @@ public Builder clearPlatform() {
}
/**
* required string platform = 2;
+ * @param value The bytes for platform to set.
+ * @return This builder for chaining.
*/
public Builder setPlatformBytes(
com.google.protobuf.ByteString value) {
@@ -1739,12 +1904,14 @@ public Builder setPlatformBytes(
private java.lang.Object arrivalTimePlanned_ = "";
/**
* required string arrival_time_planned = 3;
+ * @return Whether the arrivalTimePlanned field is set.
*/
public boolean hasArrivalTimePlanned() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* required string arrival_time_planned = 3;
+ * @return The arrivalTimePlanned.
*/
public java.lang.String getArrivalTimePlanned() {
java.lang.Object ref = arrivalTimePlanned_;
@@ -1762,6 +1929,7 @@ public java.lang.String getArrivalTimePlanned() {
}
/**
* required string arrival_time_planned = 3;
+ * @return The bytes for arrivalTimePlanned.
*/
public com.google.protobuf.ByteString
getArrivalTimePlannedBytes() {
@@ -1778,6 +1946,8 @@ public java.lang.String getArrivalTimePlanned() {
}
/**
* required string arrival_time_planned = 3;
+ * @param value The arrivalTimePlanned to set.
+ * @return This builder for chaining.
*/
public Builder setArrivalTimePlanned(
java.lang.String value) {
@@ -1791,6 +1961,7 @@ public Builder setArrivalTimePlanned(
}
/**
* required string arrival_time_planned = 3;
+ * @return This builder for chaining.
*/
public Builder clearArrivalTimePlanned() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -1800,6 +1971,8 @@ public Builder clearArrivalTimePlanned() {
}
/**
* required string arrival_time_planned = 3;
+ * @param value The bytes for arrivalTimePlanned to set.
+ * @return This builder for chaining.
*/
public Builder setArrivalTimePlannedBytes(
com.google.protobuf.ByteString value) {
@@ -1815,12 +1988,14 @@ public Builder setArrivalTimePlannedBytes(
private java.lang.Object arrivalTimeForecast_ = "";
/**
* optional string arrival_time_forecast = 4;
+ * @return Whether the arrivalTimeForecast field is set.
*/
public boolean hasArrivalTimeForecast() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional string arrival_time_forecast = 4;
+ * @return The arrivalTimeForecast.
*/
public java.lang.String getArrivalTimeForecast() {
java.lang.Object ref = arrivalTimeForecast_;
@@ -1838,6 +2013,7 @@ public java.lang.String getArrivalTimeForecast() {
}
/**
* optional string arrival_time_forecast = 4;
+ * @return The bytes for arrivalTimeForecast.
*/
public com.google.protobuf.ByteString
getArrivalTimeForecastBytes() {
@@ -1854,6 +2030,8 @@ public java.lang.String getArrivalTimeForecast() {
}
/**
* optional string arrival_time_forecast = 4;
+ * @param value The arrivalTimeForecast to set.
+ * @return This builder for chaining.
*/
public Builder setArrivalTimeForecast(
java.lang.String value) {
@@ -1867,6 +2045,7 @@ public Builder setArrivalTimeForecast(
}
/**
* optional string arrival_time_forecast = 4;
+ * @return This builder for chaining.
*/
public Builder clearArrivalTimeForecast() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -1876,6 +2055,8 @@ public Builder clearArrivalTimeForecast() {
}
/**
* optional string arrival_time_forecast = 4;
+ * @param value The bytes for arrivalTimeForecast to set.
+ * @return This builder for chaining.
*/
public Builder setArrivalTimeForecastBytes(
com.google.protobuf.ByteString value) {
@@ -1891,12 +2072,14 @@ public Builder setArrivalTimeForecastBytes(
private java.lang.Object arrivalTimeMeasured_ = "";
/**
* optional string arrival_time_measured = 5;
+ * @return Whether the arrivalTimeMeasured field is set.
*/
public boolean hasArrivalTimeMeasured() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string arrival_time_measured = 5;
+ * @return The arrivalTimeMeasured.
*/
public java.lang.String getArrivalTimeMeasured() {
java.lang.Object ref = arrivalTimeMeasured_;
@@ -1914,6 +2097,7 @@ public java.lang.String getArrivalTimeMeasured() {
}
/**
* optional string arrival_time_measured = 5;
+ * @return The bytes for arrivalTimeMeasured.
*/
public com.google.protobuf.ByteString
getArrivalTimeMeasuredBytes() {
@@ -1930,6 +2114,8 @@ public java.lang.String getArrivalTimeMeasured() {
}
/**
* optional string arrival_time_measured = 5;
+ * @param value The arrivalTimeMeasured to set.
+ * @return This builder for chaining.
*/
public Builder setArrivalTimeMeasured(
java.lang.String value) {
@@ -1943,6 +2129,7 @@ public Builder setArrivalTimeMeasured(
}
/**
* optional string arrival_time_measured = 5;
+ * @return This builder for chaining.
*/
public Builder clearArrivalTimeMeasured() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -1952,6 +2139,8 @@ public Builder clearArrivalTimeMeasured() {
}
/**
* optional string arrival_time_measured = 5;
+ * @param value The bytes for arrivalTimeMeasured to set.
+ * @return This builder for chaining.
*/
public Builder setArrivalTimeMeasuredBytes(
com.google.protobuf.ByteString value) {
@@ -1967,12 +2156,14 @@ public Builder setArrivalTimeMeasuredBytes(
private java.lang.Object departureTimePlanned_ = "";
/**
* required string departure_time_planned = 6;
+ * @return Whether the departureTimePlanned field is set.
*/
public boolean hasDepartureTimePlanned() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
* required string departure_time_planned = 6;
+ * @return The departureTimePlanned.
*/
public java.lang.String getDepartureTimePlanned() {
java.lang.Object ref = departureTimePlanned_;
@@ -1990,6 +2181,7 @@ public java.lang.String getDepartureTimePlanned() {
}
/**
* required string departure_time_planned = 6;
+ * @return The bytes for departureTimePlanned.
*/
public com.google.protobuf.ByteString
getDepartureTimePlannedBytes() {
@@ -2006,6 +2198,8 @@ public java.lang.String getDepartureTimePlanned() {
}
/**
* required string departure_time_planned = 6;
+ * @param value The departureTimePlanned to set.
+ * @return This builder for chaining.
*/
public Builder setDepartureTimePlanned(
java.lang.String value) {
@@ -2019,6 +2213,7 @@ public Builder setDepartureTimePlanned(
}
/**
* required string departure_time_planned = 6;
+ * @return This builder for chaining.
*/
public Builder clearDepartureTimePlanned() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -2028,6 +2223,8 @@ public Builder clearDepartureTimePlanned() {
}
/**
* required string departure_time_planned = 6;
+ * @param value The bytes for departureTimePlanned to set.
+ * @return This builder for chaining.
*/
public Builder setDepartureTimePlannedBytes(
com.google.protobuf.ByteString value) {
@@ -2043,12 +2240,14 @@ public Builder setDepartureTimePlannedBytes(
private java.lang.Object departureTimeForecast_ = "";
/**
* optional string departure_time_forecast = 7;
+ * @return Whether the departureTimeForecast field is set.
*/
public boolean hasDepartureTimeForecast() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string departure_time_forecast = 7;
+ * @return The departureTimeForecast.
*/
public java.lang.String getDepartureTimeForecast() {
java.lang.Object ref = departureTimeForecast_;
@@ -2066,6 +2265,7 @@ public java.lang.String getDepartureTimeForecast() {
}
/**
* optional string departure_time_forecast = 7;
+ * @return The bytes for departureTimeForecast.
*/
public com.google.protobuf.ByteString
getDepartureTimeForecastBytes() {
@@ -2082,6 +2282,8 @@ public java.lang.String getDepartureTimeForecast() {
}
/**
* optional string departure_time_forecast = 7;
+ * @param value The departureTimeForecast to set.
+ * @return This builder for chaining.
*/
public Builder setDepartureTimeForecast(
java.lang.String value) {
@@ -2095,6 +2297,7 @@ public Builder setDepartureTimeForecast(
}
/**
* optional string departure_time_forecast = 7;
+ * @return This builder for chaining.
*/
public Builder clearDepartureTimeForecast() {
bitField0_ = (bitField0_ & ~0x00000040);
@@ -2104,6 +2307,8 @@ public Builder clearDepartureTimeForecast() {
}
/**
* optional string departure_time_forecast = 7;
+ * @param value The bytes for departureTimeForecast to set.
+ * @return This builder for chaining.
*/
public Builder setDepartureTimeForecastBytes(
com.google.protobuf.ByteString value) {
@@ -2119,12 +2324,14 @@ public Builder setDepartureTimeForecastBytes(
private java.lang.Object departureTimeMeasured_ = "";
/**
* optional string departure_time_measured = 8;
+ * @return Whether the departureTimeMeasured field is set.
*/
public boolean hasDepartureTimeMeasured() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string departure_time_measured = 8;
+ * @return The departureTimeMeasured.
*/
public java.lang.String getDepartureTimeMeasured() {
java.lang.Object ref = departureTimeMeasured_;
@@ -2142,6 +2349,7 @@ public java.lang.String getDepartureTimeMeasured() {
}
/**
* optional string departure_time_measured = 8;
+ * @return The bytes for departureTimeMeasured.
*/
public com.google.protobuf.ByteString
getDepartureTimeMeasuredBytes() {
@@ -2158,6 +2366,8 @@ public java.lang.String getDepartureTimeMeasured() {
}
/**
* optional string departure_time_measured = 8;
+ * @param value The departureTimeMeasured to set.
+ * @return This builder for chaining.
*/
public Builder setDepartureTimeMeasured(
java.lang.String value) {
@@ -2171,6 +2381,7 @@ public Builder setDepartureTimeMeasured(
}
/**
* optional string departure_time_measured = 8;
+ * @return This builder for chaining.
*/
public Builder clearDepartureTimeMeasured() {
bitField0_ = (bitField0_ & ~0x00000080);
@@ -2180,6 +2391,8 @@ public Builder clearDepartureTimeMeasured() {
}
/**
* optional string departure_time_measured = 8;
+ * @param value The bytes for departureTimeMeasured to set.
+ * @return This builder for chaining.
*/
public Builder setDepartureTimeMeasuredBytes(
com.google.protobuf.ByteString value) {
@@ -2195,12 +2408,14 @@ public Builder setDepartureTimeMeasuredBytes(
private java.lang.Object source_ = "";
/**
* required string source = 9;
+ * @return Whether the source field is set.
*/
public boolean hasSource() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
* required string source = 9;
+ * @return The source.
*/
public java.lang.String getSource() {
java.lang.Object ref = source_;
@@ -2218,6 +2433,7 @@ public java.lang.String getSource() {
}
/**
* required string source = 9;
+ * @return The bytes for source.
*/
public com.google.protobuf.ByteString
getSourceBytes() {
@@ -2234,6 +2450,8 @@ public java.lang.String getSource() {
}
/**
* required string source = 9;
+ * @param value The source to set.
+ * @return This builder for chaining.
*/
public Builder setSource(
java.lang.String value) {
@@ -2247,6 +2465,7 @@ public Builder setSource(
}
/**
* required string source = 9;
+ * @return This builder for chaining.
*/
public Builder clearSource() {
bitField0_ = (bitField0_ & ~0x00000100);
@@ -2256,6 +2475,8 @@ public Builder clearSource() {
}
/**
* required string source = 9;
+ * @param value The bytes for source to set.
+ * @return This builder for chaining.
*/
public Builder setSourceBytes(
com.google.protobuf.ByteString value) {
@@ -2271,12 +2492,14 @@ public Builder setSourceBytes(
private java.lang.Object stopNumber_ = "";
/**
* required string stop_number = 10;
+ * @return Whether the stopNumber field is set.
*/
public boolean hasStopNumber() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
* required string stop_number = 10;
+ * @return The stopNumber.
*/
public java.lang.String getStopNumber() {
java.lang.Object ref = stopNumber_;
@@ -2294,6 +2517,7 @@ public java.lang.String getStopNumber() {
}
/**
* required string stop_number = 10;
+ * @return The bytes for stopNumber.
*/
public com.google.protobuf.ByteString
getStopNumberBytes() {
@@ -2310,6 +2534,8 @@ public java.lang.String getStopNumber() {
}
/**
* required string stop_number = 10;
+ * @param value The stopNumber to set.
+ * @return This builder for chaining.
*/
public Builder setStopNumber(
java.lang.String value) {
@@ -2323,6 +2549,7 @@ public Builder setStopNumber(
}
/**
* required string stop_number = 10;
+ * @return This builder for chaining.
*/
public Builder clearStopNumber() {
bitField0_ = (bitField0_ & ~0x00000200);
@@ -2332,6 +2559,8 @@ public Builder clearStopNumber() {
}
/**
* required string stop_number = 10;
+ * @param value The bytes for stopNumber to set.
+ * @return This builder for chaining.
*/
public Builder setStopNumberBytes(
com.google.protobuf.ByteString value) {
@@ -2347,19 +2576,25 @@ public Builder setStopNumberBytes(
private int rowProgress_ = 0;
/**
* optional .proto.MetroProgress row_progress = 11;
+ * @return Whether the rowProgress field is set.
*/
- public boolean hasRowProgress() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ @java.lang.Override public boolean hasRowProgress() {
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional .proto.MetroProgress row_progress = 11;
+ * @return The rowProgress.
*/
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress getRowProgress() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress result = fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress.valueOf(rowProgress_);
return result == null ? fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress.SCHEDULED : result;
}
/**
* optional .proto.MetroProgress row_progress = 11;
+ * @param value The rowProgress to set.
+ * @return This builder for chaining.
*/
public Builder setRowProgress(fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress value) {
if (value == null) {
@@ -2372,6 +2607,7 @@ public Builder setRowProgress(fi.hsl.common.transitdata.proto.MetroAtsProtos.Met
}
/**
* optional .proto.MetroProgress row_progress = 11;
+ * @return This builder for chaining.
*/
public Builder clearRowProgress() {
bitField0_ = (bitField0_ & ~0x00000400);
@@ -2379,11 +2615,13 @@ public Builder clearRowProgress() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -2405,11 +2643,12 @@ public static fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate g
@java.lang.Deprecated public static final com.google.protobuf.Parserrequired int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
boolean hasSchemaVersion();
/**
@@ -2446,6 +2687,7 @@ public interface MetroEstimateOrBuilder extends
*
*
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
int getSchemaVersion();
@@ -2475,60 +2717,73 @@ fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimateOrBuilder getMet
/**
* required .proto.MetroTrainType train_type = 3;
+ * @return Whether the trainType field is set.
*/
boolean hasTrainType();
/**
* required .proto.MetroTrainType train_type = 3;
+ * @return The trainType.
*/
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroTrainType getTrainType();
/**
* required .proto.MetroProgress journey_sectionprogress = 4;
+ * @return Whether the journeySectionprogress field is set.
*/
boolean hasJourneySectionprogress();
/**
* required .proto.MetroProgress journey_sectionprogress = 4;
+ * @return The journeySectionprogress.
*/
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress getJourneySectionprogress();
/**
* required string begin_time = 5;
+ * @return Whether the beginTime field is set.
*/
boolean hasBeginTime();
/**
* required string begin_time = 5;
+ * @return The beginTime.
*/
java.lang.String getBeginTime();
/**
* required string begin_time = 5;
+ * @return The bytes for beginTime.
*/
com.google.protobuf.ByteString
getBeginTimeBytes();
/**
* required string end_time = 6;
+ * @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
* required string end_time = 6;
+ * @return The endTime.
*/
java.lang.String getEndTime();
/**
* required string end_time = 6;
+ * @return The bytes for endTime.
*/
com.google.protobuf.ByteString
getEndTimeBytes();
/**
* required string start_stop_short_name = 7;
+ * @return Whether the startStopShortName field is set.
*/
boolean hasStartStopShortName();
/**
* required string start_stop_short_name = 7;
+ * @return The startStopShortName.
*/
java.lang.String getStartStopShortName();
/**
* required string start_stop_short_name = 7;
+ * @return The bytes for startStopShortName.
*/
com.google.protobuf.ByteString
getStartStopShortNameBytes();
@@ -2539,6 +2794,7 @@ fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimateOrBuilder getMet
*
*
* optional string operating_day = 8;
+ * @return Whether the operatingDay field is set.
*/
boolean hasOperatingDay();
/**
@@ -2547,6 +2803,7 @@ fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimateOrBuilder getMet
*
*
* optional string operating_day = 8;
+ * @return The operatingDay.
*/
java.lang.String getOperatingDay();
/**
@@ -2555,90 +2812,109 @@ fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimateOrBuilder getMet
*
*
* optional string operating_day = 8;
+ * @return The bytes for operatingDay.
*/
com.google.protobuf.ByteString
getOperatingDayBytes();
/**
* optional string start_stop_number = 9;
+ * @return Whether the startStopNumber field is set.
*/
boolean hasStartStopNumber();
/**
* optional string start_stop_number = 9;
+ * @return The startStopNumber.
*/
java.lang.String getStartStopNumber();
/**
* optional string start_stop_number = 9;
+ * @return The bytes for startStopNumber.
*/
com.google.protobuf.ByteString
getStartStopNumberBytes();
/**
* optional string start_time = 10;
+ * @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
* optional string start_time = 10;
+ * @return The startTime.
*/
java.lang.String getStartTime();
/**
* optional string start_time = 10;
+ * @return The bytes for startTime.
*/
com.google.protobuf.ByteString
getStartTimeBytes();
/**
* optional string dvj_id = 11;
+ * @return Whether the dvjId field is set.
*/
boolean hasDvjId();
/**
* optional string dvj_id = 11;
+ * @return The dvjId.
*/
java.lang.String getDvjId();
/**
* optional string dvj_id = 11;
+ * @return The bytes for dvjId.
*/
com.google.protobuf.ByteString
getDvjIdBytes();
/**
* optional string route_name = 12;
+ * @return Whether the routeName field is set.
*/
boolean hasRouteName();
/**
* optional string route_name = 12;
+ * @return The routeName.
*/
java.lang.String getRouteName();
/**
* optional string route_name = 12;
+ * @return The bytes for routeName.
*/
com.google.protobuf.ByteString
getRouteNameBytes();
/**
* optional string start_datetime = 13;
+ * @return Whether the startDatetime field is set.
*/
boolean hasStartDatetime();
/**
* optional string start_datetime = 13;
+ * @return The startDatetime.
*/
java.lang.String getStartDatetime();
/**
* optional string start_datetime = 13;
+ * @return The bytes for startDatetime.
*/
com.google.protobuf.ByteString
getStartDatetimeBytes();
/**
* optional string direction = 14;
+ * @return Whether the direction field is set.
*/
boolean hasDirection();
/**
* optional string direction = 14;
+ * @return The direction.
*/
java.lang.String getDirection();
/**
* optional string direction = 14;
+ * @return The bytes for direction.
*/
com.google.protobuf.ByteString
getDirectionBytes();
@@ -2649,6 +2925,7 @@ fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimateOrBuilder getMet
*
*
* optional bool scheduled = 15;
+ * @return Whether the scheduled field is set.
*/
boolean hasScheduled();
/**
@@ -2657,16 +2934,18 @@ fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimateOrBuilder getMet
*
*
* optional bool scheduled = 15;
+ * @return The scheduled.
*/
boolean getScheduled();
}
/**
* Protobuf type {@code proto.MetroEstimate}
*/
- public static final class MetroEstimate extends
+ public static final class MetroEstimate extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:proto.MetroEstimate)
MetroEstimateOrBuilder {
+ private static final long serialVersionUID = 0L;
// Use MetroEstimate.newBuilder() to construct.
private MetroEstimate(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
@@ -2686,7 +2965,13 @@ private MetroEstimate() {
routeName_ = "";
startDatetime_ = "";
direction_ = "";
- scheduled_ = false;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new MetroEstimate();
}
@java.lang.Override
@@ -2699,6 +2984,9 @@ private MetroEstimate(
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
@@ -2710,20 +2998,13 @@ private MetroEstimate(
case 0:
done = true;
break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
case 8: {
bitField0_ |= 0x00000001;
schemaVersion_ = input.readInt32();
break;
}
case 18: {
- if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
metroRows_ = new java.util.ArrayListrequired int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
+ @java.lang.Override
public boolean hasSchemaVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -2864,7 +3157,9 @@ public boolean hasSchemaVersion() {
*
*
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
+ @java.lang.Override
public int getSchemaVersion() {
return schemaVersion_;
}
@@ -2874,12 +3169,14 @@ public int getSchemaVersion() {
/**
* repeated .proto.MetroStopEstimate metro_rows = 2;
*/
+ @java.lang.Override
public java.util.Listrepeated .proto.MetroStopEstimate metro_rows = 2;
*/
+ @java.lang.Override
public java.util.List extends fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimateOrBuilder>
getMetroRowsOrBuilderList() {
return metroRows_;
@@ -2887,18 +3184,21 @@ public java.util.Listrepeated .proto.MetroStopEstimate metro_rows = 2;
*/
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimate getMetroRows(int index) {
return metroRows_.get(index);
}
/**
* repeated .proto.MetroStopEstimate metro_rows = 2;
*/
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimateOrBuilder getMetroRowsOrBuilder(
int index) {
return metroRows_.get(index);
@@ -2908,14 +3208,17 @@ public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroStopEstimateOrBuilder
private int trainType_;
/**
* required .proto.MetroTrainType train_type = 3;
+ * @return Whether the trainType field is set.
*/
- public boolean hasTrainType() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ @java.lang.Override public boolean hasTrainType() {
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
* required .proto.MetroTrainType train_type = 3;
+ * @return The trainType.
*/
- public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroTrainType getTrainType() {
+ @java.lang.Override public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroTrainType getTrainType() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroTrainType result = fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroTrainType.valueOf(trainType_);
return result == null ? fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroTrainType.M : result;
}
@@ -2924,14 +3227,17 @@ public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroTrainType getTrainTyp
private int journeySectionprogress_;
/**
* required .proto.MetroProgress journey_sectionprogress = 4;
+ * @return Whether the journeySectionprogress field is set.
*/
- public boolean hasJourneySectionprogress() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ @java.lang.Override public boolean hasJourneySectionprogress() {
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* required .proto.MetroProgress journey_sectionprogress = 4;
+ * @return The journeySectionprogress.
*/
- public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress getJourneySectionprogress() {
+ @java.lang.Override public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress getJourneySectionprogress() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress result = fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress.valueOf(journeySectionprogress_);
return result == null ? fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress.SCHEDULED : result;
}
@@ -2940,13 +3246,17 @@ public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress getJourneySe
private volatile java.lang.Object beginTime_;
/**
* required string begin_time = 5;
+ * @return Whether the beginTime field is set.
*/
+ @java.lang.Override
public boolean hasBeginTime() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* required string begin_time = 5;
+ * @return The beginTime.
*/
+ @java.lang.Override
public java.lang.String getBeginTime() {
java.lang.Object ref = beginTime_;
if (ref instanceof java.lang.String) {
@@ -2963,7 +3273,9 @@ public java.lang.String getBeginTime() {
}
/**
* required string begin_time = 5;
+ * @return The bytes for beginTime.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getBeginTimeBytes() {
java.lang.Object ref = beginTime_;
@@ -2982,13 +3294,17 @@ public java.lang.String getBeginTime() {
private volatile java.lang.Object endTime_;
/**
* required string end_time = 6;
+ * @return Whether the endTime field is set.
*/
+ @java.lang.Override
public boolean hasEndTime() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* required string end_time = 6;
+ * @return The endTime.
*/
+ @java.lang.Override
public java.lang.String getEndTime() {
java.lang.Object ref = endTime_;
if (ref instanceof java.lang.String) {
@@ -3005,7 +3321,9 @@ public java.lang.String getEndTime() {
}
/**
* required string end_time = 6;
+ * @return The bytes for endTime.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getEndTimeBytes() {
java.lang.Object ref = endTime_;
@@ -3024,13 +3342,17 @@ public java.lang.String getEndTime() {
private volatile java.lang.Object startStopShortName_;
/**
* required string start_stop_short_name = 7;
+ * @return Whether the startStopShortName field is set.
*/
+ @java.lang.Override
public boolean hasStartStopShortName() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
* required string start_stop_short_name = 7;
+ * @return The startStopShortName.
*/
+ @java.lang.Override
public java.lang.String getStartStopShortName() {
java.lang.Object ref = startStopShortName_;
if (ref instanceof java.lang.String) {
@@ -3047,7 +3369,9 @@ public java.lang.String getStartStopShortName() {
}
/**
* required string start_stop_short_name = 7;
+ * @return The bytes for startStopShortName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStartStopShortNameBytes() {
java.lang.Object ref = startStopShortName_;
@@ -3070,9 +3394,11 @@ public java.lang.String getStartStopShortName() {
*
*
* optional string operating_day = 8;
+ * @return Whether the operatingDay field is set.
*/
+ @java.lang.Override
public boolean hasOperatingDay() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -3080,7 +3406,9 @@ public boolean hasOperatingDay() {
*
*
* optional string operating_day = 8;
+ * @return The operatingDay.
*/
+ @java.lang.Override
public java.lang.String getOperatingDay() {
java.lang.Object ref = operatingDay_;
if (ref instanceof java.lang.String) {
@@ -3101,7 +3429,9 @@ public java.lang.String getOperatingDay() {
*
*
* optional string operating_day = 8;
+ * @return The bytes for operatingDay.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getOperatingDayBytes() {
java.lang.Object ref = operatingDay_;
@@ -3120,13 +3450,17 @@ public java.lang.String getOperatingDay() {
private volatile java.lang.Object startStopNumber_;
/**
* optional string start_stop_number = 9;
+ * @return Whether the startStopNumber field is set.
*/
+ @java.lang.Override
public boolean hasStartStopNumber() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
* optional string start_stop_number = 9;
+ * @return The startStopNumber.
*/
+ @java.lang.Override
public java.lang.String getStartStopNumber() {
java.lang.Object ref = startStopNumber_;
if (ref instanceof java.lang.String) {
@@ -3143,7 +3477,9 @@ public java.lang.String getStartStopNumber() {
}
/**
* optional string start_stop_number = 9;
+ * @return The bytes for startStopNumber.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStartStopNumberBytes() {
java.lang.Object ref = startStopNumber_;
@@ -3162,13 +3498,17 @@ public java.lang.String getStartStopNumber() {
private volatile java.lang.Object startTime_;
/**
* optional string start_time = 10;
+ * @return Whether the startTime field is set.
*/
+ @java.lang.Override
public boolean hasStartTime() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string start_time = 10;
+ * @return The startTime.
*/
+ @java.lang.Override
public java.lang.String getStartTime() {
java.lang.Object ref = startTime_;
if (ref instanceof java.lang.String) {
@@ -3185,7 +3525,9 @@ public java.lang.String getStartTime() {
}
/**
* optional string start_time = 10;
+ * @return The bytes for startTime.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStartTimeBytes() {
java.lang.Object ref = startTime_;
@@ -3204,13 +3546,17 @@ public java.lang.String getStartTime() {
private volatile java.lang.Object dvjId_;
/**
* optional string dvj_id = 11;
+ * @return Whether the dvjId field is set.
*/
+ @java.lang.Override
public boolean hasDvjId() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional string dvj_id = 11;
+ * @return The dvjId.
*/
+ @java.lang.Override
public java.lang.String getDvjId() {
java.lang.Object ref = dvjId_;
if (ref instanceof java.lang.String) {
@@ -3227,7 +3573,9 @@ public java.lang.String getDvjId() {
}
/**
* optional string dvj_id = 11;
+ * @return The bytes for dvjId.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getDvjIdBytes() {
java.lang.Object ref = dvjId_;
@@ -3246,13 +3594,17 @@ public java.lang.String getDvjId() {
private volatile java.lang.Object routeName_;
/**
* optional string route_name = 12;
+ * @return Whether the routeName field is set.
*/
+ @java.lang.Override
public boolean hasRouteName() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional string route_name = 12;
+ * @return The routeName.
*/
+ @java.lang.Override
public java.lang.String getRouteName() {
java.lang.Object ref = routeName_;
if (ref instanceof java.lang.String) {
@@ -3269,7 +3621,9 @@ public java.lang.String getRouteName() {
}
/**
* optional string route_name = 12;
+ * @return The bytes for routeName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getRouteNameBytes() {
java.lang.Object ref = routeName_;
@@ -3288,13 +3642,17 @@ public java.lang.String getRouteName() {
private volatile java.lang.Object startDatetime_;
/**
* optional string start_datetime = 13;
+ * @return Whether the startDatetime field is set.
*/
+ @java.lang.Override
public boolean hasStartDatetime() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional string start_datetime = 13;
+ * @return The startDatetime.
*/
+ @java.lang.Override
public java.lang.String getStartDatetime() {
java.lang.Object ref = startDatetime_;
if (ref instanceof java.lang.String) {
@@ -3311,7 +3669,9 @@ public java.lang.String getStartDatetime() {
}
/**
* optional string start_datetime = 13;
+ * @return The bytes for startDatetime.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getStartDatetimeBytes() {
java.lang.Object ref = startDatetime_;
@@ -3330,13 +3690,17 @@ public java.lang.String getStartDatetime() {
private volatile java.lang.Object direction_;
/**
* optional string direction = 14;
+ * @return Whether the direction field is set.
*/
+ @java.lang.Override
public boolean hasDirection() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
+ return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional string direction = 14;
+ * @return The direction.
*/
+ @java.lang.Override
public java.lang.String getDirection() {
java.lang.Object ref = direction_;
if (ref instanceof java.lang.String) {
@@ -3353,7 +3717,9 @@ public java.lang.String getDirection() {
}
/**
* optional string direction = 14;
+ * @return The bytes for direction.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString
getDirectionBytes() {
java.lang.Object ref = direction_;
@@ -3376,9 +3742,11 @@ public java.lang.String getDirection() {
*
*
* optional bool scheduled = 15;
+ * @return Whether the scheduled field is set.
*/
+ @java.lang.Override
public boolean hasScheduled() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
*
@@ -3386,12 +3754,15 @@ public boolean hasScheduled() {
*
*
* optional bool scheduled = 15;
+ * @return The scheduled.
*/
+ @java.lang.Override
public boolean getScheduled() {
return scheduled_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
@@ -3431,62 +3802,64 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(1, schemaVersion_);
}
for (int i = 0; i < metroRows_.size(); i++) {
output.writeMessage(2, metroRows_.get(i));
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
output.writeEnum(3, trainType_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
output.writeEnum(4, journeySectionprogress_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, beginTime_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, endTime_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, startStopShortName_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, operatingDay_);
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, startStopNumber_);
}
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, startTime_);
}
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((bitField0_ & 0x00000200) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, dvjId_);
}
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
+ if (((bitField0_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, routeName_);
}
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
+ if (((bitField0_ & 0x00000800) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, startDatetime_);
}
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
+ if (((bitField0_ & 0x00001000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, direction_);
}
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
+ if (((bitField0_ & 0x00002000) != 0)) {
output.writeBool(15, scheduled_);
}
unknownFields.writeTo(output);
}
+ @java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, schemaVersion_);
}
@@ -3494,45 +3867,45 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, metroRows_.get(i));
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, trainType_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, journeySectionprogress_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, beginTime_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, endTime_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, startStopShortName_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, operatingDay_);
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, startStopNumber_);
}
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, startTime_);
}
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, dvjId_);
}
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
+ if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, routeName_);
}
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
+ if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, startDatetime_);
}
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
+ if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, direction_);
}
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
+ if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(15, scheduled_);
}
@@ -3541,7 +3914,6 @@ public int getSerializedSize() {
return size;
}
- private static final long serialVersionUID = 0L;
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -3552,79 +3924,78 @@ public boolean equals(final java.lang.Object obj) {
}
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate other = (fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate) obj;
- boolean result = true;
- result = result && (hasSchemaVersion() == other.hasSchemaVersion());
+ if (hasSchemaVersion() != other.hasSchemaVersion()) return false;
if (hasSchemaVersion()) {
- result = result && (getSchemaVersion()
- == other.getSchemaVersion());
+ if (getSchemaVersion()
+ != other.getSchemaVersion()) return false;
}
- result = result && getMetroRowsList()
- .equals(other.getMetroRowsList());
- result = result && (hasTrainType() == other.hasTrainType());
+ if (!getMetroRowsList()
+ .equals(other.getMetroRowsList())) return false;
+ if (hasTrainType() != other.hasTrainType()) return false;
if (hasTrainType()) {
- result = result && trainType_ == other.trainType_;
+ if (trainType_ != other.trainType_) return false;
}
- result = result && (hasJourneySectionprogress() == other.hasJourneySectionprogress());
+ if (hasJourneySectionprogress() != other.hasJourneySectionprogress()) return false;
if (hasJourneySectionprogress()) {
- result = result && journeySectionprogress_ == other.journeySectionprogress_;
+ if (journeySectionprogress_ != other.journeySectionprogress_) return false;
}
- result = result && (hasBeginTime() == other.hasBeginTime());
+ if (hasBeginTime() != other.hasBeginTime()) return false;
if (hasBeginTime()) {
- result = result && getBeginTime()
- .equals(other.getBeginTime());
+ if (!getBeginTime()
+ .equals(other.getBeginTime())) return false;
}
- result = result && (hasEndTime() == other.hasEndTime());
+ if (hasEndTime() != other.hasEndTime()) return false;
if (hasEndTime()) {
- result = result && getEndTime()
- .equals(other.getEndTime());
+ if (!getEndTime()
+ .equals(other.getEndTime())) return false;
}
- result = result && (hasStartStopShortName() == other.hasStartStopShortName());
+ if (hasStartStopShortName() != other.hasStartStopShortName()) return false;
if (hasStartStopShortName()) {
- result = result && getStartStopShortName()
- .equals(other.getStartStopShortName());
+ if (!getStartStopShortName()
+ .equals(other.getStartStopShortName())) return false;
}
- result = result && (hasOperatingDay() == other.hasOperatingDay());
+ if (hasOperatingDay() != other.hasOperatingDay()) return false;
if (hasOperatingDay()) {
- result = result && getOperatingDay()
- .equals(other.getOperatingDay());
+ if (!getOperatingDay()
+ .equals(other.getOperatingDay())) return false;
}
- result = result && (hasStartStopNumber() == other.hasStartStopNumber());
+ if (hasStartStopNumber() != other.hasStartStopNumber()) return false;
if (hasStartStopNumber()) {
- result = result && getStartStopNumber()
- .equals(other.getStartStopNumber());
+ if (!getStartStopNumber()
+ .equals(other.getStartStopNumber())) return false;
}
- result = result && (hasStartTime() == other.hasStartTime());
+ if (hasStartTime() != other.hasStartTime()) return false;
if (hasStartTime()) {
- result = result && getStartTime()
- .equals(other.getStartTime());
+ if (!getStartTime()
+ .equals(other.getStartTime())) return false;
}
- result = result && (hasDvjId() == other.hasDvjId());
+ if (hasDvjId() != other.hasDvjId()) return false;
if (hasDvjId()) {
- result = result && getDvjId()
- .equals(other.getDvjId());
+ if (!getDvjId()
+ .equals(other.getDvjId())) return false;
}
- result = result && (hasRouteName() == other.hasRouteName());
+ if (hasRouteName() != other.hasRouteName()) return false;
if (hasRouteName()) {
- result = result && getRouteName()
- .equals(other.getRouteName());
+ if (!getRouteName()
+ .equals(other.getRouteName())) return false;
}
- result = result && (hasStartDatetime() == other.hasStartDatetime());
+ if (hasStartDatetime() != other.hasStartDatetime()) return false;
if (hasStartDatetime()) {
- result = result && getStartDatetime()
- .equals(other.getStartDatetime());
+ if (!getStartDatetime()
+ .equals(other.getStartDatetime())) return false;
}
- result = result && (hasDirection() == other.hasDirection());
+ if (hasDirection() != other.hasDirection()) return false;
if (hasDirection()) {
- result = result && getDirection()
- .equals(other.getDirection());
+ if (!getDirection()
+ .equals(other.getDirection())) return false;
}
- result = result && (hasScheduled() == other.hasScheduled());
+ if (hasScheduled() != other.hasScheduled()) return false;
if (hasScheduled()) {
- result = result && (getScheduled()
- == other.getScheduled());
+ if (getScheduled()
+ != other.getScheduled()) return false;
}
- result = result && unknownFields.equals(other.unknownFields);
- return result;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
}
@java.lang.Override
@@ -3633,7 +4004,7 @@ public int hashCode() {
return memoizedHashCode;
}
int hash = 41;
- hash = (19 * hash) + getDescriptorForType().hashCode();
+ hash = (19 * hash) + getDescriptor().hashCode();
if (hasSchemaVersion()) {
hash = (37 * hash) + SCHEMAVERSION_FIELD_NUMBER;
hash = (53 * hash) + getSchemaVersion();
@@ -3700,6 +4071,17 @@ public int hashCode() {
return hash;
}
+ public static fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
public static fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -3759,6 +4141,7 @@ public static fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate parse
.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
@@ -3766,6 +4149,7 @@ public static Builder newBuilder() {
public static Builder newBuilder(fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
@@ -3789,6 +4173,7 @@ public static final class Builder extends
return fi.hsl.common.transitdata.proto.MetroAtsProtos.internal_static_proto_MetroEstimate_descriptor;
}
+ @java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return fi.hsl.common.transitdata.proto.MetroAtsProtos.internal_static_proto_MetroEstimate_fieldAccessorTable
@@ -3812,6 +4197,7 @@ private void maybeForceBuilderInitialization() {
getMetroRowsFieldBuilder();
}
}
+ @java.lang.Override
public Builder clear() {
super.clear();
schemaVersion_ = 1;
@@ -3851,15 +4237,18 @@ public Builder clear() {
return this;
}
+ @java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return fi.hsl.common.transitdata.proto.MetroAtsProtos.internal_static_proto_MetroEstimate_descriptor;
}
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate getDefaultInstanceForType() {
return fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate.getDefaultInstance();
}
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate build() {
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate result = buildPartial();
if (!result.isInitialized()) {
@@ -3868,16 +4257,17 @@ public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate build() {
return result;
}
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate buildPartial() {
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate result = new fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((from_bitField0_ & 0x00000001) != 0)) {
to_bitField0_ |= 0x00000001;
}
result.schemaVersion_ = schemaVersion_;
if (metroRowsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
metroRows_ = java.util.Collections.unmodifiableList(metroRows_);
bitField0_ = (bitField0_ & ~0x00000002);
}
@@ -3885,89 +4275,96 @@ public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate buildPartial
} else {
result.metroRows_ = metroRowsBuilder_.build();
}
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ if (((from_bitField0_ & 0x00000004) != 0)) {
to_bitField0_ |= 0x00000002;
}
result.trainType_ = trainType_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((from_bitField0_ & 0x00000008) != 0)) {
to_bitField0_ |= 0x00000004;
}
result.journeySectionprogress_ = journeySectionprogress_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((from_bitField0_ & 0x00000010) != 0)) {
to_bitField0_ |= 0x00000008;
}
result.beginTime_ = beginTime_;
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((from_bitField0_ & 0x00000020) != 0)) {
to_bitField0_ |= 0x00000010;
}
result.endTime_ = endTime_;
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((from_bitField0_ & 0x00000040) != 0)) {
to_bitField0_ |= 0x00000020;
}
result.startStopShortName_ = startStopShortName_;
- if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((from_bitField0_ & 0x00000080) != 0)) {
to_bitField0_ |= 0x00000040;
}
result.operatingDay_ = operatingDay_;
- if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((from_bitField0_ & 0x00000100) != 0)) {
to_bitField0_ |= 0x00000080;
}
result.startStopNumber_ = startStopNumber_;
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
+ if (((from_bitField0_ & 0x00000200) != 0)) {
to_bitField0_ |= 0x00000100;
}
result.startTime_ = startTime_;
- if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
+ if (((from_bitField0_ & 0x00000400) != 0)) {
to_bitField0_ |= 0x00000200;
}
result.dvjId_ = dvjId_;
- if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
+ if (((from_bitField0_ & 0x00000800) != 0)) {
to_bitField0_ |= 0x00000400;
}
result.routeName_ = routeName_;
- if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
+ if (((from_bitField0_ & 0x00001000) != 0)) {
to_bitField0_ |= 0x00000800;
}
result.startDatetime_ = startDatetime_;
- if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
+ if (((from_bitField0_ & 0x00002000) != 0)) {
to_bitField0_ |= 0x00001000;
}
result.direction_ = direction_;
- if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
+ if (((from_bitField0_ & 0x00004000) != 0)) {
+ result.scheduled_ = scheduled_;
to_bitField0_ |= 0x00002000;
}
- result.scheduled_ = scheduled_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
+ @java.lang.Override
public Builder clone() {
- return (Builder) super.clone();
+ return super.clone();
}
+ @java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
+ java.lang.Object value) {
+ return super.setField(field, value);
}
+ @java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
+ return super.clearField(field);
}
+ @java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
+ return super.clearOneof(oneof);
}
+ @java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
}
+ @java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
}
+ @java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate) {
return mergeFrom((fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate)other);
@@ -4072,6 +4469,7 @@ public Builder mergeFrom(fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEst
return this;
}
+ @java.lang.Override
public final boolean isInitialized() {
if (!hasSchemaVersion()) {
return false;
@@ -4099,6 +4497,7 @@ public final boolean isInitialized() {
return true;
}
+ @java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -4125,9 +4524,11 @@ public Builder mergeFrom(
*
*
* required int32 SchemaVersion = 1 [default = 1];
+ * @return Whether the schemaVersion field is set.
*/
+ @java.lang.Override
public boolean hasSchemaVersion() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -4135,7 +4536,9 @@ public boolean hasSchemaVersion() {
*
*
* required int32 SchemaVersion = 1 [default = 1];
+ * @return The schemaVersion.
*/
+ @java.lang.Override
public int getSchemaVersion() {
return schemaVersion_;
}
@@ -4145,6 +4548,8 @@ public int getSchemaVersion() {
*
*
* required int32 SchemaVersion = 1 [default = 1];
+ * @param value The schemaVersion to set.
+ * @return This builder for chaining.
*/
public Builder setSchemaVersion(int value) {
bitField0_ |= 0x00000001;
@@ -4158,6 +4563,7 @@ public Builder setSchemaVersion(int value) {
*
*
* required int32 SchemaVersion = 1 [default = 1];
+ * @return This builder for chaining.
*/
public Builder clearSchemaVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -4169,7 +4575,7 @@ public Builder clearSchemaVersion() {
private java.util.Listrequired .proto.MetroTrainType train_type = 3;
+ * @return Whether the trainType field is set.
*/
- public boolean hasTrainType() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ @java.lang.Override public boolean hasTrainType() {
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
* required .proto.MetroTrainType train_type = 3;
+ * @return The trainType.
*/
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroTrainType getTrainType() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroTrainType result = fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroTrainType.valueOf(trainType_);
return result == null ? fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroTrainType.M : result;
}
/**
* required .proto.MetroTrainType train_type = 3;
+ * @param value The trainType to set.
+ * @return This builder for chaining.
*/
public Builder setTrainType(fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroTrainType value) {
if (value == null) {
@@ -4434,6 +4846,7 @@ public Builder setTrainType(fi.hsl.common.transitdata.proto.MetroAtsProtos.Metro
}
/**
* required .proto.MetroTrainType train_type = 3;
+ * @return This builder for chaining.
*/
public Builder clearTrainType() {
bitField0_ = (bitField0_ & ~0x00000004);
@@ -4445,19 +4858,25 @@ public Builder clearTrainType() {
private int journeySectionprogress_ = 0;
/**
* required .proto.MetroProgress journey_sectionprogress = 4;
+ * @return Whether the journeySectionprogress field is set.
*/
- public boolean hasJourneySectionprogress() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ @java.lang.Override public boolean hasJourneySectionprogress() {
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
* required .proto.MetroProgress journey_sectionprogress = 4;
+ * @return The journeySectionprogress.
*/
+ @java.lang.Override
public fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress getJourneySectionprogress() {
+ @SuppressWarnings("deprecation")
fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress result = fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress.valueOf(journeySectionprogress_);
return result == null ? fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress.SCHEDULED : result;
}
/**
* required .proto.MetroProgress journey_sectionprogress = 4;
+ * @param value The journeySectionprogress to set.
+ * @return This builder for chaining.
*/
public Builder setJourneySectionprogress(fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroProgress value) {
if (value == null) {
@@ -4470,6 +4889,7 @@ public Builder setJourneySectionprogress(fi.hsl.common.transitdata.proto.MetroAt
}
/**
* required .proto.MetroProgress journey_sectionprogress = 4;
+ * @return This builder for chaining.
*/
public Builder clearJourneySectionprogress() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -4481,12 +4901,14 @@ public Builder clearJourneySectionprogress() {
private java.lang.Object beginTime_ = "";
/**
* required string begin_time = 5;
+ * @return Whether the beginTime field is set.
*/
public boolean hasBeginTime() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
* required string begin_time = 5;
+ * @return The beginTime.
*/
public java.lang.String getBeginTime() {
java.lang.Object ref = beginTime_;
@@ -4504,6 +4926,7 @@ public java.lang.String getBeginTime() {
}
/**
* required string begin_time = 5;
+ * @return The bytes for beginTime.
*/
public com.google.protobuf.ByteString
getBeginTimeBytes() {
@@ -4520,6 +4943,8 @@ public java.lang.String getBeginTime() {
}
/**
* required string begin_time = 5;
+ * @param value The beginTime to set.
+ * @return This builder for chaining.
*/
public Builder setBeginTime(
java.lang.String value) {
@@ -4533,6 +4958,7 @@ public Builder setBeginTime(
}
/**
* required string begin_time = 5;
+ * @return This builder for chaining.
*/
public Builder clearBeginTime() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -4542,6 +4968,8 @@ public Builder clearBeginTime() {
}
/**
* required string begin_time = 5;
+ * @param value The bytes for beginTime to set.
+ * @return This builder for chaining.
*/
public Builder setBeginTimeBytes(
com.google.protobuf.ByteString value) {
@@ -4557,12 +4985,14 @@ public Builder setBeginTimeBytes(
private java.lang.Object endTime_ = "";
/**
* required string end_time = 6;
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
* required string end_time = 6;
+ * @return The endTime.
*/
public java.lang.String getEndTime() {
java.lang.Object ref = endTime_;
@@ -4580,6 +5010,7 @@ public java.lang.String getEndTime() {
}
/**
* required string end_time = 6;
+ * @return The bytes for endTime.
*/
public com.google.protobuf.ByteString
getEndTimeBytes() {
@@ -4596,6 +5027,8 @@ public java.lang.String getEndTime() {
}
/**
* required string end_time = 6;
+ * @param value The endTime to set.
+ * @return This builder for chaining.
*/
public Builder setEndTime(
java.lang.String value) {
@@ -4609,6 +5042,7 @@ public Builder setEndTime(
}
/**
* required string end_time = 6;
+ * @return This builder for chaining.
*/
public Builder clearEndTime() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -4618,6 +5052,8 @@ public Builder clearEndTime() {
}
/**
* required string end_time = 6;
+ * @param value The bytes for endTime to set.
+ * @return This builder for chaining.
*/
public Builder setEndTimeBytes(
com.google.protobuf.ByteString value) {
@@ -4633,12 +5069,14 @@ public Builder setEndTimeBytes(
private java.lang.Object startStopShortName_ = "";
/**
* required string start_stop_short_name = 7;
+ * @return Whether the startStopShortName field is set.
*/
public boolean hasStartStopShortName() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
* required string start_stop_short_name = 7;
+ * @return The startStopShortName.
*/
public java.lang.String getStartStopShortName() {
java.lang.Object ref = startStopShortName_;
@@ -4656,6 +5094,7 @@ public java.lang.String getStartStopShortName() {
}
/**
* required string start_stop_short_name = 7;
+ * @return The bytes for startStopShortName.
*/
public com.google.protobuf.ByteString
getStartStopShortNameBytes() {
@@ -4672,6 +5111,8 @@ public java.lang.String getStartStopShortName() {
}
/**
* required string start_stop_short_name = 7;
+ * @param value The startStopShortName to set.
+ * @return This builder for chaining.
*/
public Builder setStartStopShortName(
java.lang.String value) {
@@ -4685,6 +5126,7 @@ public Builder setStartStopShortName(
}
/**
* required string start_stop_short_name = 7;
+ * @return This builder for chaining.
*/
public Builder clearStartStopShortName() {
bitField0_ = (bitField0_ & ~0x00000040);
@@ -4694,6 +5136,8 @@ public Builder clearStartStopShortName() {
}
/**
* required string start_stop_short_name = 7;
+ * @param value The bytes for startStopShortName to set.
+ * @return This builder for chaining.
*/
public Builder setStartStopShortNameBytes(
com.google.protobuf.ByteString value) {
@@ -4713,9 +5157,10 @@ public Builder setStartStopShortNameBytes(
*
*
* optional string operating_day = 8;
+ * @return Whether the operatingDay field is set.
*/
public boolean hasOperatingDay() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
*
@@ -4723,6 +5168,7 @@ public boolean hasOperatingDay() {
*
*
* optional string operating_day = 8;
+ * @return The operatingDay.
*/
public java.lang.String getOperatingDay() {
java.lang.Object ref = operatingDay_;
@@ -4744,6 +5190,7 @@ public java.lang.String getOperatingDay() {
*
*
* optional string operating_day = 8;
+ * @return The bytes for operatingDay.
*/
public com.google.protobuf.ByteString
getOperatingDayBytes() {
@@ -4764,6 +5211,8 @@ public java.lang.String getOperatingDay() {
*
*
* optional string operating_day = 8;
+ * @param value The operatingDay to set.
+ * @return This builder for chaining.
*/
public Builder setOperatingDay(
java.lang.String value) {
@@ -4781,6 +5230,7 @@ public Builder setOperatingDay(
*
*
* optional string operating_day = 8;
+ * @return This builder for chaining.
*/
public Builder clearOperatingDay() {
bitField0_ = (bitField0_ & ~0x00000080);
@@ -4794,6 +5244,8 @@ public Builder clearOperatingDay() {
*
*
* optional string operating_day = 8;
+ * @param value The bytes for operatingDay to set.
+ * @return This builder for chaining.
*/
public Builder setOperatingDayBytes(
com.google.protobuf.ByteString value) {
@@ -4809,12 +5261,14 @@ public Builder setOperatingDayBytes(
private java.lang.Object startStopNumber_ = "";
/**
* optional string start_stop_number = 9;
+ * @return Whether the startStopNumber field is set.
*/
public boolean hasStartStopNumber() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string start_stop_number = 9;
+ * @return The startStopNumber.
*/
public java.lang.String getStartStopNumber() {
java.lang.Object ref = startStopNumber_;
@@ -4832,6 +5286,7 @@ public java.lang.String getStartStopNumber() {
}
/**
* optional string start_stop_number = 9;
+ * @return The bytes for startStopNumber.
*/
public com.google.protobuf.ByteString
getStartStopNumberBytes() {
@@ -4848,6 +5303,8 @@ public java.lang.String getStartStopNumber() {
}
/**
* optional string start_stop_number = 9;
+ * @param value The startStopNumber to set.
+ * @return This builder for chaining.
*/
public Builder setStartStopNumber(
java.lang.String value) {
@@ -4861,6 +5318,7 @@ public Builder setStartStopNumber(
}
/**
* optional string start_stop_number = 9;
+ * @return This builder for chaining.
*/
public Builder clearStartStopNumber() {
bitField0_ = (bitField0_ & ~0x00000100);
@@ -4870,6 +5328,8 @@ public Builder clearStartStopNumber() {
}
/**
* optional string start_stop_number = 9;
+ * @param value The bytes for startStopNumber to set.
+ * @return This builder for chaining.
*/
public Builder setStartStopNumberBytes(
com.google.protobuf.ByteString value) {
@@ -4885,12 +5345,14 @@ public Builder setStartStopNumberBytes(
private java.lang.Object startTime_ = "";
/**
* optional string start_time = 10;
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional string start_time = 10;
+ * @return The startTime.
*/
public java.lang.String getStartTime() {
java.lang.Object ref = startTime_;
@@ -4908,6 +5370,7 @@ public java.lang.String getStartTime() {
}
/**
* optional string start_time = 10;
+ * @return The bytes for startTime.
*/
public com.google.protobuf.ByteString
getStartTimeBytes() {
@@ -4924,6 +5387,8 @@ public java.lang.String getStartTime() {
}
/**
* optional string start_time = 10;
+ * @param value The startTime to set.
+ * @return This builder for chaining.
*/
public Builder setStartTime(
java.lang.String value) {
@@ -4937,6 +5402,7 @@ public Builder setStartTime(
}
/**
* optional string start_time = 10;
+ * @return This builder for chaining.
*/
public Builder clearStartTime() {
bitField0_ = (bitField0_ & ~0x00000200);
@@ -4946,6 +5412,8 @@ public Builder clearStartTime() {
}
/**
* optional string start_time = 10;
+ * @param value The bytes for startTime to set.
+ * @return This builder for chaining.
*/
public Builder setStartTimeBytes(
com.google.protobuf.ByteString value) {
@@ -4961,12 +5429,14 @@ public Builder setStartTimeBytes(
private java.lang.Object dvjId_ = "";
/**
* optional string dvj_id = 11;
+ * @return Whether the dvjId field is set.
*/
public boolean hasDvjId() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
* optional string dvj_id = 11;
+ * @return The dvjId.
*/
public java.lang.String getDvjId() {
java.lang.Object ref = dvjId_;
@@ -4984,6 +5454,7 @@ public java.lang.String getDvjId() {
}
/**
* optional string dvj_id = 11;
+ * @return The bytes for dvjId.
*/
public com.google.protobuf.ByteString
getDvjIdBytes() {
@@ -5000,6 +5471,8 @@ public java.lang.String getDvjId() {
}
/**
* optional string dvj_id = 11;
+ * @param value The dvjId to set.
+ * @return This builder for chaining.
*/
public Builder setDvjId(
java.lang.String value) {
@@ -5013,6 +5486,7 @@ public Builder setDvjId(
}
/**
* optional string dvj_id = 11;
+ * @return This builder for chaining.
*/
public Builder clearDvjId() {
bitField0_ = (bitField0_ & ~0x00000400);
@@ -5022,6 +5496,8 @@ public Builder clearDvjId() {
}
/**
* optional string dvj_id = 11;
+ * @param value The bytes for dvjId to set.
+ * @return This builder for chaining.
*/
public Builder setDvjIdBytes(
com.google.protobuf.ByteString value) {
@@ -5037,12 +5513,14 @@ public Builder setDvjIdBytes(
private java.lang.Object routeName_ = "";
/**
* optional string route_name = 12;
+ * @return Whether the routeName field is set.
*/
public boolean hasRouteName() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
* optional string route_name = 12;
+ * @return The routeName.
*/
public java.lang.String getRouteName() {
java.lang.Object ref = routeName_;
@@ -5060,6 +5538,7 @@ public java.lang.String getRouteName() {
}
/**
* optional string route_name = 12;
+ * @return The bytes for routeName.
*/
public com.google.protobuf.ByteString
getRouteNameBytes() {
@@ -5076,6 +5555,8 @@ public java.lang.String getRouteName() {
}
/**
* optional string route_name = 12;
+ * @param value The routeName to set.
+ * @return This builder for chaining.
*/
public Builder setRouteName(
java.lang.String value) {
@@ -5089,6 +5570,7 @@ public Builder setRouteName(
}
/**
* optional string route_name = 12;
+ * @return This builder for chaining.
*/
public Builder clearRouteName() {
bitField0_ = (bitField0_ & ~0x00000800);
@@ -5098,6 +5580,8 @@ public Builder clearRouteName() {
}
/**
* optional string route_name = 12;
+ * @param value The bytes for routeName to set.
+ * @return This builder for chaining.
*/
public Builder setRouteNameBytes(
com.google.protobuf.ByteString value) {
@@ -5113,12 +5597,14 @@ public Builder setRouteNameBytes(
private java.lang.Object startDatetime_ = "";
/**
* optional string start_datetime = 13;
+ * @return Whether the startDatetime field is set.
*/
public boolean hasStartDatetime() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
+ return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional string start_datetime = 13;
+ * @return The startDatetime.
*/
public java.lang.String getStartDatetime() {
java.lang.Object ref = startDatetime_;
@@ -5136,6 +5622,7 @@ public java.lang.String getStartDatetime() {
}
/**
* optional string start_datetime = 13;
+ * @return The bytes for startDatetime.
*/
public com.google.protobuf.ByteString
getStartDatetimeBytes() {
@@ -5152,6 +5639,8 @@ public java.lang.String getStartDatetime() {
}
/**
* optional string start_datetime = 13;
+ * @param value The startDatetime to set.
+ * @return This builder for chaining.
*/
public Builder setStartDatetime(
java.lang.String value) {
@@ -5165,6 +5654,7 @@ public Builder setStartDatetime(
}
/**
* optional string start_datetime = 13;
+ * @return This builder for chaining.
*/
public Builder clearStartDatetime() {
bitField0_ = (bitField0_ & ~0x00001000);
@@ -5174,6 +5664,8 @@ public Builder clearStartDatetime() {
}
/**
* optional string start_datetime = 13;
+ * @param value The bytes for startDatetime to set.
+ * @return This builder for chaining.
*/
public Builder setStartDatetimeBytes(
com.google.protobuf.ByteString value) {
@@ -5189,12 +5681,14 @@ public Builder setStartDatetimeBytes(
private java.lang.Object direction_ = "";
/**
* optional string direction = 14;
+ * @return Whether the direction field is set.
*/
public boolean hasDirection() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
* optional string direction = 14;
+ * @return The direction.
*/
public java.lang.String getDirection() {
java.lang.Object ref = direction_;
@@ -5212,6 +5706,7 @@ public java.lang.String getDirection() {
}
/**
* optional string direction = 14;
+ * @return The bytes for direction.
*/
public com.google.protobuf.ByteString
getDirectionBytes() {
@@ -5228,6 +5723,8 @@ public java.lang.String getDirection() {
}
/**
* optional string direction = 14;
+ * @param value The direction to set.
+ * @return This builder for chaining.
*/
public Builder setDirection(
java.lang.String value) {
@@ -5241,6 +5738,7 @@ public Builder setDirection(
}
/**
* optional string direction = 14;
+ * @return This builder for chaining.
*/
public Builder clearDirection() {
bitField0_ = (bitField0_ & ~0x00002000);
@@ -5250,6 +5748,8 @@ public Builder clearDirection() {
}
/**
* optional string direction = 14;
+ * @param value The bytes for direction to set.
+ * @return This builder for chaining.
*/
public Builder setDirectionBytes(
com.google.protobuf.ByteString value) {
@@ -5269,9 +5769,11 @@ public Builder setDirectionBytes(
*
*
* optional bool scheduled = 15;
+ * @return Whether the scheduled field is set.
*/
+ @java.lang.Override
public boolean hasScheduled() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
+ return ((bitField0_ & 0x00004000) != 0);
}
/**
*
@@ -5279,7 +5781,9 @@ public boolean hasScheduled() {
*
*
* optional bool scheduled = 15;
+ * @return The scheduled.
*/
+ @java.lang.Override
public boolean getScheduled() {
return scheduled_;
}
@@ -5289,6 +5793,8 @@ public boolean getScheduled() {
*
*
* optional bool scheduled = 15;
+ * @param value The scheduled to set.
+ * @return This builder for chaining.
*/
public Builder setScheduled(boolean value) {
bitField0_ |= 0x00004000;
@@ -5302,6 +5808,7 @@ public Builder setScheduled(boolean value) {
*
*
* optional bool scheduled = 15;
+ * @return This builder for chaining.
*/
public Builder clearScheduled() {
bitField0_ = (bitField0_ & ~0x00004000);
@@ -5309,11 +5816,13 @@ public Builder clearScheduled() {
onChanged();
return this;
}
+ @java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
+ @java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
@@ -5335,11 +5844,12 @@ public static fi.hsl.common.transitdata.proto.MetroAtsProtos.MetroEstimate getDe
@java.lang.Deprecated public static final com.google.protobuf.Parser