if (subBuilder != null) { subBuilder.mergeFrom(tripUpdate_); tripUpdate_ = subBuilder.buildPartial();
/** * <code>optional .transit_realtime.TripUpdate trip_update = 3;</code> * * <pre> * Data about the entity itself. Exactly one of the following fields must be * present (unless the entity is being deleted). * </pre> */ public Builder mergeTripUpdate(com.google.transit.realtime.GtfsRealtime.TripUpdate value) { if (tripUpdateBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && tripUpdate_ != com.google.transit.realtime.GtfsRealtime.TripUpdate.getDefaultInstance()) { tripUpdate_ = com.google.transit.realtime.GtfsRealtime.TripUpdate.newBuilder(tripUpdate_).mergeFrom(value).buildPartial(); } else { tripUpdate_ = value; } onChanged(); } else { tripUpdateBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
if (subBuilder != null) { subBuilder.mergeFrom(tripUpdate_); tripUpdate_ = subBuilder.buildPartial();
/** * <code>optional .transit_realtime.TripUpdate trip_update = 3;</code> * * <pre> * Data about the entity itself. Exactly one of the following fields must be * present (unless the entity is being deleted). * </pre> */ public Builder mergeTripUpdate(com.google.transit.realtime.GtfsRealtime.TripUpdate value) { if (tripUpdateBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && tripUpdate_ != com.google.transit.realtime.GtfsRealtime.TripUpdate.getDefaultInstance()) { tripUpdate_ = com.google.transit.realtime.GtfsRealtime.TripUpdate.newBuilder(tripUpdate_).mergeFrom(value).buildPartial(); } else { tripUpdate_ = value; } onChanged(); } else { tripUpdateBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
public Builder clone() { return create().mergeFrom(buildPartial()); }
public com.google.transit.realtime.GtfsRealtime.TripUpdate build() { com.google.transit.realtime.GtfsRealtime.TripUpdate result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public Builder clone() { return create().mergeFrom(buildPartial()); }
public com.google.transit.realtime.GtfsRealtime.TripUpdate build() { com.google.transit.realtime.GtfsRealtime.TripUpdate result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }