/** * <code>string stream = 2;</code> */ public Builder setStreamBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stream_ = value; onChanged(); return this; } public final Builder setUnknownFields(
/** * <code>string stream = 2;</code> */ public Builder setStream( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stream_ = value; onChanged(); return this; } /**
/** * <code>string scope = 1;</code> */ public Builder setScopeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); scope_ = value; onChanged(); return this; }
public Builder mergeFrom(io.pravega.controller.stream.api.grpc.v1.Controller.StreamInfo other) { if (other == io.pravega.controller.stream.api.grpc.v1.Controller.StreamInfo.getDefaultInstance()) return this; if (!other.getScope().isEmpty()) { scope_ = other.scope_; onChanged(); } if (!other.getStream().isEmpty()) { stream_ = other.stream_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <code>string scope = 1;</code> */ public Builder setScope( java.lang.String value) { if (value == null) { throw new NullPointerException(); } scope_ = value; onChanged(); return this; } /**
/** * <code>string stream = 2;</code> */ public Builder clearStream() { stream_ = getDefaultInstance().getStream(); onChanged(); return this; } /**
/** * <code>string scope = 1;</code> */ public Builder clearScope() { scope_ = getDefaultInstance().getScope(); onChanged(); return this; } /**