/** * <code>optional bytes signature = 2;</code> */ public Builder setSignature(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; signature_ = value; onChanged(); return this; } /**
/** * <code>required string context = 1;</code> */ public Builder setContextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; context_ = value; onChanged(); return this; }
/** * <code>required string context = 1;</code> */ public Builder setContext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; context_ = value; onChanged(); return this; } /**
/** * <code>optional bytes signature = 2;</code> */ public Builder setSignature(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; signature_ = value; onChanged(); return this; } /**
public Builder mergeFrom(org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RPCCallerContextProto other) { if (other == org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RPCCallerContextProto.getDefaultInstance()) return this; if (other.hasContext()) { bitField0_ |= 0x00000001; context_ = other.context_; onChanged(); } if (other.hasSignature()) { setSignature(other.getSignature()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>required string context = 1;</code> */ public Builder setContext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; context_ = value; onChanged(); return this; } /**
/** * <code>optional bytes signature = 2;</code> */ public Builder clearSignature() { bitField0_ = (bitField0_ & ~0x00000002); signature_ = getDefaultInstance().getSignature(); onChanged(); return this; }
/** * <code>required string context = 1;</code> */ public Builder setContextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; context_ = value; onChanged(); return this; }
/** * <code>required string context = 1;</code> */ public Builder clearContext() { bitField0_ = (bitField0_ & ~0x00000001); context_ = getDefaultInstance().getContext(); onChanged(); return this; } /**
public Builder mergeFrom(org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RPCCallerContextProto other) { if (other == org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RPCCallerContextProto.getDefaultInstance()) return this; if (other.hasContext()) { bitField0_ |= 0x00000001; context_ = other.context_; onChanged(); } if (other.hasSignature()) { setSignature(other.getSignature()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional bytes signature = 2;</code> */ public Builder clearSignature() { bitField0_ = (bitField0_ & ~0x00000002); signature_ = getDefaultInstance().getSignature(); onChanged(); return this; }
/** * <code>required string context = 1;</code> */ public Builder clearContext() { bitField0_ = (bitField0_ & ~0x00000001); context_ = getDefaultInstance().getContext(); onChanged(); return this; } /**