Ejemplo n.º 1
0
 public Builder SetIndicesConfig(global::Alachisoft.NosDB.Common.Protobuf.IndicesConfig value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     result.hasIndicesConfig = true;
     result.indicesConfig_   = value;
     return(this);
 }
Ejemplo n.º 2
0
 public Builder MergeIndicesConfig(global::Alachisoft.NosDB.Common.Protobuf.IndicesConfig value)
 {
     pb::ThrowHelper.ThrowIfNull(value, "value");
     PrepareBuilder();
     if (result.hasIndicesConfig &&
         result.indicesConfig_ != global::Alachisoft.NosDB.Common.Protobuf.IndicesConfig.DefaultInstance)
     {
         result.indicesConfig_ = global::Alachisoft.NosDB.Common.Protobuf.IndicesConfig.CreateBuilder(result.indicesConfig_).MergeFrom(value).BuildPartial();
     }
     else
     {
         result.indicesConfig_ = value;
     }
     result.hasIndicesConfig = true;
     return(this);
 }