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: {
                    Description = input.ReadString();
                    break;
                }

                case 24: {
                    EventType = (global::Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig.Types.EventType)input.ReadEnum();
                    break;
                }

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

                case 42: {
                    ServiceAccount = input.ReadString();
                    break;
                }

                case 50: {
                    global::Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig.Types.StreamingConfig subBuilder = new global::Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig.Types.StreamingConfig();
                    if (notifyConfigCase_ == NotifyConfigOneofCase.StreamingConfig)
                    {
                        subBuilder.MergeFrom(StreamingConfig);
                    }
                    input.ReadMessage(subBuilder);
                    StreamingConfig = subBuilder;
                    break;
                }
                }
            }
    #endif
        }
        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: {
                    Description = input.ReadString();
                    break;
                }

                case 24: {
                    EventType = (global::Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig.Types.EventType)input.ReadEnum();
                    break;
                }

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

                case 42: {
                    ServiceAccount = input.ReadString();
                    break;
                }

                case 50: {
                    global::Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig.Types.StreamingConfig subBuilder = new global::Google.Cloud.SecurityCenter.V1P1Beta1.NotificationConfig.Types.StreamingConfig();
                    if (notifyConfigCase_ == NotifyConfigOneofCase.StreamingConfig)
                    {
                        subBuilder.MergeFrom(StreamingConfig);
                    }
                    input.ReadMessage(subBuilder);
                    StreamingConfig = subBuilder;
                    break;
                }
                }
            }
        }