public Builder SetCaching(global::Alachisoft.NosDB.Common.Protobuf.CachingConfig value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); result.hasCaching = true; result.caching_ = value; return(this); }
public Builder MergeCaching(global::Alachisoft.NosDB.Common.Protobuf.CachingConfig value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); if (result.hasCaching && result.caching_ != global::Alachisoft.NosDB.Common.Protobuf.CachingConfig.DefaultInstance) { result.caching_ = global::Alachisoft.NosDB.Common.Protobuf.CachingConfig.CreateBuilder(result.caching_).MergeFrom(value).BuildPartial(); } else { result.caching_ = value; } result.hasCaching = true; return(this); }