public Builder SetAttributes(global::Alachisoft.NosDB.Common.Protobuf.IndexAttributeProto value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); result.hasAttributes = true; result.attributes_ = value; return(this); }
public Builder MergeAttributes(global::Alachisoft.NosDB.Common.Protobuf.IndexAttributeProto value) { pb::ThrowHelper.ThrowIfNull(value, "value"); PrepareBuilder(); if (result.hasAttributes && result.attributes_ != global::Alachisoft.NosDB.Common.Protobuf.IndexAttributeProto.DefaultInstance) { result.attributes_ = global::Alachisoft.NosDB.Common.Protobuf.IndexAttributeProto.CreateBuilder(result.attributes_).MergeFrom(value).BuildPartial(); } else { result.attributes_ = value; } result.hasAttributes = true; return(this); }