public Builder clear() { super.clear(); if (timestampRequestBuilder_ == null) { timestampRequest_ = org.apache.omid.proto.TSOProto.TimestampRequest.getDefaultInstance(); } else { timestampRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (commitRequestBuilder_ == null) { commitRequest_ = org.apache.omid.proto.TSOProto.CommitRequest.getDefaultInstance(); } else { commitRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (handshakeRequestBuilder_ == null) { handshakeRequest_ = org.apache.omid.proto.TSOProto.HandshakeRequest.getDefaultInstance(); } else { handshakeRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (fenceRequestBuilder_ == null) { fenceRequest_ = org.apache.omid.proto.TSOProto.FenceRequest.getDefaultInstance(); } else { fenceRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; }
/** * <code>optional .FenceRequest fenceRequest = 4;</code> */ public Builder clearFenceRequest() { if (fenceRequestBuilder_ == null) { fenceRequest_ = org.apache.omid.proto.TSOProto.FenceRequest.getDefaultInstance(); onChanged(); } else { fenceRequestBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /**
/** * <code>optional .FenceRequest fenceRequest = 4;</code> */ public Builder mergeFenceRequest(org.apache.omid.proto.TSOProto.FenceRequest value) { if (fenceRequestBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && fenceRequest_ != org.apache.omid.proto.TSOProto.FenceRequest.getDefaultInstance()) { fenceRequest_ = org.apache.omid.proto.TSOProto.FenceRequest.newBuilder(fenceRequest_).mergeFrom(value).buildPartial(); } else { fenceRequest_ = value; } onChanged(); } else { fenceRequestBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /**
public org.apache.omid.proto.TSOProto.FenceRequest getDefaultInstanceForType() { return org.apache.omid.proto.TSOProto.FenceRequest.getDefaultInstance(); }
public Builder mergeFrom(org.apache.omid.proto.TSOProto.FenceRequest other) { if (other == org.apache.omid.proto.TSOProto.FenceRequest.getDefaultInstance()) return this; if (other.hasTableId()) { setTableId(other.getTableId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
private void initFields() { timestampRequest_ = org.apache.omid.proto.TSOProto.TimestampRequest.getDefaultInstance(); commitRequest_ = org.apache.omid.proto.TSOProto.CommitRequest.getDefaultInstance(); handshakeRequest_ = org.apache.omid.proto.TSOProto.HandshakeRequest.getDefaultInstance(); fenceRequest_ = org.apache.omid.proto.TSOProto.FenceRequest.getDefaultInstance(); } private byte memoizedIsInitialized = -1;