Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc (unknown)
// source: private_location/v1/private_location.proto
package v1
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)
)
type MonitorsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MonitorsRequest) Reset() {
*x = MonitorsRequest{}
mi := &file_private_location_v1_private_location_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MonitorsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MonitorsRequest) ProtoMessage() {}
func (x *MonitorsRequest) ProtoReflect() protoreflect.Message {
mi := &file_private_location_v1_private_location_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 MonitorsRequest.ProtoReflect.Descriptor instead.
func (*MonitorsRequest) Descriptor() ([]byte, []int) {
return file_private_location_v1_private_location_proto_rawDescGZIP(), []int{0}
}
type MonitorsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
HttpMonitors []*HTTPMonitor `protobuf:"bytes,1,rep,name=http_monitors,json=httpMonitors,proto3" json:"http_monitors,omitempty"`
TcpMonitors []*TCPMonitor `protobuf:"bytes,2,rep,name=tcp_monitors,json=tcpMonitors,proto3" json:"tcp_monitors,omitempty"`
DnsMonitors []*DNSMonitor `protobuf:"bytes,3,rep,name=dns_monitors,json=dnsMonitors,proto3" json:"dns_monitors,omitempty"`
IcmpMonitors []*ICMPMonitor `protobuf:"bytes,5,rep,name=icmp_monitors,json=icmpMonitors,proto3" json:"icmp_monitors,omitempty"`
GrpcMonitors []*GRPCMonitor `protobuf:"bytes,6,rep,name=grpc_monitors,json=grpcMonitors,proto3" json:"grpc_monitors,omitempty"`
Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *MonitorsResponse) Reset() {
*x = MonitorsResponse{}
mi := &file_private_location_v1_private_location_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *MonitorsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MonitorsResponse) ProtoMessage() {}
func (x *MonitorsResponse) ProtoReflect() protoreflect.Message {
mi := &file_private_location_v1_private_location_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 MonitorsResponse.ProtoReflect.Descriptor instead.
func (*MonitorsResponse) Descriptor() ([]byte, []int) {
return file_private_location_v1_private_location_proto_rawDescGZIP(), []int{1}
}
func (x *MonitorsResponse) GetHttpMonitors() []*HTTPMonitor {
if x != nil {
return x.HttpMonitors
}
return nil
}
func (x *MonitorsResponse) GetTcpMonitors() []*TCPMonitor {
if x != nil {
return x.TcpMonitors
}
return nil
}
func (x *MonitorsResponse) GetDnsMonitors() []*DNSMonitor {
if x != nil {
return x.DnsMonitors
}
return nil
}
func (x *MonitorsResponse) GetIcmpMonitors() []*ICMPMonitor {
if x != nil {
return x.IcmpMonitors
}
return nil
}
func (x *MonitorsResponse) GetGrpcMonitors() []*GRPCMonitor {
if x != nil {
return x.GrpcMonitors
}
return nil
}
func (x *MonitorsResponse) GetRegion() string {
if x != nil {
return x.Region
}
return ""
}
type IngestTCPRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
MonitorId string `protobuf:"bytes,2,opt,name=monitorId,proto3" json:"monitorId,omitempty"`
Latency int64 `protobuf:"varint,3,opt,name=latency,proto3" json:"latency,omitempty"`
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
CronTimestamp int64 `protobuf:"varint,5,opt,name=cronTimestamp,proto3" json:"cronTimestamp,omitempty"`
Uri string `protobuf:"bytes,6,opt,name=uri,proto3" json:"uri,omitempty"`
Message string `protobuf:"bytes,7,opt,name=message,proto3" json:"message,omitempty"`
RequestStatus string `protobuf:"bytes,8,opt,name=requestStatus,proto3" json:"requestStatus,omitempty"`
Error int64 `protobuf:"varint,9,opt,name=error,proto3" json:"error,omitempty"`
Timing string `protobuf:"bytes,10,opt,name=timing,proto3" json:"timing,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngestTCPRequest) Reset() {
*x = IngestTCPRequest{}
mi := &file_private_location_v1_private_location_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngestTCPRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngestTCPRequest) ProtoMessage() {}
func (x *IngestTCPRequest) ProtoReflect() protoreflect.Message {
mi := &file_private_location_v1_private_location_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 IngestTCPRequest.ProtoReflect.Descriptor instead.
func (*IngestTCPRequest) Descriptor() ([]byte, []int) {
return file_private_location_v1_private_location_proto_rawDescGZIP(), []int{2}
}
func (x *IngestTCPRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *IngestTCPRequest) GetMonitorId() string {
if x != nil {
return x.MonitorId
}
return ""
}
func (x *IngestTCPRequest) GetLatency() int64 {
if x != nil {
return x.Latency
}
return 0
}
func (x *IngestTCPRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *IngestTCPRequest) GetCronTimestamp() int64 {
if x != nil {
return x.CronTimestamp
}
return 0
}
func (x *IngestTCPRequest) GetUri() string {
if x != nil {
return x.Uri
}
return ""
}
func (x *IngestTCPRequest) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *IngestTCPRequest) GetRequestStatus() string {
if x != nil {
return x.RequestStatus
}
return ""
}
func (x *IngestTCPRequest) GetError() int64 {
if x != nil {
return x.Error
}
return 0
}
func (x *IngestTCPRequest) GetTiming() string {
if x != nil {
return x.Timing
}
return ""
}
type IngestTCPResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngestTCPResponse) Reset() {
*x = IngestTCPResponse{}
mi := &file_private_location_v1_private_location_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngestTCPResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngestTCPResponse) ProtoMessage() {}
func (x *IngestTCPResponse) ProtoReflect() protoreflect.Message {
mi := &file_private_location_v1_private_location_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 IngestTCPResponse.ProtoReflect.Descriptor instead.
func (*IngestTCPResponse) Descriptor() ([]byte, []int) {
return file_private_location_v1_private_location_proto_rawDescGZIP(), []int{3}
}
type IngestHTTPRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
MonitorId string `protobuf:"bytes,2,opt,name=monitorId,proto3" json:"monitorId,omitempty"`
Latency int64 `protobuf:"varint,3,opt,name=latency,proto3" json:"latency,omitempty"`
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
CronTimestamp int64 `protobuf:"varint,5,opt,name=cronTimestamp,proto3" json:"cronTimestamp,omitempty"`
Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
RequestStatus string `protobuf:"bytes,7,opt,name=requestStatus,proto3" json:"requestStatus,omitempty"`
Message string `protobuf:"bytes,8,opt,name=message,proto3" json:"message,omitempty"`
Body string `protobuf:"bytes,9,opt,name=body,proto3" json:"body,omitempty"`
Headers string `protobuf:"bytes,10,opt,name=headers,proto3" json:"headers,omitempty"`
Timing string `protobuf:"bytes,11,opt,name=timing,proto3" json:"timing,omitempty"`
StatusCode int64 `protobuf:"varint,12,opt,name=statusCode,proto3" json:"statusCode,omitempty"`
Error int64 `protobuf:"varint,13,opt,name=error,proto3" json:"error,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngestHTTPRequest) Reset() {
*x = IngestHTTPRequest{}
mi := &file_private_location_v1_private_location_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngestHTTPRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngestHTTPRequest) ProtoMessage() {}
func (x *IngestHTTPRequest) ProtoReflect() protoreflect.Message {
mi := &file_private_location_v1_private_location_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 IngestHTTPRequest.ProtoReflect.Descriptor instead.
func (*IngestHTTPRequest) Descriptor() ([]byte, []int) {
return file_private_location_v1_private_location_proto_rawDescGZIP(), []int{4}
}
func (x *IngestHTTPRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *IngestHTTPRequest) GetMonitorId() string {
if x != nil {
return x.MonitorId
}
return ""
}
func (x *IngestHTTPRequest) GetLatency() int64 {
if x != nil {
return x.Latency
}
return 0
}
func (x *IngestHTTPRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *IngestHTTPRequest) GetCronTimestamp() int64 {
if x != nil {
return x.CronTimestamp
}
return 0
}
func (x *IngestHTTPRequest) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *IngestHTTPRequest) GetRequestStatus() string {
if x != nil {
return x.RequestStatus
}
return ""
}
func (x *IngestHTTPRequest) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *IngestHTTPRequest) GetBody() string {
if x != nil {
return x.Body
}
return ""
}
func (x *IngestHTTPRequest) GetHeaders() string {
if x != nil {
return x.Headers
}
return ""
}
func (x *IngestHTTPRequest) GetTiming() string {
if x != nil {
return x.Timing
}
return ""
}
func (x *IngestHTTPRequest) GetStatusCode() int64 {
if x != nil {
return x.StatusCode
}
return 0
}
func (x *IngestHTTPRequest) GetError() int64 {
if x != nil {
return x.Error
}
return 0
}
type IngestHTTPResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngestHTTPResponse) Reset() {
*x = IngestHTTPResponse{}
mi := &file_private_location_v1_private_location_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngestHTTPResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngestHTTPResponse) ProtoMessage() {}
func (x *IngestHTTPResponse) ProtoReflect() protoreflect.Message {
mi := &file_private_location_v1_private_location_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 IngestHTTPResponse.ProtoReflect.Descriptor instead.
func (*IngestHTTPResponse) Descriptor() ([]byte, []int) {
return file_private_location_v1_private_location_proto_rawDescGZIP(), []int{5}
}
type Records struct {
state protoimpl.MessageState `protogen:"open.v1"`
Record []string `protobuf:"bytes,1,rep,name=record,proto3" json:"record,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Records) Reset() {
*x = Records{}
mi := &file_private_location_v1_private_location_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Records) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Records) ProtoMessage() {}
func (x *Records) ProtoReflect() protoreflect.Message {
mi := &file_private_location_v1_private_location_proto_msgTypes[6]
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 Records.ProtoReflect.Descriptor instead.
func (*Records) Descriptor() ([]byte, []int) {
return file_private_location_v1_private_location_proto_rawDescGZIP(), []int{6}
}
func (x *Records) GetRecord() []string {
if x != nil {
return x.Record
}
return nil
}
type IngestDNSRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
MonitorId string `protobuf:"bytes,2,opt,name=monitorId,proto3" json:"monitorId,omitempty"`
Latency int64 `protobuf:"varint,3,opt,name=latency,proto3" json:"latency,omitempty"`
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
CronTimestamp int64 `protobuf:"varint,5,opt,name=cronTimestamp,proto3" json:"cronTimestamp,omitempty"`
Uri string `protobuf:"bytes,6,opt,name=uri,proto3" json:"uri,omitempty"`
RequestStatus string `protobuf:"bytes,7,opt,name=requestStatus,proto3" json:"requestStatus,omitempty"`
Message string `protobuf:"bytes,8,opt,name=message,proto3" json:"message,omitempty"`
Records map[string]*Records `protobuf:"bytes,9,rep,name=records,proto3" json:"records,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Timing string `protobuf:"bytes,10,opt,name=timing,proto3" json:"timing,omitempty"`
Error int64 `protobuf:"varint,11,opt,name=error,proto3" json:"error,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngestDNSRequest) Reset() {
*x = IngestDNSRequest{}
mi := &file_private_location_v1_private_location_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngestDNSRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngestDNSRequest) ProtoMessage() {}
func (x *IngestDNSRequest) ProtoReflect() protoreflect.Message {
mi := &file_private_location_v1_private_location_proto_msgTypes[7]
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 IngestDNSRequest.ProtoReflect.Descriptor instead.
func (*IngestDNSRequest) Descriptor() ([]byte, []int) {
return file_private_location_v1_private_location_proto_rawDescGZIP(), []int{7}
}
func (x *IngestDNSRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *IngestDNSRequest) GetMonitorId() string {
if x != nil {
return x.MonitorId
}
return ""
}
func (x *IngestDNSRequest) GetLatency() int64 {
if x != nil {
return x.Latency
}
return 0
}
func (x *IngestDNSRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *IngestDNSRequest) GetCronTimestamp() int64 {
if x != nil {
return x.CronTimestamp
}
return 0
}
func (x *IngestDNSRequest) GetUri() string {
if x != nil {
return x.Uri
}
return ""
}
func (x *IngestDNSRequest) GetRequestStatus() string {
if x != nil {
return x.RequestStatus
}
return ""
}
func (x *IngestDNSRequest) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *IngestDNSRequest) GetRecords() map[string]*Records {
if x != nil {
return x.Records
}
return nil
}
func (x *IngestDNSRequest) GetTiming() string {
if x != nil {
return x.Timing
}
return ""
}
func (x *IngestDNSRequest) GetError() int64 {
if x != nil {
return x.Error
}
return 0
}
type IngestDNSResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngestDNSResponse) Reset() {
*x = IngestDNSResponse{}
mi := &file_private_location_v1_private_location_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngestDNSResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngestDNSResponse) ProtoMessage() {}
func (x *IngestDNSResponse) ProtoReflect() protoreflect.Message {
mi := &file_private_location_v1_private_location_proto_msgTypes[8]
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 IngestDNSResponse.ProtoReflect.Descriptor instead.
func (*IngestDNSResponse) Descriptor() ([]byte, []int) {
return file_private_location_v1_private_location_proto_rawDescGZIP(), []int{8}
}
type IngestICMPRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
MonitorId string `protobuf:"bytes,2,opt,name=monitorId,proto3" json:"monitorId,omitempty"`
Latency int64 `protobuf:"varint,3,opt,name=latency,proto3" json:"latency,omitempty"`
LatencyMin int64 `protobuf:"varint,4,opt,name=latencyMin,proto3" json:"latencyMin,omitempty"`
LatencyMax int64 `protobuf:"varint,5,opt,name=latencyMax,proto3" json:"latencyMax,omitempty"`
PacketsSent int64 `protobuf:"varint,6,opt,name=packetsSent,proto3" json:"packetsSent,omitempty"`
PacketsReceived int64 `protobuf:"varint,7,opt,name=packetsReceived,proto3" json:"packetsReceived,omitempty"`
Timestamp int64 `protobuf:"varint,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
CronTimestamp int64 `protobuf:"varint,9,opt,name=cronTimestamp,proto3" json:"cronTimestamp,omitempty"`
Uri string `protobuf:"bytes,10,opt,name=uri,proto3" json:"uri,omitempty"`
Message string `protobuf:"bytes,11,opt,name=message,proto3" json:"message,omitempty"`
RequestStatus string `protobuf:"bytes,12,opt,name=requestStatus,proto3" json:"requestStatus,omitempty"`
Error int64 `protobuf:"varint,13,opt,name=error,proto3" json:"error,omitempty"`
Timing string `protobuf:"bytes,14,opt,name=timing,proto3" json:"timing,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngestICMPRequest) Reset() {
*x = IngestICMPRequest{}
mi := &file_private_location_v1_private_location_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngestICMPRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngestICMPRequest) ProtoMessage() {}
func (x *IngestICMPRequest) ProtoReflect() protoreflect.Message {
mi := &file_private_location_v1_private_location_proto_msgTypes[9]
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 IngestICMPRequest.ProtoReflect.Descriptor instead.
func (*IngestICMPRequest) Descriptor() ([]byte, []int) {
return file_private_location_v1_private_location_proto_rawDescGZIP(), []int{9}
}
func (x *IngestICMPRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *IngestICMPRequest) GetMonitorId() string {
if x != nil {
return x.MonitorId
}
return ""
}
func (x *IngestICMPRequest) GetLatency() int64 {
if x != nil {
return x.Latency
}
return 0
}
func (x *IngestICMPRequest) GetLatencyMin() int64 {
if x != nil {
return x.LatencyMin
}
return 0
}
func (x *IngestICMPRequest) GetLatencyMax() int64 {
if x != nil {
return x.LatencyMax
}
return 0
}
func (x *IngestICMPRequest) GetPacketsSent() int64 {
if x != nil {
return x.PacketsSent
}
return 0
}
func (x *IngestICMPRequest) GetPacketsReceived() int64 {
if x != nil {
return x.PacketsReceived
}
return 0
}
func (x *IngestICMPRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *IngestICMPRequest) GetCronTimestamp() int64 {
if x != nil {
return x.CronTimestamp
}
return 0
}
func (x *IngestICMPRequest) GetUri() string {
if x != nil {
return x.Uri
}
return ""
}
func (x *IngestICMPRequest) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *IngestICMPRequest) GetRequestStatus() string {
if x != nil {
return x.RequestStatus
}
return ""
}
func (x *IngestICMPRequest) GetError() int64 {
if x != nil {
return x.Error
}
return 0
}
func (x *IngestICMPRequest) GetTiming() string {
if x != nil {
return x.Timing
}
return ""
}
type IngestICMPResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngestICMPResponse) Reset() {
*x = IngestICMPResponse{}
mi := &file_private_location_v1_private_location_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngestICMPResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngestICMPResponse) ProtoMessage() {}
func (x *IngestICMPResponse) ProtoReflect() protoreflect.Message {
mi := &file_private_location_v1_private_location_proto_msgTypes[10]
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 IngestICMPResponse.ProtoReflect.Descriptor instead.
func (*IngestICMPResponse) Descriptor() ([]byte, []int) {
return file_private_location_v1_private_location_proto_rawDescGZIP(), []int{10}
}
type IngestGRPCRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
MonitorId string `protobuf:"bytes,2,opt,name=monitorId,proto3" json:"monitorId,omitempty"`
Latency int64 `protobuf:"varint,3,opt,name=latency,proto3" json:"latency,omitempty"`
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
CronTimestamp int64 `protobuf:"varint,5,opt,name=cronTimestamp,proto3" json:"cronTimestamp,omitempty"`
Uri string `protobuf:"bytes,6,opt,name=uri,proto3" json:"uri,omitempty"`
Service string `protobuf:"bytes,7,opt,name=service,proto3" json:"service,omitempty"`
ServingStatus string `protobuf:"bytes,8,opt,name=servingStatus,proto3" json:"servingStatus,omitempty"`
GrpcCode int64 `protobuf:"varint,9,opt,name=grpcCode,proto3" json:"grpcCode,omitempty"`
Message string `protobuf:"bytes,10,opt,name=message,proto3" json:"message,omitempty"`
RequestStatus string `protobuf:"bytes,11,opt,name=requestStatus,proto3" json:"requestStatus,omitempty"`
Error int64 `protobuf:"varint,12,opt,name=error,proto3" json:"error,omitempty"`
Timing string `protobuf:"bytes,13,opt,name=timing,proto3" json:"timing,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngestGRPCRequest) Reset() {
*x = IngestGRPCRequest{}
mi := &file_private_location_v1_private_location_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngestGRPCRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngestGRPCRequest) ProtoMessage() {}
func (x *IngestGRPCRequest) ProtoReflect() protoreflect.Message {
mi := &file_private_location_v1_private_location_proto_msgTypes[11]
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 IngestGRPCRequest.ProtoReflect.Descriptor instead.
func (*IngestGRPCRequest) Descriptor() ([]byte, []int) {
return file_private_location_v1_private_location_proto_rawDescGZIP(), []int{11}
}
func (x *IngestGRPCRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *IngestGRPCRequest) GetMonitorId() string {
if x != nil {
return x.MonitorId
}
return ""
}
func (x *IngestGRPCRequest) GetLatency() int64 {
if x != nil {
return x.Latency
}
return 0
}
func (x *IngestGRPCRequest) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *IngestGRPCRequest) GetCronTimestamp() int64 {
if x != nil {
return x.CronTimestamp
}
return 0
}
func (x *IngestGRPCRequest) GetUri() string {
if x != nil {
return x.Uri
}
return ""
}
func (x *IngestGRPCRequest) GetService() string {
if x != nil {
return x.Service
}
return ""
}
func (x *IngestGRPCRequest) GetServingStatus() string {
if x != nil {
return x.ServingStatus
}
return ""
}
func (x *IngestGRPCRequest) GetGrpcCode() int64 {
if x != nil {
return x.GrpcCode
}
return 0
}
func (x *IngestGRPCRequest) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *IngestGRPCRequest) GetRequestStatus() string {
if x != nil {
return x.RequestStatus
}
return ""
}
func (x *IngestGRPCRequest) GetError() int64 {
if x != nil {
return x.Error
}
return 0
}
func (x *IngestGRPCRequest) GetTiming() string {
if x != nil {
return x.Timing
}
return ""
}
type IngestGRPCResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *IngestGRPCResponse) Reset() {
*x = IngestGRPCResponse{}
mi := &file_private_location_v1_private_location_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *IngestGRPCResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IngestGRPCResponse) ProtoMessage() {}
func (x *IngestGRPCResponse) ProtoReflect() protoreflect.Message {
mi := &file_private_location_v1_private_location_proto_msgTypes[12]
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 IngestGRPCResponse.ProtoReflect.Descriptor instead.
func (*IngestGRPCResponse) Descriptor() ([]byte, []int) {
return file_private_location_v1_private_location_proto_rawDescGZIP(), []int{12}
}
var File_private_location_v1_private_location_proto protoreflect.FileDescriptor
const file_private_location_v1_private_location_proto_rawDesc = "" +
"\n" +
"*private_location/v1/private_location.proto\x12\x13private_location.v1\x1a%private_location/v1/dns_monitor.proto\x1a&private_location/v1/grpc_monitor.proto\x1a&private_location/v1/http_monitor.proto\x1a&private_location/v1/icmp_monitor.proto\x1a%private_location/v1/tcp_monitor.proto\"\x11\n" +
"\x0fMonitorsRequest\"\x87\x03\n" +
"\x10MonitorsResponse\x12E\n" +
"\rhttp_monitors\x18\x01 \x03(\v2 .private_location.v1.HTTPMonitorR\fhttpMonitors\x12B\n" +
"\ftcp_monitors\x18\x02 \x03(\v2\x1f.private_location.v1.TCPMonitorR\vtcpMonitors\x12B\n" +
"\fdns_monitors\x18\x03 \x03(\v2\x1f.private_location.v1.DNSMonitorR\vdnsMonitors\x12E\n" +
"\ricmp_monitors\x18\x05 \x03(\v2 .private_location.v1.ICMPMonitorR\ficmpMonitors\x12E\n" +
"\rgrpc_monitors\x18\x06 \x03(\v2 .private_location.v1.GRPCMonitorR\fgrpcMonitors\x12\x16\n" +
"\x06region\x18\x04 \x01(\tR\x06region\"\x9e\x02\n" +
"\x10IngestTCPRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n" +
"\tmonitorId\x18\x02 \x01(\tR\tmonitorId\x12\x18\n" +
"\alatency\x18\x03 \x01(\x03R\alatency\x12\x1c\n" +
"\ttimestamp\x18\x04 \x01(\x03R\ttimestamp\x12$\n" +
"\rcronTimestamp\x18\x05 \x01(\x03R\rcronTimestamp\x12\x10\n" +
"\x03uri\x18\x06 \x01(\tR\x03uri\x12\x18\n" +
"\amessage\x18\a \x01(\tR\amessage\x12$\n" +
"\rrequestStatus\x18\b \x01(\tR\rrequestStatus\x12\x14\n" +
"\x05error\x18\t \x01(\x03R\x05error\x12\x16\n" +
"\x06timing\x18\n" +
" \x01(\tR\x06timing\"\x13\n" +
"\x11IngestTCPResponse\"\xed\x02\n" +
"\x11IngestHTTPRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n" +
"\tmonitorId\x18\x02 \x01(\tR\tmonitorId\x12\x18\n" +
"\alatency\x18\x03 \x01(\x03R\alatency\x12\x1c\n" +
"\ttimestamp\x18\x04 \x01(\x03R\ttimestamp\x12$\n" +
"\rcronTimestamp\x18\x05 \x01(\x03R\rcronTimestamp\x12\x10\n" +
"\x03url\x18\x06 \x01(\tR\x03url\x12$\n" +
"\rrequestStatus\x18\a \x01(\tR\rrequestStatus\x12\x18\n" +
"\amessage\x18\b \x01(\tR\amessage\x12\x12\n" +
"\x04body\x18\t \x01(\tR\x04body\x12\x18\n" +
"\aheaders\x18\n" +
" \x01(\tR\aheaders\x12\x16\n" +
"\x06timing\x18\v \x01(\tR\x06timing\x12\x1e\n" +
"\n" +
"statusCode\x18\f \x01(\x03R\n" +
"statusCode\x12\x14\n" +
"\x05error\x18\r \x01(\x03R\x05error\"\x14\n" +
"\x12IngestHTTPResponse\"!\n" +
"\aRecords\x12\x16\n" +
"\x06record\x18\x01 \x03(\tR\x06record\"\xc6\x03\n" +
"\x10IngestDNSRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n" +
"\tmonitorId\x18\x02 \x01(\tR\tmonitorId\x12\x18\n" +
"\alatency\x18\x03 \x01(\x03R\alatency\x12\x1c\n" +
"\ttimestamp\x18\x04 \x01(\x03R\ttimestamp\x12$\n" +
"\rcronTimestamp\x18\x05 \x01(\x03R\rcronTimestamp\x12\x10\n" +
"\x03uri\x18\x06 \x01(\tR\x03uri\x12$\n" +
"\rrequestStatus\x18\a \x01(\tR\rrequestStatus\x12\x18\n" +
"\amessage\x18\b \x01(\tR\amessage\x12L\n" +
"\arecords\x18\t \x03(\v22.private_location.v1.IngestDNSRequest.RecordsEntryR\arecords\x12\x16\n" +
"\x06timing\x18\n" +
" \x01(\tR\x06timing\x12\x14\n" +
"\x05error\x18\v \x01(\x03R\x05error\x1aX\n" +
"\fRecordsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x122\n" +
"\x05value\x18\x02 \x01(\v2\x1c.private_location.v1.RecordsR\x05value:\x028\x01\"\x13\n" +
"\x11IngestDNSResponse\"\xab\x03\n" +
"\x11IngestICMPRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n" +
"\tmonitorId\x18\x02 \x01(\tR\tmonitorId\x12\x18\n" +
"\alatency\x18\x03 \x01(\x03R\alatency\x12\x1e\n" +
"\n" +
"latencyMin\x18\x04 \x01(\x03R\n" +
"latencyMin\x12\x1e\n" +
"\n" +
"latencyMax\x18\x05 \x01(\x03R\n" +
"latencyMax\x12 \n" +
"\vpacketsSent\x18\x06 \x01(\x03R\vpacketsSent\x12(\n" +
"\x0fpacketsReceived\x18\a \x01(\x03R\x0fpacketsReceived\x12\x1c\n" +
"\ttimestamp\x18\b \x01(\x03R\ttimestamp\x12$\n" +
"\rcronTimestamp\x18\t \x01(\x03R\rcronTimestamp\x12\x10\n" +
"\x03uri\x18\n" +
" \x01(\tR\x03uri\x12\x18\n" +
"\amessage\x18\v \x01(\tR\amessage\x12$\n" +
"\rrequestStatus\x18\f \x01(\tR\rrequestStatus\x12\x14\n" +
"\x05error\x18\r \x01(\x03R\x05error\x12\x16\n" +
"\x06timing\x18\x0e \x01(\tR\x06timing\"\x14\n" +
"\x12IngestICMPResponse\"\xfb\x02\n" +
"\x11IngestGRPCRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1c\n" +
"\tmonitorId\x18\x02 \x01(\tR\tmonitorId\x12\x18\n" +
"\alatency\x18\x03 \x01(\x03R\alatency\x12\x1c\n" +
"\ttimestamp\x18\x04 \x01(\x03R\ttimestamp\x12$\n" +
"\rcronTimestamp\x18\x05 \x01(\x03R\rcronTimestamp\x12\x10\n" +
"\x03uri\x18\x06 \x01(\tR\x03uri\x12\x18\n" +
"\aservice\x18\a \x01(\tR\aservice\x12$\n" +
"\rservingStatus\x18\b \x01(\tR\rservingStatus\x12\x1a\n" +
"\bgrpcCode\x18\t \x01(\x03R\bgrpcCode\x12\x18\n" +
"\amessage\x18\n" +
" \x01(\tR\amessage\x12$\n" +
"\rrequestStatus\x18\v \x01(\tR\rrequestStatus\x12\x14\n" +
"\x05error\x18\f \x01(\x03R\x05error\x12\x16\n" +
"\x06timing\x18\r \x01(\tR\x06timing\"\x14\n" +
"\x12IngestGRPCResponse2\xd2\x04\n" +
"\x16PrivateLocationService\x12Y\n" +
"\bMonitors\x12$.private_location.v1.MonitorsRequest\x1a%.private_location.v1.MonitorsResponse\"\x00\x12\\\n" +
"\tIngestTCP\x12%.private_location.v1.IngestTCPRequest\x1a&.private_location.v1.IngestTCPResponse\"\x00\x12_\n" +
"\n" +
"IngestHTTP\x12&.private_location.v1.IngestHTTPRequest\x1a'.private_location.v1.IngestHTTPResponse\"\x00\x12\\\n" +
"\tIngestDNS\x12%.private_location.v1.IngestDNSRequest\x1a&.private_location.v1.IngestDNSResponse\"\x00\x12_\n" +
"\n" +
"IngestICMP\x12&.private_location.v1.IngestICMPRequest\x1a'.private_location.v1.IngestICMPResponse\"\x00\x12_\n" +
"\n" +
"IngestGRPC\x12&.private_location.v1.IngestGRPCRequest\x1a'.private_location.v1.IngestGRPCResponse\"\x00BJZHgithub.com/openstatushq/openstatus/packages/proto/private_location/v1;v1b\x06proto3"
var (
file_private_location_v1_private_location_proto_rawDescOnce sync.Once
file_private_location_v1_private_location_proto_rawDescData []byte
)
func file_private_location_v1_private_location_proto_rawDescGZIP() []byte {
file_private_location_v1_private_location_proto_rawDescOnce.Do(func() {
file_private_location_v1_private_location_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_private_location_v1_private_location_proto_rawDesc), len(file_private_location_v1_private_location_proto_rawDesc)))
})
return file_private_location_v1_private_location_proto_rawDescData
}
var file_private_location_v1_private_location_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_private_location_v1_private_location_proto_goTypes = []any{
(*MonitorsRequest)(nil), // 0: private_location.v1.MonitorsRequest
(*MonitorsResponse)(nil), // 1: private_location.v1.MonitorsResponse
(*IngestTCPRequest)(nil), // 2: private_location.v1.IngestTCPRequest
(*IngestTCPResponse)(nil), // 3: private_location.v1.IngestTCPResponse
(*IngestHTTPRequest)(nil), // 4: private_location.v1.IngestHTTPRequest
(*IngestHTTPResponse)(nil), // 5: private_location.v1.IngestHTTPResponse
(*Records)(nil), // 6: private_location.v1.Records
(*IngestDNSRequest)(nil), // 7: private_location.v1.IngestDNSRequest
(*IngestDNSResponse)(nil), // 8: private_location.v1.IngestDNSResponse
(*IngestICMPRequest)(nil), // 9: private_location.v1.IngestICMPRequest
(*IngestICMPResponse)(nil), // 10: private_location.v1.IngestICMPResponse
(*IngestGRPCRequest)(nil), // 11: private_location.v1.IngestGRPCRequest
(*IngestGRPCResponse)(nil), // 12: private_location.v1.IngestGRPCResponse
nil, // 13: private_location.v1.IngestDNSRequest.RecordsEntry
(*HTTPMonitor)(nil), // 14: private_location.v1.HTTPMonitor
(*TCPMonitor)(nil), // 15: private_location.v1.TCPMonitor
(*DNSMonitor)(nil), // 16: private_location.v1.DNSMonitor
(*ICMPMonitor)(nil), // 17: private_location.v1.ICMPMonitor
(*GRPCMonitor)(nil), // 18: private_location.v1.GRPCMonitor
}
var file_private_location_v1_private_location_proto_depIdxs = []int32{
14, // 0: private_location.v1.MonitorsResponse.http_monitors:type_name -> private_location.v1.HTTPMonitor
15, // 1: private_location.v1.MonitorsResponse.tcp_monitors:type_name -> private_location.v1.TCPMonitor
16, // 2: private_location.v1.MonitorsResponse.dns_monitors:type_name -> private_location.v1.DNSMonitor
17, // 3: private_location.v1.MonitorsResponse.icmp_monitors:type_name -> private_location.v1.ICMPMonitor
18, // 4: private_location.v1.MonitorsResponse.grpc_monitors:type_name -> private_location.v1.GRPCMonitor
13, // 5: private_location.v1.IngestDNSRequest.records:type_name -> private_location.v1.IngestDNSRequest.RecordsEntry
6, // 6: private_location.v1.IngestDNSRequest.RecordsEntry.value:type_name -> private_location.v1.Records
0, // 7: private_location.v1.PrivateLocationService.Monitors:input_type -> private_location.v1.MonitorsRequest
2, // 8: private_location.v1.PrivateLocationService.IngestTCP:input_type -> private_location.v1.IngestTCPRequest
4, // 9: private_location.v1.PrivateLocationService.IngestHTTP:input_type -> private_location.v1.IngestHTTPRequest
7, // 10: private_location.v1.PrivateLocationService.IngestDNS:input_type -> private_location.v1.IngestDNSRequest
9, // 11: private_location.v1.PrivateLocationService.IngestICMP:input_type -> private_location.v1.IngestICMPRequest
11, // 12: private_location.v1.PrivateLocationService.IngestGRPC:input_type -> private_location.v1.IngestGRPCRequest
1, // 13: private_location.v1.PrivateLocationService.Monitors:output_type -> private_location.v1.MonitorsResponse
3, // 14: private_location.v1.PrivateLocationService.IngestTCP:output_type -> private_location.v1.IngestTCPResponse
5, // 15: private_location.v1.PrivateLocationService.IngestHTTP:output_type -> private_location.v1.IngestHTTPResponse
8, // 16: private_location.v1.PrivateLocationService.IngestDNS:output_type -> private_location.v1.IngestDNSResponse
10, // 17: private_location.v1.PrivateLocationService.IngestICMP:output_type -> private_location.v1.IngestICMPResponse
12, // 18: private_location.v1.PrivateLocationService.IngestGRPC:output_type -> private_location.v1.IngestGRPCResponse
13, // [13:19] is the sub-list for method output_type
7, // [7:13] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name
}
func init() { file_private_location_v1_private_location_proto_init() }
func file_private_location_v1_private_location_proto_init() {
if File_private_location_v1_private_location_proto != nil {
return
}
file_private_location_v1_dns_monitor_proto_init()
file_private_location_v1_grpc_monitor_proto_init()
file_private_location_v1_http_monitor_proto_init()
file_private_location_v1_icmp_monitor_proto_init()
file_private_location_v1_tcp_monitor_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_private_location_v1_private_location_proto_rawDesc), len(file_private_location_v1_private_location_proto_rawDesc)),
NumEnums: 0,
NumMessages: 14,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_private_location_v1_private_location_proto_goTypes,
DependencyIndexes: file_private_location_v1_private_location_proto_depIdxs,
MessageInfos: file_private_location_v1_private_location_proto_msgTypes,
}.Build()
File_private_location_v1_private_location_proto = out.File
file_private_location_v1_private_location_proto_goTypes = nil
file_private_location_v1_private_location_proto_depIdxs = nil
}