public Builder SetCredential(global::Alachisoft.NosDB.Common.Protobuf.Credential value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); result.hasCredential = true; result.credential_ = value; return(this); }
public Builder MergeCredential(global::Alachisoft.NosDB.Common.Protobuf.Credential value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); if (result.hasCredential && result.credential_ != global::Alachisoft.NosDB.Common.Protobuf.Credential.DefaultInstance) { result.credential_ = global::Alachisoft.NosDB.Common.Protobuf.Credential.CreateBuilder(result.credential_).MergeFrom(value).BuildPartial(); } else { result.credential_ = value; } result.hasCredential = true; return(this); }