// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.7
// 	protoc        v5.29.3
// source: bridge_status.proto

package events

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// JobInfo represents job information associated with a bridge
type JobInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ExternalJobId string                 `protobuf:"bytes,1,opt,name=external_job_id,json=externalJobId,proto3" json:"external_job_id,omitempty"`
	JobName       string                 `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *JobInfo) Reset() {
	*x = JobInfo{}
	mi := &file_bridge_status_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *JobInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*JobInfo) ProtoMessage() {}

func (x *JobInfo) ProtoReflect() protoreflect.Message {
	mi := &file_bridge_status_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use JobInfo.ProtoReflect.Descriptor instead.
func (*JobInfo) Descriptor() ([]byte, []int) {
	return file_bridge_status_proto_rawDescGZIP(), []int{0}
}

func (x *JobInfo) GetExternalJobId() string {
	if x != nil {
		return x.ExternalJobId
	}
	return ""
}

func (x *JobInfo) GetJobName() string {
	if x != nil {
		return x.JobName
	}
	return ""
}

// BridgeStatusEvent represents the status data from an External Adapter
type BridgeStatusEvent struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Bridge and adapter identification
	BridgeName           string  `protobuf:"bytes,1,opt,name=bridge_name,json=bridgeName,proto3" json:"bridge_name,omitempty"`
	AdapterName          string  `protobuf:"bytes,2,opt,name=adapter_name,json=adapterName,proto3" json:"adapter_name,omitempty"`
	AdapterVersion       string  `protobuf:"bytes,3,opt,name=adapter_version,json=adapterVersion,proto3" json:"adapter_version,omitempty"`
	AdapterUptimeSeconds float64 `protobuf:"fixed64,4,opt,name=adapter_uptime_seconds,json=adapterUptimeSeconds,proto3" json:"adapter_uptime_seconds,omitempty"`
	DefaultEndpoint      string  `protobuf:"bytes,5,opt,name=default_endpoint,json=defaultEndpoint,proto3" json:"default_endpoint,omitempty"`
	// Runtime information
	Runtime *RuntimeInfo `protobuf:"bytes,6,opt,name=runtime,proto3" json:"runtime,omitempty"`
	// Metrics configuration
	Metrics *MetricsInfo `protobuf:"bytes,7,opt,name=metrics,proto3" json:"metrics,omitempty"`
	// Available endpoints as structured data
	Endpoints []*EndpointInfo `protobuf:"bytes,8,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// Configuration items
	Configuration []*ConfigurationItem `protobuf:"bytes,9,rep,name=configuration,proto3" json:"configuration,omitempty"`
	// Jobs associated with this bridge
	Jobs []*JobInfo `protobuf:"bytes,10,rep,name=jobs,proto3" json:"jobs,omitempty"`
	// Event metadata
	Timestamp     string `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *BridgeStatusEvent) Reset() {
	*x = BridgeStatusEvent{}
	mi := &file_bridge_status_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *BridgeStatusEvent) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*BridgeStatusEvent) ProtoMessage() {}

func (x *BridgeStatusEvent) ProtoReflect() protoreflect.Message {
	mi := &file_bridge_status_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use BridgeStatusEvent.ProtoReflect.Descriptor instead.
func (*BridgeStatusEvent) Descriptor() ([]byte, []int) {
	return file_bridge_status_proto_rawDescGZIP(), []int{1}
}

func (x *BridgeStatusEvent) GetBridgeName() string {
	if x != nil {
		return x.BridgeName
	}
	return ""
}

func (x *BridgeStatusEvent) GetAdapterName() string {
	if x != nil {
		return x.AdapterName
	}
	return ""
}

func (x *BridgeStatusEvent) GetAdapterVersion() string {
	if x != nil {
		return x.AdapterVersion
	}
	return ""
}

func (x *BridgeStatusEvent) GetAdapterUptimeSeconds() float64 {
	if x != nil {
		return x.AdapterUptimeSeconds
	}
	return 0
}

func (x *BridgeStatusEvent) GetDefaultEndpoint() string {
	if x != nil {
		return x.DefaultEndpoint
	}
	return ""
}

func (x *BridgeStatusEvent) GetRuntime() *RuntimeInfo {
	if x != nil {
		return x.Runtime
	}
	return nil
}

func (x *BridgeStatusEvent) GetMetrics() *MetricsInfo {
	if x != nil {
		return x.Metrics
	}
	return nil
}

func (x *BridgeStatusEvent) GetEndpoints() []*EndpointInfo {
	if x != nil {
		return x.Endpoints
	}
	return nil
}

func (x *BridgeStatusEvent) GetConfiguration() []*ConfigurationItem {
	if x != nil {
		return x.Configuration
	}
	return nil
}

func (x *BridgeStatusEvent) GetJobs() []*JobInfo {
	if x != nil {
		return x.Jobs
	}
	return nil
}

func (x *BridgeStatusEvent) GetTimestamp() string {
	if x != nil {
		return x.Timestamp
	}
	return ""
}

type RuntimeInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	NodeVersion   string                 `protobuf:"bytes,1,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"`
	Platform      string                 `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	Architecture  string                 `protobuf:"bytes,3,opt,name=architecture,proto3" json:"architecture,omitempty"`
	Hostname      string                 `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RuntimeInfo) Reset() {
	*x = RuntimeInfo{}
	mi := &file_bridge_status_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *RuntimeInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*RuntimeInfo) ProtoMessage() {}

func (x *RuntimeInfo) ProtoReflect() protoreflect.Message {
	mi := &file_bridge_status_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use RuntimeInfo.ProtoReflect.Descriptor instead.
func (*RuntimeInfo) Descriptor() ([]byte, []int) {
	return file_bridge_status_proto_rawDescGZIP(), []int{2}
}

func (x *RuntimeInfo) GetNodeVersion() string {
	if x != nil {
		return x.NodeVersion
	}
	return ""
}

func (x *RuntimeInfo) GetPlatform() string {
	if x != nil {
		return x.Platform
	}
	return ""
}

func (x *RuntimeInfo) GetArchitecture() string {
	if x != nil {
		return x.Architecture
	}
	return ""
}

func (x *RuntimeInfo) GetHostname() string {
	if x != nil {
		return x.Hostname
	}
	return ""
}

type MetricsInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Enabled       bool                   `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *MetricsInfo) Reset() {
	*x = MetricsInfo{}
	mi := &file_bridge_status_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *MetricsInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*MetricsInfo) ProtoMessage() {}

func (x *MetricsInfo) ProtoReflect() protoreflect.Message {
	mi := &file_bridge_status_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use MetricsInfo.ProtoReflect.Descriptor instead.
func (*MetricsInfo) Descriptor() ([]byte, []int) {
	return file_bridge_status_proto_rawDescGZIP(), []int{3}
}

func (x *MetricsInfo) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

type EndpointInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Aliases       []string               `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"`
	Transports    []string               `protobuf:"bytes,3,rep,name=transports,proto3" json:"transports,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *EndpointInfo) Reset() {
	*x = EndpointInfo{}
	mi := &file_bridge_status_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *EndpointInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*EndpointInfo) ProtoMessage() {}

func (x *EndpointInfo) ProtoReflect() protoreflect.Message {
	mi := &file_bridge_status_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use EndpointInfo.ProtoReflect.Descriptor instead.
func (*EndpointInfo) Descriptor() ([]byte, []int) {
	return file_bridge_status_proto_rawDescGZIP(), []int{4}
}

func (x *EndpointInfo) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *EndpointInfo) GetAliases() []string {
	if x != nil {
		return x.Aliases
	}
	return nil
}

func (x *EndpointInfo) GetTransports() []string {
	if x != nil {
		return x.Transports
	}
	return nil
}

type ConfigurationItem struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	Name               string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value              string                 `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Type               string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Description        string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Required           bool                   `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"`
	DefaultValue       string                 `protobuf:"bytes,6,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	CustomSetting      bool                   `protobuf:"varint,7,opt,name=custom_setting,json=customSetting,proto3" json:"custom_setting,omitempty"`
	EnvDefaultOverride string                 `protobuf:"bytes,8,opt,name=env_default_override,json=envDefaultOverride,proto3" json:"env_default_override,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *ConfigurationItem) Reset() {
	*x = ConfigurationItem{}
	mi := &file_bridge_status_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ConfigurationItem) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ConfigurationItem) ProtoMessage() {}

func (x *ConfigurationItem) ProtoReflect() protoreflect.Message {
	mi := &file_bridge_status_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ConfigurationItem.ProtoReflect.Descriptor instead.
func (*ConfigurationItem) Descriptor() ([]byte, []int) {
	return file_bridge_status_proto_rawDescGZIP(), []int{5}
}

func (x *ConfigurationItem) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ConfigurationItem) GetValue() string {
	if x != nil {
		return x.Value
	}
	return ""
}

func (x *ConfigurationItem) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

func (x *ConfigurationItem) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *ConfigurationItem) GetRequired() bool {
	if x != nil {
		return x.Required
	}
	return false
}

func (x *ConfigurationItem) GetDefaultValue() string {
	if x != nil {
		return x.DefaultValue
	}
	return ""
}

func (x *ConfigurationItem) GetCustomSetting() bool {
	if x != nil {
		return x.CustomSetting
	}
	return false
}

func (x *ConfigurationItem) GetEnvDefaultOverride() string {
	if x != nil {
		return x.EnvDefaultOverride
	}
	return ""
}

var File_bridge_status_proto protoreflect.FileDescriptor

const file_bridge_status_proto_rawDesc = "" +
	"\n" +
	"\x13bridge_status.proto\x12\x10bridge_status.v1\"L\n" +
	"\aJobInfo\x12&\n" +
	"\x0fexternal_job_id\x18\x01 \x01(\tR\rexternalJobId\x12\x19\n" +
	"\bjob_name\x18\x02 \x01(\tR\ajobName\"\xa9\x04\n" +
	"\x11BridgeStatusEvent\x12\x1f\n" +
	"\vbridge_name\x18\x01 \x01(\tR\n" +
	"bridgeName\x12!\n" +
	"\fadapter_name\x18\x02 \x01(\tR\vadapterName\x12'\n" +
	"\x0fadapter_version\x18\x03 \x01(\tR\x0eadapterVersion\x124\n" +
	"\x16adapter_uptime_seconds\x18\x04 \x01(\x01R\x14adapterUptimeSeconds\x12)\n" +
	"\x10default_endpoint\x18\x05 \x01(\tR\x0fdefaultEndpoint\x127\n" +
	"\aruntime\x18\x06 \x01(\v2\x1d.bridge_status.v1.RuntimeInfoR\aruntime\x127\n" +
	"\ametrics\x18\a \x01(\v2\x1d.bridge_status.v1.MetricsInfoR\ametrics\x12<\n" +
	"\tendpoints\x18\b \x03(\v2\x1e.bridge_status.v1.EndpointInfoR\tendpoints\x12I\n" +
	"\rconfiguration\x18\t \x03(\v2#.bridge_status.v1.ConfigurationItemR\rconfiguration\x12-\n" +
	"\x04jobs\x18\n" +
	" \x03(\v2\x19.bridge_status.v1.JobInfoR\x04jobs\x12\x1c\n" +
	"\ttimestamp\x18\v \x01(\tR\ttimestamp\"\x8c\x01\n" +
	"\vRuntimeInfo\x12!\n" +
	"\fnode_version\x18\x01 \x01(\tR\vnodeVersion\x12\x1a\n" +
	"\bplatform\x18\x02 \x01(\tR\bplatform\x12\"\n" +
	"\farchitecture\x18\x03 \x01(\tR\farchitecture\x12\x1a\n" +
	"\bhostname\x18\x04 \x01(\tR\bhostname\"'\n" +
	"\vMetricsInfo\x12\x18\n" +
	"\aenabled\x18\x01 \x01(\bR\aenabled\"\\\n" +
	"\fEndpointInfo\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" +
	"\aaliases\x18\x02 \x03(\tR\aaliases\x12\x1e\n" +
	"\n" +
	"transports\x18\x03 \x03(\tR\n" +
	"transports\"\x8d\x02\n" +
	"\x11ConfigurationItem\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value\x12\x12\n" +
	"\x04type\x18\x03 \x01(\tR\x04type\x12 \n" +
	"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x1a\n" +
	"\brequired\x18\x05 \x01(\bR\brequired\x12#\n" +
	"\rdefault_value\x18\x06 \x01(\tR\fdefaultValue\x12%\n" +
	"\x0ecustom_setting\x18\a \x01(\bR\rcustomSetting\x120\n" +
	"\x14env_default_override\x18\b \x01(\tR\x12envDefaultOverrideB_Z]github.com/smartcontractkit/chainlink/v2/core/services/nodestatusreporter/bridgestatus/eventsb\x06proto3"

var (
	file_bridge_status_proto_rawDescOnce sync.Once
	file_bridge_status_proto_rawDescData []byte
)

func file_bridge_status_proto_rawDescGZIP() []byte {
	file_bridge_status_proto_rawDescOnce.Do(func() {
		file_bridge_status_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_bridge_status_proto_rawDesc), len(file_bridge_status_proto_rawDesc)))
	})
	return file_bridge_status_proto_rawDescData
}

var file_bridge_status_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_bridge_status_proto_goTypes = []any{
	(*JobInfo)(nil),           // 0: bridge_status.v1.JobInfo
	(*BridgeStatusEvent)(nil), // 1: bridge_status.v1.BridgeStatusEvent
	(*RuntimeInfo)(nil),       // 2: bridge_status.v1.RuntimeInfo
	(*MetricsInfo)(nil),       // 3: bridge_status.v1.MetricsInfo
	(*EndpointInfo)(nil),      // 4: bridge_status.v1.EndpointInfo
	(*ConfigurationItem)(nil), // 5: bridge_status.v1.ConfigurationItem
}
var file_bridge_status_proto_depIdxs = []int32{
	2, // 0: bridge_status.v1.BridgeStatusEvent.runtime:type_name -> bridge_status.v1.RuntimeInfo
	3, // 1: bridge_status.v1.BridgeStatusEvent.metrics:type_name -> bridge_status.v1.MetricsInfo
	4, // 2: bridge_status.v1.BridgeStatusEvent.endpoints:type_name -> bridge_status.v1.EndpointInfo
	5, // 3: bridge_status.v1.BridgeStatusEvent.configuration:type_name -> bridge_status.v1.ConfigurationItem
	0, // 4: bridge_status.v1.BridgeStatusEvent.jobs:type_name -> bridge_status.v1.JobInfo
	5, // [5:5] is the sub-list for method output_type
	5, // [5:5] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_bridge_status_proto_init() }
func file_bridge_status_proto_init() {
	if File_bridge_status_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_bridge_status_proto_rawDesc), len(file_bridge_status_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_bridge_status_proto_goTypes,
		DependencyIndexes: file_bridge_status_proto_depIdxs,
		MessageInfos:      file_bridge_status_proto_msgTypes,
	}.Build()
	File_bridge_status_proto = out.File
	file_bridge_status_proto_goTypes = nil
	file_bridge_status_proto_depIdxs = nil
}
