示例#1
0
        public void MergeFrom(MetadataItem other)
        {
            if (other == null)
            {
                return;
            }
            switch (other.DataCase)
            {
            case DataOneofCase.Value:
                if (Value == null)
                {
                    Value = new global::Google.Protobuf.WellKnownTypes.Value();
                }
                Value.MergeFrom(other.Value);
                break;

            case DataOneofCase.Reference:
                if (Reference == null)
                {
                    Reference = new global::FactSet.Protobuf.Stach.V2.Table.Reference();
                }
                Reference.MergeFrom(other.Reference);
                break;
            }

            _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
        }
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 10: {
                    Endpoint = input.ReadString();
                    break;
                }

                case 18: {
                    instances_.AddEntriesFrom(ref input, _repeated_instances_codec);
                    break;
                }

                case 26: {
                    if (parameters_ == null)
                    {
                        Parameters = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Parameters);
                    break;
                }
                }
            }
        }
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 10: {
                    if (data_ == null)
                    {
                        Data = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Data);
                    break;
                }

                case 18: {
                    if (delta_ == null)
                    {
                        Delta = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Delta);
                    break;
                }
                }
            }
        }
 public void MergeFrom(ModelEvaluation other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.MetricsSchemaUri.Length != 0)
     {
         MetricsSchemaUri = other.MetricsSchemaUri;
     }
     if (other.metrics_ != null)
     {
         if (metrics_ == null)
         {
             Metrics = new global::Google.Protobuf.WellKnownTypes.Value();
         }
         Metrics.MergeFrom(other.Metrics);
     }
     if (other.createTime_ != null)
     {
         if (createTime_ == null)
         {
             CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreateTime.MergeFrom(other.CreateTime);
     }
     sliceDimensions_.Add(other.sliceDimensions_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
            input.ReadRawMessage(this);
    #else
            uint tag;
            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (data_ == null)
                    {
                        Data = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Data);
                    break;
                }

                case 18: {
                    if (delta_ == null)
                    {
                        Delta = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Delta);
                    break;
                }
                }
            }
    #endif
        }
示例#6
0
 public void MergeFrom(ImageTileConfig other)
 {
     if (other == null)
     {
         return;
     }
     if (other.context_ != null)
     {
         if (context_ == null)
         {
             context_ = new global::SquaredUp.Dashboard.Schema.CommonContext();
         }
         Context.MergeFrom(other.Context);
     }
     if (other.display_ != null)
     {
         if (display_ == null)
         {
             display_ = new global::SquaredUp.Dashboard.Schema.ImageTileConfig_Display();
         }
         Display.MergeFrom(other.Display);
     }
     if (other.source_ != null)
     {
         if (source_ == null)
         {
             source_ = new global::Google.Protobuf.WellKnownTypes.Value();
         }
         Source.MergeFrom(other.Source);
     }
 }
示例#7
0
        public void MergeFrom(pb::CodedInputStream input)
        {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
            input.ReadRawMessage(this);
    #else
            uint tag;
            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    Name = input.ReadString();
                    break;
                }

                case 18: {
                    if (createTime_ == null)
                    {
                        CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(CreateTime);
                    break;
                }

                case 26: {
                    labels_.AddEntriesFrom(input, _map_labels_codec);
                    break;
                }

                case 34: {
                    if (payload_ == null)
                    {
                        Payload = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Payload);
                    break;
                }

                case 50: {
                    if (updateTime_ == null)
                    {
                        UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(UpdateTime);
                    break;
                }

                case 58: {
                    Etag = input.ReadString();
                    break;
                }
                }
            }
    #endif
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
            input.ReadRawMessage(this);
    #else
            uint tag;
            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    Name = input.ReadString();
                    break;
                }

                case 18: {
                    MetricsSchemaUri = input.ReadString();
                    break;
                }

                case 26: {
                    if (metrics_ == null)
                    {
                        Metrics = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Metrics);
                    break;
                }

                case 34: {
                    if (createTime_ == null)
                    {
                        CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(CreateTime);
                    break;
                }

                case 42: {
                    sliceDimensions_.AddEntriesFrom(input, _repeated_sliceDimensions_codec);
                    break;
                }

                case 66: {
                    if (modelExplanation_ == null)
                    {
                        ModelExplanation = new global::Google.Cloud.AIPlatform.V1.ModelExplanation();
                    }
                    input.ReadMessage(ModelExplanation);
                    break;
                }
                }
            }
    #endif
        }
示例#9
0
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 10: {
                    Name = input.ReadString();
                    break;
                }

                case 18: {
                    if (createTime_ == null)
                    {
                        CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(CreateTime);
                    break;
                }

                case 26: {
                    labels_.AddEntriesFrom(ref input, _map_labels_codec);
                    break;
                }

                case 34: {
                    if (payload_ == null)
                    {
                        Payload = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Payload);
                    break;
                }

                case 50: {
                    if (updateTime_ == null)
                    {
                        UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(UpdateTime);
                    break;
                }

                case 58: {
                    Etag = input.ReadString();
                    break;
                }
                }
            }
        }
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 10: {
                    Name = input.ReadString();
                    break;
                }

                case 18: {
                    MetricsSchemaUri = input.ReadString();
                    break;
                }

                case 26: {
                    if (metrics_ == null)
                    {
                        Metrics = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Metrics);
                    break;
                }

                case 34: {
                    if (createTime_ == null)
                    {
                        CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(CreateTime);
                    break;
                }

                case 42: {
                    sliceDimensions_.AddEntriesFrom(ref input, _repeated_sliceDimensions_codec);
                    break;
                }

                case 66: {
                    if (modelExplanation_ == null)
                    {
                        ModelExplanation = new global::Google.Cloud.AIPlatform.V1.ModelExplanation();
                    }
                    input.ReadMessage(ModelExplanation);
                    break;
                }
                }
            }
        }
示例#11
0
 public void MergeFrom(Index other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.DisplayName.Length != 0)
     {
         DisplayName = other.DisplayName;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     if (other.MetadataSchemaUri.Length != 0)
     {
         MetadataSchemaUri = other.MetadataSchemaUri;
     }
     if (other.metadata_ != null)
     {
         if (metadata_ == null)
         {
             Metadata = new global::Google.Protobuf.WellKnownTypes.Value();
         }
         Metadata.MergeFrom(other.Metadata);
     }
     deployedIndexes_.Add(other.deployedIndexes_);
     if (other.Etag.Length != 0)
     {
         Etag = other.Etag;
     }
     labels_.Add(other.labels_);
     if (other.createTime_ != null)
     {
         if (createTime_ == null)
         {
             CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreateTime.MergeFrom(other.CreateTime);
     }
     if (other.updateTime_ != null)
     {
         if (updateTime_ == null)
         {
             UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         UpdateTime.MergeFrom(other.UpdateTime);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
示例#12
0
 public void MergeFrom(Annotation other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.PayloadSchemaUri.Length != 0)
     {
         PayloadSchemaUri = other.PayloadSchemaUri;
     }
     if (other.payload_ != null)
     {
         if (payload_ == null)
         {
             Payload = new global::Google.Protobuf.WellKnownTypes.Value();
         }
         Payload.MergeFrom(other.Payload);
     }
     if (other.createTime_ != null)
     {
         if (createTime_ == null)
         {
             CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreateTime.MergeFrom(other.CreateTime);
     }
     if (other.updateTime_ != null)
     {
         if (updateTime_ == null)
         {
             UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         UpdateTime.MergeFrom(other.UpdateTime);
     }
     if (other.Etag.Length != 0)
     {
         Etag = other.Etag;
     }
     if (other.annotationSource_ != null)
     {
         if (annotationSource_ == null)
         {
             AnnotationSource = new global::Google.Cloud.AIPlatform.V1.UserActionReference();
         }
         AnnotationSource.MergeFrom(other.AnnotationSource);
     }
     labels_.Add(other.labels_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
示例#13
0
 public void MergeFrom(DataItem other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.createTime_ != null)
     {
         if (createTime_ == null)
         {
             CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreateTime.MergeFrom(other.CreateTime);
     }
     if (other.updateTime_ != null)
     {
         if (updateTime_ == null)
         {
             UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         UpdateTime.MergeFrom(other.UpdateTime);
     }
     labels_.Add(other.labels_);
     if (other.payload_ != null)
     {
         if (payload_ == null)
         {
             Payload = new global::Google.Protobuf.WellKnownTypes.Value();
         }
         Payload.MergeFrom(other.Payload);
     }
     if (other.Etag.Length != 0)
     {
         Etag = other.Etag;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
示例#14
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (context_ == null)
                    {
                        context_ = new global::SquaredUp.Dashboard.Schema.CommonContext();
                    }
                    input.ReadMessage(context_);
                    break;
                }

                case 18: {
                    if (display_ == null)
                    {
                        display_ = new global::SquaredUp.Dashboard.Schema.ImageTileConfig_Display();
                    }
                    input.ReadMessage(display_);
                    break;
                }

                case 26: {
                    if (source_ == null)
                    {
                        source_ = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(source_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(PredictRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Endpoint.Length != 0)
     {
         Endpoint = other.Endpoint;
     }
     instances_.Add(other.instances_);
     if (other.parameters_ != null)
     {
         if (parameters_ == null)
         {
             Parameters = new global::Google.Protobuf.WellKnownTypes.Value();
         }
         Parameters.MergeFrom(other.Parameters);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
示例#16
0
 public void MergeFrom(ModelEvaluationSlice other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
     if (other.slice_ != null)
     {
         if (slice_ == null)
         {
             Slice = new global::Google.Cloud.AIPlatform.V1.ModelEvaluationSlice.Types.Slice();
         }
         Slice.MergeFrom(other.Slice);
     }
     if (other.MetricsSchemaUri.Length != 0)
     {
         MetricsSchemaUri = other.MetricsSchemaUri;
     }
     if (other.metrics_ != null)
     {
         if (metrics_ == null)
         {
             Metrics = new global::Google.Protobuf.WellKnownTypes.Value();
         }
         Metrics.MergeFrom(other.Metrics);
     }
     if (other.createTime_ != null)
     {
         if (createTime_ == null)
         {
             CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreateTime.MergeFrom(other.CreateTime);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
示例#17
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    global::Google.Protobuf.WellKnownTypes.Value subBuilder = new global::Google.Protobuf.WellKnownTypes.Value();
                    if (dataCase_ == DataOneofCase.Value)
                    {
                        subBuilder.MergeFrom(Value);
                    }
                    input.ReadMessage(subBuilder);
                    Value = subBuilder;
                    break;
                }

                case 18: {
                    global::FactSet.Protobuf.Stach.V2.Table.Reference subBuilder = new global::FactSet.Protobuf.Stach.V2.Table.Reference();
                    if (dataCase_ == DataOneofCase.Reference)
                    {
                        subBuilder.MergeFrom(Reference);
                    }
                    input.ReadMessage(subBuilder);
                    Reference = subBuilder;
                    break;
                }
                }
            }
        }
 public void MergeFrom(ReferenceEventData other)
 {
     if (other == null)
     {
         return;
     }
     if (other.data_ != null)
     {
         if (data_ == null)
         {
             Data = new global::Google.Protobuf.WellKnownTypes.Value();
         }
         Data.MergeFrom(other.Data);
     }
     if (other.delta_ != null)
     {
         if (delta_ == null)
         {
             Delta = new global::Google.Protobuf.WellKnownTypes.Value();
         }
         Delta.MergeFrom(other.Delta);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
            input.ReadRawMessage(this);
    #else
            uint tag;
            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    Endpoint = input.ReadString();
                    break;
                }

                case 18: {
                    instances_.AddEntriesFrom(input, _repeated_instances_codec);
                    break;
                }

                case 26: {
                    if (parameters_ == null)
                    {
                        Parameters = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Parameters);
                    break;
                }
                }
            }
    #endif
        }
示例#20
0
        public void MergeFrom(pb::CodedInputStream input)
        {
    #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
            input.ReadRawMessage(this);
    #else
            uint tag;
            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    Name = input.ReadString();
                    break;
                }

                case 18: {
                    DisplayName = input.ReadString();
                    break;
                }

                case 26: {
                    Description = input.ReadString();
                    break;
                }

                case 34: {
                    MetadataSchemaUri = input.ReadString();
                    break;
                }

                case 50: {
                    if (metadata_ == null)
                    {
                        Metadata = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Metadata);
                    break;
                }

                case 58: {
                    deployedIndexes_.AddEntriesFrom(input, _repeated_deployedIndexes_codec);
                    break;
                }

                case 66: {
                    Etag = input.ReadString();
                    break;
                }

                case 74: {
                    labels_.AddEntriesFrom(input, _map_labels_codec);
                    break;
                }

                case 82: {
                    if (createTime_ == null)
                    {
                        CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(CreateTime);
                    break;
                }

                case 90: {
                    if (updateTime_ == null)
                    {
                        UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(UpdateTime);
                    break;
                }
                }
            }
    #endif
        }
示例#21
0
        void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
                    break;

                case 10: {
                    Name = input.ReadString();
                    break;
                }

                case 18: {
                    DisplayName = input.ReadString();
                    break;
                }

                case 26: {
                    Description = input.ReadString();
                    break;
                }

                case 34: {
                    MetadataSchemaUri = input.ReadString();
                    break;
                }

                case 50: {
                    if (metadata_ == null)
                    {
                        Metadata = new global::Google.Protobuf.WellKnownTypes.Value();
                    }
                    input.ReadMessage(Metadata);
                    break;
                }

                case 58: {
                    deployedIndexes_.AddEntriesFrom(ref input, _repeated_deployedIndexes_codec);
                    break;
                }

                case 66: {
                    Etag = input.ReadString();
                    break;
                }

                case 74: {
                    labels_.AddEntriesFrom(ref input, _map_labels_codec);
                    break;
                }

                case 82: {
                    if (createTime_ == null)
                    {
                        CreateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(CreateTime);
                    break;
                }

                case 90: {
                    if (updateTime_ == null)
                    {
                        UpdateTime = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(UpdateTime);
                    break;
                }
                }
            }
        }