public Builder SetAuthenticationToken(global::Alachisoft.NosDB.Common.Protobuf.AuthenticationToken value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); result.hasAuthenticationToken = true; result.authenticationToken_ = value; return(this); }
public Builder MergeAuthenticationToken(global::Alachisoft.NosDB.Common.Protobuf.AuthenticationToken value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); if (result.hasAuthenticationToken && result.authenticationToken_ != global::Alachisoft.NosDB.Common.Protobuf.AuthenticationToken.DefaultInstance) { result.authenticationToken_ = global::Alachisoft.NosDB.Common.Protobuf.AuthenticationToken.CreateBuilder(result.authenticationToken_).MergeFrom(value).BuildPartial(); } else { result.authenticationToken_ = value; } result.hasAuthenticationToken = true; return(this); }