/** * <code>required string message = 1;</code> */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; message_ = value; onChanged(); return this; }
/** * <code>optional string message = 1;</code> */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; onChanged(); return this; }
/** * <code>required string message = 1;</code> */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; message_ = value; onChanged(); return this; } /**
/** * <code>optional string message = 1;</code> */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /**
/** * <code>required string message = 1;</code> */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; message_ = value; onChanged(); return this; } /**
/** * <code>required string message = 1;</code> */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; message_ = value; onChanged(); return this; }
/** * <code>optional uint32 code = 2;</code> */ public Builder clearCode() { code_ = 0; onChanged(); return this; } public final Builder setUnknownFields(
public Builder mergeFrom(ucar.nc2.stream.NcStreamProto.Error other) { if (other == ucar.nc2.stream.NcStreamProto.Error.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); } if (other.getCode() != 0) { setCode(other.getCode()); } onChanged(); return this; }
public Builder mergeFrom(ucar.nc2.stream.NcStreamProto.Error other) { if (other == ucar.nc2.stream.NcStreamProto.Error.getDefaultInstance()) return this; if (other.hasMessage()) { bitField0_ |= 0x00000001; message_ = other.message_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>required string message = 1;</code> */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000001); message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /**
public Builder mergeFrom(ucar.nc2.stream.NcStreamProto.Error other) { if (other == ucar.nc2.stream.NcStreamProto.Error.getDefaultInstance()) return this; if (other.hasMessage()) { bitField0_ |= 0x00000001; message_ = other.message_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional string message = 1;</code> */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /**
/** * <code>optional uint32 code = 2;</code> */ public Builder setCode(int value) { code_ = value; onChanged(); return this; } /**
/** * <code>required string message = 1;</code> */ public Builder clearMessage() { bitField0_ = (bitField0_ & ~0x00000001); message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /**