public Builder SetCollections(global::Alachisoft.NosDB.Common.Protobuf.CollectionConfigs value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); result.hasCollections = true; result.collections_ = value; return(this); }
public Builder MergeCollections(global::Alachisoft.NosDB.Common.Protobuf.CollectionConfigs value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); if (result.hasCollections && result.collections_ != global::Alachisoft.NosDB.Common.Protobuf.CollectionConfigs.DefaultInstance) { result.collections_ = global::Alachisoft.NosDB.Common.Protobuf.CollectionConfigs.CreateBuilder(result.collections_).MergeFrom(value).BuildPartial(); } else { result.collections_ = value; } result.hasCollections = true; return(this); }