/** * <code>string name = 1;</code> */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /**
/** * <code>string reason = 2;</code> */ public Builder setReason( java.lang.String value) { if (value == null) { throw new NullPointerException(); } reason_ = value; onChanged(); return this; } /**
/** * <code>string name = 1;</code> */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; }
/** * <code>string reason = 2;</code> */ public Builder setReasonBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); reason_ = value; onChanged(); return this; } public final Builder setUnknownFields(
public Builder mergeFrom(com.example.grpc.GoodbyeRequest other) { if (other == com.example.grpc.GoodbyeRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getReason().isEmpty()) { reason_ = other.reason_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <code>string reason = 2;</code> */ public Builder setReasonBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); reason_ = value; onChanged(); return this; } public final Builder setUnknownFields(
/** * <code>string name = 1;</code> */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; }
public Builder mergeFrom(com.example.grpc.GoodbyeRequest other) { if (other == com.example.grpc.GoodbyeRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getReason().isEmpty()) { reason_ = other.reason_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <code>string name = 1;</code> */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /**
/** * <code>string reason = 2;</code> */ public Builder setReason( java.lang.String value) { if (value == null) { throw new NullPointerException(); } reason_ = value; onChanged(); return this; } /**
/** * <code>string reason = 2;</code> */ public Builder clearReason() { reason_ = getDefaultInstance().getReason(); onChanged(); return this; } /**
/** * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>string reason = 2;</code> */ public Builder clearReason() { reason_ = getDefaultInstance().getReason(); onChanged(); return this; } /**