public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance(); } else { headerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); protobufBody_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); rawBody_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; }
/** * <code>optional .exec.rpc.RpcHeader header = 1;</code> * * <pre> * required * </pre> */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance(); onChanged(); } else { headerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /**
/** * <code>optional .exec.rpc.RpcHeader header = 1;</code> * * <pre> * required * </pre> */ public Builder mergeHeader(org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader value) { if (headerBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && header_ != org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance()) { header_ = org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .exec.rpc.RpcHeader header = 1;</code> * * <pre> * required * </pre> */ public Builder mergeHeader(org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader value) { if (headerBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && header_ != org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance()) { header_ = org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .exec.rpc.RpcHeader header = 1;</code> * * <pre> * required * </pre> */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance(); onChanged(); } else { headerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /**
public Builder clear() { super.clear(); if (headerBuilder_ == null) { header_ = org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance(); } else { headerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); protobufBody_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); rawBody_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; }
public Builder mergeFrom(org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader other) { if (other == org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance()) return this; if (other.hasMode()) { setMode(other.getMode()); } if (other.hasCoordinationId()) { setCoordinationId(other.getCoordinationId()); } if (other.hasRpcType()) { setRpcType(other.getRpcType()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader getDefaultInstanceForType() { return org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance(); }
private void initFields() { header_ = org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance(); protobufBody_ = com.google.protobuf.ByteString.EMPTY; rawBody_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1;
public Builder mergeFrom(org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader other) { if (other == org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance()) return this; if (other.hasMode()) { setMode(other.getMode()); } if (other.hasCoordinationId()) { setCoordinationId(other.getCoordinationId()); } if (other.hasRpcType()) { setRpcType(other.getRpcType()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader getDefaultInstanceForType() { return org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance(); }
private void initFields() { header_ = org.apache.drill.exec.proto.GeneralRPCProtos.RpcHeader.getDefaultInstance(); protobufBody_ = com.google.protobuf.ByteString.EMPTY; rawBody_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1;