v3

package
v0.0.0-...-2f63041 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AlertDefsService_GetAlertDef_FullMethodName     = "/com.coralogixapis.alerts.v3.AlertDefsService/GetAlertDef"
	AlertDefsService_CreateAlertDef_FullMethodName  = "/com.coralogixapis.alerts.v3.AlertDefsService/CreateAlertDef"
	AlertDefsService_ReplaceAlertDef_FullMethodName = "/com.coralogixapis.alerts.v3.AlertDefsService/ReplaceAlertDef"
	AlertDefsService_ListAlertDefs_FullMethodName   = "/com.coralogixapis.alerts.v3.AlertDefsService/ListAlertDefs"
	AlertDefsService_DeleteAlertDef_FullMethodName  = "/com.coralogixapis.alerts.v3.AlertDefsService/DeleteAlertDef"
	AlertDefsService_SetActive_FullMethodName       = "/com.coralogixapis.alerts.v3.AlertDefsService/SetActive"
)

Variables

View Source
var (
	NotifyOn_name = map[int32]string{
		0: "NOTIFY_ON_TRIGGERED_ONLY_UNSPECIFIED",
		1: "NOTIFY_ON_TRIGGERED_AND_RESOLVED",
	}
	NotifyOn_value = map[string]int32{
		"NOTIFY_ON_TRIGGERED_ONLY_UNSPECIFIED": 0,
		"NOTIFY_ON_TRIGGERED_AND_RESOLVED":     1,
	}
)

Enum value maps for NotifyOn.

View Source
var (
	AlertDefPriority_name = map[int32]string{
		0: "ALERT_DEF_PRIORITY_P5_OR_UNSPECIFIED",
		1: "ALERT_DEF_PRIORITY_P4",
		2: "ALERT_DEF_PRIORITY_P3",
		3: "ALERT_DEF_PRIORITY_P2",
		4: "ALERT_DEF_PRIORITY_P1",
	}
	AlertDefPriority_value = map[string]int32{
		"ALERT_DEF_PRIORITY_P5_OR_UNSPECIFIED": 0,
		"ALERT_DEF_PRIORITY_P4":                1,
		"ALERT_DEF_PRIORITY_P3":                2,
		"ALERT_DEF_PRIORITY_P2":                3,
		"ALERT_DEF_PRIORITY_P1":                4,
	}
)

Enum value maps for AlertDefPriority.

View Source
var (
	DayOfWeek_name = map[int32]string{
		0: "DAY_OF_WEEK_MONDAY_OR_UNSPECIFIED",
		1: "DAY_OF_WEEK_TUESDAY",
		2: "DAY_OF_WEEK_WEDNESDAY",
		3: "DAY_OF_WEEK_THURSDAY",
		4: "DAY_OF_WEEK_FRIDAY",
		5: "DAY_OF_WEEK_SATURDAY",
		6: "DAY_OF_WEEK_SUNDAY",
	}
	DayOfWeek_value = map[string]int32{
		"DAY_OF_WEEK_MONDAY_OR_UNSPECIFIED": 0,
		"DAY_OF_WEEK_TUESDAY":               1,
		"DAY_OF_WEEK_WEDNESDAY":             2,
		"DAY_OF_WEEK_THURSDAY":              3,
		"DAY_OF_WEEK_FRIDAY":                4,
		"DAY_OF_WEEK_SATURDAY":              5,
		"DAY_OF_WEEK_SUNDAY":                6,
	}
)

Enum value maps for DayOfWeek.

View Source
var (
	AlertDefType_name = map[int32]string{
		0:  "ALERT_DEF_TYPE_LOGS_IMMEDIATE_OR_UNSPECIFIED",
		1:  "ALERT_DEF_TYPE_LOGS_MORE_THAN",
		2:  "ALERT_DEF_TYPE_LOGS_LESS_THAN",
		3:  "ALERT_DEF_TYPE_LOGS_MORE_THAN_USUAL",
		4:  "ALERT_DEF_TYPE_LOGS_RATIO_MORE_THAN",
		5:  "ALERT_DEF_TYPE_LOGS_RATIO_LESS_THAN",
		6:  "ALERT_DEF_TYPE_LOGS_NEW_VALUE",
		7:  "ALERT_DEF_TYPE_LOGS_UNIQUE_COUNT",
		8:  "ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_MORE_THAN",
		9:  "ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_LESS_THAN",
		10: "ALERT_DEF_TYPE_METRIC_MORE_THAN",
		11: "ALERT_DEF_TYPE_METRIC_LESS_THAN",
		14: "ALERT_DEF_TYPE_METRIC_MORE_THAN_USUAL",
		15: "ALERT_DEF_TYPE_TRACING_IMMEDIATE",
		16: "ALERT_DEF_TYPE_TRACING_MORE_THAN",
		17: "ALERT_DEF_TYPE_FLOW",
		18: "ALERT_DEF_TYPE_METRIC_MORE_THAN_OR_EQUALS",
		19: "ALERT_DEF_TYPE_METRIC_LESS_THAN_OR_EQUALS",
		21: "ALERT_DEF_TYPE_METRIC_LESS_THAN_USUAL",
	}
	AlertDefType_value = map[string]int32{
		"ALERT_DEF_TYPE_LOGS_IMMEDIATE_OR_UNSPECIFIED": 0,
		"ALERT_DEF_TYPE_LOGS_MORE_THAN":                1,
		"ALERT_DEF_TYPE_LOGS_LESS_THAN":                2,
		"ALERT_DEF_TYPE_LOGS_MORE_THAN_USUAL":          3,
		"ALERT_DEF_TYPE_LOGS_RATIO_MORE_THAN":          4,
		"ALERT_DEF_TYPE_LOGS_RATIO_LESS_THAN":          5,
		"ALERT_DEF_TYPE_LOGS_NEW_VALUE":                6,
		"ALERT_DEF_TYPE_LOGS_UNIQUE_COUNT":             7,
		"ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_MORE_THAN":  8,
		"ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_LESS_THAN":  9,
		"ALERT_DEF_TYPE_METRIC_MORE_THAN":              10,
		"ALERT_DEF_TYPE_METRIC_LESS_THAN":              11,
		"ALERT_DEF_TYPE_METRIC_MORE_THAN_USUAL":        14,
		"ALERT_DEF_TYPE_TRACING_IMMEDIATE":             15,
		"ALERT_DEF_TYPE_TRACING_MORE_THAN":             16,
		"ALERT_DEF_TYPE_FLOW":                          17,
		"ALERT_DEF_TYPE_METRIC_MORE_THAN_OR_EQUALS":    18,
		"ALERT_DEF_TYPE_METRIC_LESS_THAN_OR_EQUALS":    19,
		"ALERT_DEF_TYPE_METRIC_LESS_THAN_USUAL":        21,
	}
)

Enum value maps for AlertDefType.

View Source
var (
	OrderByDirection_name = map[int32]string{
		0: "ORDER_BY_DIRECTION_ASC_OR_UNSPECIFIED",
		1: "ORDER_BY_DIRECTION_DESC",
	}
	OrderByDirection_value = map[string]int32{
		"ORDER_BY_DIRECTION_ASC_OR_UNSPECIFIED": 0,
		"ORDER_BY_DIRECTION_DESC":               1,
	}
)

Enum value maps for OrderByDirection.

View Source
var (
	OrderByFields_name = map[int32]string{
		0: "ORDER_BY_FIELDS_NAME_OR_UNSPECIFIED",
		1: "ORDER_BY_FIELDS_ID",
		2: "ORDER_BY_FIELDS_SEVERITY",
		3: "ORDER_BY_FIELDS_CREATED_TIME",
		4: "ORDER_BY_FIELDS_UPDATED_TIME",
	}
	OrderByFields_value = map[string]int32{
		"ORDER_BY_FIELDS_NAME_OR_UNSPECIFIED": 0,
		"ORDER_BY_FIELDS_ID":                  1,
		"ORDER_BY_FIELDS_SEVERITY":            2,
		"ORDER_BY_FIELDS_CREATED_TIME":        3,
		"ORDER_BY_FIELDS_UPDATED_TIME":        4,
	}
)

Enum value maps for OrderByFields.

View Source
var AlertDefsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.coralogixapis.alerts.v3.AlertDefsService",
	HandlerType: (*AlertDefsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAlertDef",
			Handler:    _AlertDefsService_GetAlertDef_Handler,
		},
		{
			MethodName: "CreateAlertDef",
			Handler:    _AlertDefsService_CreateAlertDef_Handler,
		},
		{
			MethodName: "ReplaceAlertDef",
			Handler:    _AlertDefsService_ReplaceAlertDef_Handler,
		},
		{
			MethodName: "ListAlertDefs",
			Handler:    _AlertDefsService_ListAlertDefs_Handler,
		},
		{
			MethodName: "DeleteAlertDef",
			Handler:    _AlertDefsService_DeleteAlertDef_Handler,
		},
		{
			MethodName: "SetActive",
			Handler:    _AlertDefsService_SetActive_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "com/coralogixapis/alerts/v3/alert_defs_service.proto",
}

AlertDefsService_ServiceDesc is the grpc.ServiceDesc for AlertDefsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var (
	// optional com.coralogixapis.alerts.v3.AuditLogDescription audit_log_description = 5000;
	E_AuditLogDescription = &file_com_coralogixapis_alerts_v3_alert_defs_service_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_com_coralogixapis_alerts_v3_alert_def_notification_group_proto protoreflect.FileDescriptor
View Source
var File_com_coralogixapis_alerts_v3_alert_def_priority_proto protoreflect.FileDescriptor
View Source
var File_com_coralogixapis_alerts_v3_alert_def_proto protoreflect.FileDescriptor
View Source
var File_com_coralogixapis_alerts_v3_alert_def_scheduling_proto protoreflect.FileDescriptor
View Source
var File_com_coralogixapis_alerts_v3_alert_def_type_proto protoreflect.FileDescriptor
View Source
var File_com_coralogixapis_alerts_v3_alert_defs_service_proto protoreflect.FileDescriptor

Functions

func RegisterAlertDefsServiceServer

func RegisterAlertDefsServiceServer(s grpc.ServiceRegistrar, srv AlertDefsServiceServer)

Types

type ActivitySchedule

type ActivitySchedule struct {
	DayOfWeek []DayOfWeek `` /* 141-byte string literal not displayed */
	StartTime *TimeOfDay  `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime   *TimeOfDay  `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivitySchedule) Descriptor deprecated

func (*ActivitySchedule) Descriptor() ([]byte, []int)

Deprecated: Use ActivitySchedule.ProtoReflect.Descriptor instead.

func (*ActivitySchedule) GetDayOfWeek

func (x *ActivitySchedule) GetDayOfWeek() []DayOfWeek

func (*ActivitySchedule) GetEndTime

func (x *ActivitySchedule) GetEndTime() *TimeOfDay

func (*ActivitySchedule) GetStartTime

func (x *ActivitySchedule) GetStartTime() *TimeOfDay

func (*ActivitySchedule) ProtoMessage

func (*ActivitySchedule) ProtoMessage()

func (*ActivitySchedule) ProtoReflect

func (x *ActivitySchedule) ProtoReflect() protoreflect.Message

func (*ActivitySchedule) Reset

func (x *ActivitySchedule) Reset()

func (*ActivitySchedule) String

func (x *ActivitySchedule) String() string

type AlertDef

type AlertDef struct {
	AlertDefProperties *AlertDefProperties     `protobuf:"bytes,1,opt,name=alert_def_properties,json=alertDefProperties,proto3" json:"alert_def_properties,omitempty"`
	Id                 *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // This is the Alert Definition's Persistent ID (does not change on replace) , AKA UniqueIdentifier
	CreatedTime        *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	UpdatedTime        *timestamppb.Timestamp  `protobuf:"bytes,4,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"`
	// contains filtered or unexported fields
}

* Represents An Existing or Created Alert Definition

func (*AlertDef) Descriptor deprecated

func (*AlertDef) Descriptor() ([]byte, []int)

Deprecated: Use AlertDef.ProtoReflect.Descriptor instead.

func (*AlertDef) GetAlertDefProperties

func (x *AlertDef) GetAlertDefProperties() *AlertDefProperties

func (*AlertDef) GetCreatedTime

func (x *AlertDef) GetCreatedTime() *timestamppb.Timestamp

func (*AlertDef) GetId

func (x *AlertDef) GetId() *wrapperspb.StringValue

func (*AlertDef) GetUpdatedTime

func (x *AlertDef) GetUpdatedTime() *timestamppb.Timestamp

func (*AlertDef) ProtoMessage

func (*AlertDef) ProtoMessage()

func (*AlertDef) ProtoReflect

func (x *AlertDef) ProtoReflect() protoreflect.Message

func (*AlertDef) Reset

func (x *AlertDef) Reset()

func (*AlertDef) String

func (x *AlertDef) String() string

type AlertDefAdvancedTargetSettings

type AlertDefAdvancedTargetSettings struct {

	// Types that are assignable to RetriggeringPeriod:
	//
	//	*AlertDefAdvancedTargetSettings_Minutes
	RetriggeringPeriod isAlertDefAdvancedTargetSettings_RetriggeringPeriod `protobuf_oneof:"retriggering_period"`
	NotifyOn           *NotifyOn                                           `` /* 134-byte string literal not displayed */
	Integration        *IntegrationType                                    `protobuf:"bytes,2,opt,name=integration,proto3" json:"integration,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertDefAdvancedTargetSettings) Descriptor deprecated

func (*AlertDefAdvancedTargetSettings) Descriptor() ([]byte, []int)

Deprecated: Use AlertDefAdvancedTargetSettings.ProtoReflect.Descriptor instead.

func (*AlertDefAdvancedTargetSettings) GetIntegration

func (x *AlertDefAdvancedTargetSettings) GetIntegration() *IntegrationType

func (*AlertDefAdvancedTargetSettings) GetMinutes

func (*AlertDefAdvancedTargetSettings) GetNotifyOn

func (x *AlertDefAdvancedTargetSettings) GetNotifyOn() NotifyOn

func (*AlertDefAdvancedTargetSettings) GetRetriggeringPeriod

func (m *AlertDefAdvancedTargetSettings) GetRetriggeringPeriod() isAlertDefAdvancedTargetSettings_RetriggeringPeriod

func (*AlertDefAdvancedTargetSettings) ProtoMessage

func (*AlertDefAdvancedTargetSettings) ProtoMessage()

func (*AlertDefAdvancedTargetSettings) ProtoReflect

func (*AlertDefAdvancedTargetSettings) Reset

func (x *AlertDefAdvancedTargetSettings) Reset()

func (*AlertDefAdvancedTargetSettings) String

type AlertDefAdvancedTargetSettings_Minutes

type AlertDefAdvancedTargetSettings_Minutes struct {
	Minutes *wrapperspb.UInt32Value `protobuf:"bytes,100,opt,name=minutes,proto3,oneof"`
}

type AlertDefAdvancedTargets

type AlertDefAdvancedTargets struct {
	AdvancedTargetsSettings []*AlertDefAdvancedTargetSettings `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AlertDefAdvancedTargets) Descriptor deprecated

func (*AlertDefAdvancedTargets) Descriptor() ([]byte, []int)

Deprecated: Use AlertDefAdvancedTargets.ProtoReflect.Descriptor instead.

func (*AlertDefAdvancedTargets) GetAdvancedTargetsSettings

func (x *AlertDefAdvancedTargets) GetAdvancedTargetsSettings() []*AlertDefAdvancedTargetSettings

func (*AlertDefAdvancedTargets) ProtoMessage

func (*AlertDefAdvancedTargets) ProtoMessage()

func (*AlertDefAdvancedTargets) ProtoReflect

func (x *AlertDefAdvancedTargets) ProtoReflect() protoreflect.Message

func (*AlertDefAdvancedTargets) Reset

func (x *AlertDefAdvancedTargets) Reset()

func (*AlertDefAdvancedTargets) String

func (x *AlertDefAdvancedTargets) String() string

type AlertDefIncidentSettings

type AlertDefIncidentSettings struct {

	// Types that are assignable to RetriggeringPeriod:
	//
	//	*AlertDefIncidentSettings_Minutes
	RetriggeringPeriod isAlertDefIncidentSettings_RetriggeringPeriod `protobuf_oneof:"retriggering_period"`
	NotifyOn           NotifyOn                                      `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AlertDefIncidentSettings) Descriptor deprecated

func (*AlertDefIncidentSettings) Descriptor() ([]byte, []int)

Deprecated: Use AlertDefIncidentSettings.ProtoReflect.Descriptor instead.

func (*AlertDefIncidentSettings) GetMinutes

func (*AlertDefIncidentSettings) GetNotifyOn

func (x *AlertDefIncidentSettings) GetNotifyOn() NotifyOn

func (*AlertDefIncidentSettings) GetRetriggeringPeriod

func (m *AlertDefIncidentSettings) GetRetriggeringPeriod() isAlertDefIncidentSettings_RetriggeringPeriod

func (*AlertDefIncidentSettings) ProtoMessage

func (*AlertDefIncidentSettings) ProtoMessage()

func (*AlertDefIncidentSettings) ProtoReflect

func (x *AlertDefIncidentSettings) ProtoReflect() protoreflect.Message

func (*AlertDefIncidentSettings) Reset

func (x *AlertDefIncidentSettings) Reset()

func (*AlertDefIncidentSettings) String

func (x *AlertDefIncidentSettings) String() string

type AlertDefIncidentSettings_Minutes

type AlertDefIncidentSettings_Minutes struct {
	Minutes *wrapperspb.UInt32Value `protobuf:"bytes,100,opt,name=minutes,proto3,oneof"`
}

type AlertDefNotificationGroup

type AlertDefNotificationGroup struct {
	GroupByFields []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"`
	// Types that are assignable to Targets:
	//
	//	*AlertDefNotificationGroup_Advanced
	//	*AlertDefNotificationGroup_Simple
	Targets isAlertDefNotificationGroup_Targets `protobuf_oneof:"targets"`
	// contains filtered or unexported fields
}

func (*AlertDefNotificationGroup) Descriptor deprecated

func (*AlertDefNotificationGroup) Descriptor() ([]byte, []int)

Deprecated: Use AlertDefNotificationGroup.ProtoReflect.Descriptor instead.

func (*AlertDefNotificationGroup) GetAdvanced

func (*AlertDefNotificationGroup) GetGroupByFields

func (x *AlertDefNotificationGroup) GetGroupByFields() []*wrapperspb.StringValue

func (*AlertDefNotificationGroup) GetSimple

func (*AlertDefNotificationGroup) GetTargets

func (m *AlertDefNotificationGroup) GetTargets() isAlertDefNotificationGroup_Targets

func (*AlertDefNotificationGroup) ProtoMessage

func (*AlertDefNotificationGroup) ProtoMessage()

func (*AlertDefNotificationGroup) ProtoReflect

func (*AlertDefNotificationGroup) Reset

func (x *AlertDefNotificationGroup) Reset()

func (*AlertDefNotificationGroup) String

func (x *AlertDefNotificationGroup) String() string

type AlertDefNotificationGroup_Advanced

type AlertDefNotificationGroup_Advanced struct {
	Advanced *AlertDefAdvancedTargets `protobuf:"bytes,2,opt,name=advanced,proto3,oneof"`
}

type AlertDefNotificationGroup_Simple

type AlertDefNotificationGroup_Simple struct {
	Simple *AlertDefTargetSimple `protobuf:"bytes,3,opt,name=simple,proto3,oneof"`
}

type AlertDefPriority

type AlertDefPriority int32
const (
	AlertDefPriority_ALERT_DEF_PRIORITY_P5_OR_UNSPECIFIED AlertDefPriority = 0
	AlertDefPriority_ALERT_DEF_PRIORITY_P4                AlertDefPriority = 1
	AlertDefPriority_ALERT_DEF_PRIORITY_P3                AlertDefPriority = 2
	AlertDefPriority_ALERT_DEF_PRIORITY_P2                AlertDefPriority = 3
	AlertDefPriority_ALERT_DEF_PRIORITY_P1                AlertDefPriority = 4
)

func (AlertDefPriority) Descriptor

func (AlertDefPriority) Enum

func (AlertDefPriority) EnumDescriptor deprecated

func (AlertDefPriority) EnumDescriptor() ([]byte, []int)

Deprecated: Use AlertDefPriority.Descriptor instead.

func (AlertDefPriority) Number

func (AlertDefPriority) String

func (x AlertDefPriority) String() string

func (AlertDefPriority) Type

type AlertDefProperties

type AlertDefProperties struct {
	Name        *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Enabled     *wrapperspb.BoolValue   `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Priority    AlertDefPriority        `protobuf:"varint,4,opt,name=priority,proto3,enum=com.coralogixapis.alerts.v3.AlertDefPriority" json:"priority,omitempty"`
	// Types that are assignable to Schedule:
	//
	//	*AlertDefProperties_ActiveOn
	Schedule     isAlertDefProperties_Schedule `protobuf_oneof:"schedule"`
	AlertDefType AlertDefType                  `` /* 146-byte string literal not displayed */
	// Types that are assignable to TypeDefinition:
	//
	//	*AlertDefProperties_LogsImmediate
	//	*AlertDefProperties_LogsMoreThan
	//	*AlertDefProperties_LogsLessThan
	//	*AlertDefProperties_LogsMoreThanUsual
	//	*AlertDefProperties_LogsRatioMoreThan
	//	*AlertDefProperties_LogsRatioLessThan
	//	*AlertDefProperties_LogsNewValue
	//	*AlertDefProperties_LogsUniqueCount
	//	*AlertDefProperties_LogsTimeRelativeMoreThan
	//	*AlertDefProperties_LogsTimeRelativeLessThan
	//	*AlertDefProperties_MetricMoreThan
	//	*AlertDefProperties_MetricLessThan
	//	*AlertDefProperties_MetricMoreThanUsual
	//	*AlertDefProperties_TracingImmediate
	//	*AlertDefProperties_TracingMoreThan
	//	*AlertDefProperties_Flow
	//	*AlertDefProperties_MetricLessThanUsual
	//	*AlertDefProperties_MetricMoreThanOrEquals
	//	*AlertDefProperties_MetricLessThanOrEquals
	TypeDefinition    isAlertDefProperties_TypeDefinition `protobuf_oneof:"type_definition"`
	GroupBy           []*wrapperspb.StringValue           `protobuf:"bytes,7,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
	IncidentsSettings *AlertDefIncidentSettings           `protobuf:"bytes,8,opt,name=incidents_settings,json=incidentsSettings,proto3" json:"incidents_settings,omitempty"`
	NotificationGroup *AlertDefNotificationGroup          `protobuf:"bytes,9,opt,name=notification_group,json=notificationGroup,proto3" json:"notification_group,omitempty"`
	Labels            map[string]string                   `` /* 154-byte string literal not displayed */
	PhantomMode       *wrapperspb.BoolValue               `protobuf:"bytes,11,opt,name=phantom_mode,json=phantomMode,proto3" json:"phantom_mode,omitempty"`
	// contains filtered or unexported fields
}

* Represents The non generated alert definition properties (the ones that are set by the user)

func (*AlertDefProperties) Descriptor deprecated

func (*AlertDefProperties) Descriptor() ([]byte, []int)

Deprecated: Use AlertDefProperties.ProtoReflect.Descriptor instead.

func (*AlertDefProperties) GetActiveOn

func (x *AlertDefProperties) GetActiveOn() *ActivitySchedule

func (*AlertDefProperties) GetAlertDefType

func (x *AlertDefProperties) GetAlertDefType() AlertDefType

func (*AlertDefProperties) GetDescription

func (x *AlertDefProperties) GetDescription() *wrapperspb.StringValue

func (*AlertDefProperties) GetEnabled

func (x *AlertDefProperties) GetEnabled() *wrapperspb.BoolValue

func (*AlertDefProperties) GetFlow

func (*AlertDefProperties) GetGroupBy

func (x *AlertDefProperties) GetGroupBy() []*wrapperspb.StringValue

func (*AlertDefProperties) GetIncidentsSettings

func (x *AlertDefProperties) GetIncidentsSettings() *AlertDefIncidentSettings

func (*AlertDefProperties) GetLabels

func (x *AlertDefProperties) GetLabels() map[string]string

func (*AlertDefProperties) GetLogsImmediate

func (*AlertDefProperties) GetLogsLessThan

func (*AlertDefProperties) GetLogsMoreThan

func (*AlertDefProperties) GetLogsMoreThanUsual

func (x *AlertDefProperties) GetLogsMoreThanUsual() *standard.LogsMoreThanUsualTypeDefinition

func (*AlertDefProperties) GetLogsNewValue

func (*AlertDefProperties) GetLogsRatioLessThan

func (x *AlertDefProperties) GetLogsRatioLessThan() *ratio.LogsRatioLessThanTypeDefinition

func (*AlertDefProperties) GetLogsRatioMoreThan

func (x *AlertDefProperties) GetLogsRatioMoreThan() *ratio.LogsRatioMoreThanTypeDefinition

func (*AlertDefProperties) GetLogsTimeRelativeLessThan

func (*AlertDefProperties) GetLogsTimeRelativeMoreThan

func (*AlertDefProperties) GetLogsUniqueCount

func (*AlertDefProperties) GetMetricLessThan

func (x *AlertDefProperties) GetMetricLessThan() *metric.MetricLessThanTypeDefinition

func (*AlertDefProperties) GetMetricLessThanOrEquals

func (x *AlertDefProperties) GetMetricLessThanOrEquals() *metric.MetricLessThanOrEqualsTypeDefinition

func (*AlertDefProperties) GetMetricLessThanUsual

func (x *AlertDefProperties) GetMetricLessThanUsual() *metric.MetricLessThanUsualTypeDefinition

func (*AlertDefProperties) GetMetricMoreThan

func (x *AlertDefProperties) GetMetricMoreThan() *metric.MetricMoreThanTypeDefinition

func (*AlertDefProperties) GetMetricMoreThanOrEquals

func (x *AlertDefProperties) GetMetricMoreThanOrEquals() *metric.MetricMoreThanOrEqualsTypeDefinition

func (*AlertDefProperties) GetMetricMoreThanUsual

func (x *AlertDefProperties) GetMetricMoreThanUsual() *metric.MetricMoreThanUsualTypeDefinition

func (*AlertDefProperties) GetName

func (*AlertDefProperties) GetNotificationGroup

func (x *AlertDefProperties) GetNotificationGroup() *AlertDefNotificationGroup

func (*AlertDefProperties) GetPhantomMode

func (x *AlertDefProperties) GetPhantomMode() *wrapperspb.BoolValue

func (*AlertDefProperties) GetPriority

func (x *AlertDefProperties) GetPriority() AlertDefPriority

func (*AlertDefProperties) GetSchedule

func (m *AlertDefProperties) GetSchedule() isAlertDefProperties_Schedule

func (*AlertDefProperties) GetTracingImmediate

func (x *AlertDefProperties) GetTracingImmediate() *tracing.TracingImmediateTypeDefinition

func (*AlertDefProperties) GetTracingMoreThan

func (x *AlertDefProperties) GetTracingMoreThan() *tracing.TracingMoreThanTypeDefinition

func (*AlertDefProperties) GetTypeDefinition

func (m *AlertDefProperties) GetTypeDefinition() isAlertDefProperties_TypeDefinition

func (*AlertDefProperties) ProtoMessage

func (*AlertDefProperties) ProtoMessage()

func (*AlertDefProperties) ProtoReflect

func (x *AlertDefProperties) ProtoReflect() protoreflect.Message

func (*AlertDefProperties) Reset

func (x *AlertDefProperties) Reset()

func (*AlertDefProperties) String

func (x *AlertDefProperties) String() string

type AlertDefProperties_ActiveOn

type AlertDefProperties_ActiveOn struct {
	ActiveOn *ActivitySchedule `protobuf:"bytes,5,opt,name=active_on,json=activeOn,proto3,oneof"`
}

type AlertDefProperties_Flow

type AlertDefProperties_Flow struct {
	Flow *flow.FlowTypeDefinition `protobuf:"bytes,117,opt,name=flow,proto3,oneof"`
}

type AlertDefProperties_LogsImmediate

type AlertDefProperties_LogsImmediate struct {
	LogsImmediate *standard.LogsImmediateTypeDefinition `protobuf:"bytes,100,opt,name=logs_immediate,json=logsImmediate,proto3,oneof"`
}

type AlertDefProperties_LogsLessThan

type AlertDefProperties_LogsLessThan struct {
	LogsLessThan *standard.LogsLessThanTypeDefinition `protobuf:"bytes,102,opt,name=logs_less_than,json=logsLessThan,proto3,oneof"`
}

type AlertDefProperties_LogsMoreThan

type AlertDefProperties_LogsMoreThan struct {
	LogsMoreThan *standard.LogsMoreThanTypeDefinition `protobuf:"bytes,101,opt,name=logs_more_than,json=logsMoreThan,proto3,oneof"`
}

type AlertDefProperties_LogsMoreThanUsual

type AlertDefProperties_LogsMoreThanUsual struct {
	LogsMoreThanUsual *standard.LogsMoreThanUsualTypeDefinition `protobuf:"bytes,103,opt,name=logs_more_than_usual,json=logsMoreThanUsual,proto3,oneof"`
}

type AlertDefProperties_LogsNewValue

type AlertDefProperties_LogsNewValue struct {
	LogsNewValue *new_value.LogsNewValueTypeDefinition `protobuf:"bytes,106,opt,name=logs_new_value,json=logsNewValue,proto3,oneof"`
}

type AlertDefProperties_LogsRatioLessThan

type AlertDefProperties_LogsRatioLessThan struct {
	LogsRatioLessThan *ratio.LogsRatioLessThanTypeDefinition `protobuf:"bytes,105,opt,name=logs_ratio_less_than,json=logsRatioLessThan,proto3,oneof"`
}

type AlertDefProperties_LogsRatioMoreThan

type AlertDefProperties_LogsRatioMoreThan struct {
	LogsRatioMoreThan *ratio.LogsRatioMoreThanTypeDefinition `protobuf:"bytes,104,opt,name=logs_ratio_more_than,json=logsRatioMoreThan,proto3,oneof"`
}

type AlertDefProperties_LogsTimeRelativeLessThan

type AlertDefProperties_LogsTimeRelativeLessThan struct {
	LogsTimeRelativeLessThan *time_relative.LogsTimeRelativeLessThanTypeDefinition `protobuf:"bytes,109,opt,name=logs_time_relative_less_than,json=logsTimeRelativeLessThan,proto3,oneof"`
}

type AlertDefProperties_LogsTimeRelativeMoreThan

type AlertDefProperties_LogsTimeRelativeMoreThan struct {
	LogsTimeRelativeMoreThan *time_relative.LogsTimeRelativeMoreThanTypeDefinition `protobuf:"bytes,108,opt,name=logs_time_relative_more_than,json=logsTimeRelativeMoreThan,proto3,oneof"`
}

type AlertDefProperties_LogsUniqueCount

type AlertDefProperties_LogsUniqueCount struct {
	LogsUniqueCount *unique_count.LogsUniqueCountTypeDefinition `protobuf:"bytes,107,opt,name=logs_unique_count,json=logsUniqueCount,proto3,oneof"`
}

type AlertDefProperties_MetricLessThan

type AlertDefProperties_MetricLessThan struct {
	MetricLessThan *metric.MetricLessThanTypeDefinition `protobuf:"bytes,113,opt,name=metric_less_than,json=metricLessThan,proto3,oneof"`
}

type AlertDefProperties_MetricLessThanOrEquals

type AlertDefProperties_MetricLessThanOrEquals struct {
	MetricLessThanOrEquals *metric.MetricLessThanOrEqualsTypeDefinition `protobuf:"bytes,120,opt,name=metric_less_than_or_equals,json=metricLessThanOrEquals,proto3,oneof"`
}

type AlertDefProperties_MetricLessThanUsual

type AlertDefProperties_MetricLessThanUsual struct {
	MetricLessThanUsual *metric.MetricLessThanUsualTypeDefinition `protobuf:"bytes,118,opt,name=metric_less_than_usual,json=metricLessThanUsual,proto3,oneof"`
}

type AlertDefProperties_MetricMoreThan

type AlertDefProperties_MetricMoreThan struct {
	MetricMoreThan *metric.MetricMoreThanTypeDefinition `protobuf:"bytes,112,opt,name=metric_more_than,json=metricMoreThan,proto3,oneof"`
}

type AlertDefProperties_MetricMoreThanOrEquals

type AlertDefProperties_MetricMoreThanOrEquals struct {
	MetricMoreThanOrEquals *metric.MetricMoreThanOrEqualsTypeDefinition `protobuf:"bytes,119,opt,name=metric_more_than_or_equals,json=metricMoreThanOrEquals,proto3,oneof"`
}

type AlertDefProperties_MetricMoreThanUsual

type AlertDefProperties_MetricMoreThanUsual struct {
	MetricMoreThanUsual *metric.MetricMoreThanUsualTypeDefinition `protobuf:"bytes,114,opt,name=metric_more_than_usual,json=metricMoreThanUsual,proto3,oneof"`
}

type AlertDefProperties_TracingImmediate

type AlertDefProperties_TracingImmediate struct {
	TracingImmediate *tracing.TracingImmediateTypeDefinition `protobuf:"bytes,115,opt,name=tracing_immediate,json=tracingImmediate,proto3,oneof"`
}

type AlertDefProperties_TracingMoreThan

type AlertDefProperties_TracingMoreThan struct {
	TracingMoreThan *tracing.TracingMoreThanTypeDefinition `protobuf:"bytes,116,opt,name=tracing_more_than,json=tracingMoreThan,proto3,oneof"`
}

type AlertDefTargetSimple

type AlertDefTargetSimple struct {
	Integrations []*IntegrationType `protobuf:"bytes,1,rep,name=integrations,proto3" json:"integrations,omitempty"`
	// contains filtered or unexported fields
}

func (*AlertDefTargetSimple) Descriptor deprecated

func (*AlertDefTargetSimple) Descriptor() ([]byte, []int)

Deprecated: Use AlertDefTargetSimple.ProtoReflect.Descriptor instead.

func (*AlertDefTargetSimple) GetIntegrations

func (x *AlertDefTargetSimple) GetIntegrations() []*IntegrationType

func (*AlertDefTargetSimple) ProtoMessage

func (*AlertDefTargetSimple) ProtoMessage()

func (*AlertDefTargetSimple) ProtoReflect

func (x *AlertDefTargetSimple) ProtoReflect() protoreflect.Message

func (*AlertDefTargetSimple) Reset

func (x *AlertDefTargetSimple) Reset()

func (*AlertDefTargetSimple) String

func (x *AlertDefTargetSimple) String() string

type AlertDefType

type AlertDefType int32
const (
	AlertDefType_ALERT_DEF_TYPE_LOGS_IMMEDIATE_OR_UNSPECIFIED AlertDefType = 0
	AlertDefType_ALERT_DEF_TYPE_LOGS_MORE_THAN                AlertDefType = 1
	AlertDefType_ALERT_DEF_TYPE_LOGS_LESS_THAN                AlertDefType = 2
	AlertDefType_ALERT_DEF_TYPE_LOGS_MORE_THAN_USUAL          AlertDefType = 3
	AlertDefType_ALERT_DEF_TYPE_LOGS_RATIO_MORE_THAN          AlertDefType = 4
	AlertDefType_ALERT_DEF_TYPE_LOGS_RATIO_LESS_THAN          AlertDefType = 5
	AlertDefType_ALERT_DEF_TYPE_LOGS_NEW_VALUE                AlertDefType = 6
	AlertDefType_ALERT_DEF_TYPE_LOGS_UNIQUE_COUNT             AlertDefType = 7
	AlertDefType_ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_MORE_THAN  AlertDefType = 8
	AlertDefType_ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_LESS_THAN  AlertDefType = 9
	AlertDefType_ALERT_DEF_TYPE_METRIC_MORE_THAN              AlertDefType = 10
	AlertDefType_ALERT_DEF_TYPE_METRIC_LESS_THAN              AlertDefType = 11
	AlertDefType_ALERT_DEF_TYPE_METRIC_MORE_THAN_USUAL        AlertDefType = 14
	AlertDefType_ALERT_DEF_TYPE_TRACING_IMMEDIATE             AlertDefType = 15
	AlertDefType_ALERT_DEF_TYPE_TRACING_MORE_THAN             AlertDefType = 16
	AlertDefType_ALERT_DEF_TYPE_FLOW                          AlertDefType = 17
	AlertDefType_ALERT_DEF_TYPE_METRIC_MORE_THAN_OR_EQUALS    AlertDefType = 18
	AlertDefType_ALERT_DEF_TYPE_METRIC_LESS_THAN_OR_EQUALS    AlertDefType = 19
	AlertDefType_ALERT_DEF_TYPE_METRIC_LESS_THAN_USUAL        AlertDefType = 21
)

func (AlertDefType) Descriptor

func (AlertDefType) Enum

func (x AlertDefType) Enum() *AlertDefType

func (AlertDefType) EnumDescriptor deprecated

func (AlertDefType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AlertDefType.Descriptor instead.

func (AlertDefType) Number

func (AlertDefType) String

func (x AlertDefType) String() string

func (AlertDefType) Type

type AlertDefsServiceClient

type AlertDefsServiceClient interface {
	// Get Alert Def by non changing ID AKA UniqueIdentifier
	GetAlertDef(ctx context.Context, in *GetAlertDefRequest, opts ...grpc.CallOption) (*GetAlertDefResponse, error)
	CreateAlertDef(ctx context.Context, in *CreateAlertDefRequest, opts ...grpc.CallOption) (*CreateAlertDefResponse, error)
	ReplaceAlertDef(ctx context.Context, in *ReplaceAlertDefRequest, opts ...grpc.CallOption) (*ReplaceAlertDefResponse, error)
	ListAlertDefs(ctx context.Context, in *ListAlertDefsRequest, opts ...grpc.CallOption) (*ListAlertDefsResponse, error)
	DeleteAlertDef(ctx context.Context, in *DeleteAlertDefRequest, opts ...grpc.CallOption) (*DeleteAlertDefResponse, error)
	SetActive(ctx context.Context, in *SetActiveRequest, opts ...grpc.CallOption) (*SetActiveResponse, error)
}

AlertDefsServiceClient is the client API for AlertDefsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AlertDefsServiceServer

type AlertDefsServiceServer interface {
	// Get Alert Def by non changing ID AKA UniqueIdentifier
	GetAlertDef(context.Context, *GetAlertDefRequest) (*GetAlertDefResponse, error)
	CreateAlertDef(context.Context, *CreateAlertDefRequest) (*CreateAlertDefResponse, error)
	ReplaceAlertDef(context.Context, *ReplaceAlertDefRequest) (*ReplaceAlertDefResponse, error)
	ListAlertDefs(context.Context, *ListAlertDefsRequest) (*ListAlertDefsResponse, error)
	DeleteAlertDef(context.Context, *DeleteAlertDefRequest) (*DeleteAlertDefResponse, error)
	SetActive(context.Context, *SetActiveRequest) (*SetActiveResponse, error)
	// contains filtered or unexported methods
}

AlertDefsServiceServer is the server API for AlertDefsService service. All implementations must embed UnimplementedAlertDefsServiceServer for forward compatibility

type AuditLogDescription

type AuditLogDescription struct {
	Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditLogDescription) Descriptor deprecated

func (*AuditLogDescription) Descriptor() ([]byte, []int)

Deprecated: Use AuditLogDescription.ProtoReflect.Descriptor instead.

func (*AuditLogDescription) GetDescription

func (x *AuditLogDescription) GetDescription() string

func (*AuditLogDescription) ProtoMessage

func (*AuditLogDescription) ProtoMessage()

func (*AuditLogDescription) ProtoReflect

func (x *AuditLogDescription) ProtoReflect() protoreflect.Message

func (*AuditLogDescription) Reset

func (x *AuditLogDescription) Reset()

func (*AuditLogDescription) String

func (x *AuditLogDescription) String() string

type BatchGetAlertDefRequest

type BatchGetAlertDefRequest struct {
	Ids []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetAlertDefRequest) Descriptor deprecated

func (*BatchGetAlertDefRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetAlertDefRequest.ProtoReflect.Descriptor instead.

func (*BatchGetAlertDefRequest) GetIds

func (*BatchGetAlertDefRequest) ProtoMessage

func (*BatchGetAlertDefRequest) ProtoMessage()

func (*BatchGetAlertDefRequest) ProtoReflect

func (x *BatchGetAlertDefRequest) ProtoReflect() protoreflect.Message

func (*BatchGetAlertDefRequest) Reset

func (x *BatchGetAlertDefRequest) Reset()

func (*BatchGetAlertDefRequest) String

func (x *BatchGetAlertDefRequest) String() string

type BatchGetAlertDefResponse

type BatchGetAlertDefResponse struct {
	AlertDefs   map[string]*AlertDef      `` /* 176-byte string literal not displayed */
	NotFoundIds []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=not_found_ids,json=notFoundIds,proto3" json:"not_found_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetAlertDefResponse) Descriptor deprecated

func (*BatchGetAlertDefResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetAlertDefResponse.ProtoReflect.Descriptor instead.

func (*BatchGetAlertDefResponse) GetAlertDefs

func (x *BatchGetAlertDefResponse) GetAlertDefs() map[string]*AlertDef

func (*BatchGetAlertDefResponse) GetNotFoundIds

func (x *BatchGetAlertDefResponse) GetNotFoundIds() []*wrapperspb.StringValue

func (*BatchGetAlertDefResponse) ProtoMessage

func (*BatchGetAlertDefResponse) ProtoMessage()

func (*BatchGetAlertDefResponse) ProtoReflect

func (x *BatchGetAlertDefResponse) ProtoReflect() protoreflect.Message

func (*BatchGetAlertDefResponse) Reset

func (x *BatchGetAlertDefResponse) Reset()

func (*BatchGetAlertDefResponse) String

func (x *BatchGetAlertDefResponse) String() string

type CreateAlertDefRequest

type CreateAlertDefRequest struct {
	AlertDefProperties *AlertDefProperties `protobuf:"bytes,1,opt,name=alert_def_properties,json=alertDefProperties,proto3" json:"alert_def_properties,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAlertDefRequest) Descriptor deprecated

func (*CreateAlertDefRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAlertDefRequest.ProtoReflect.Descriptor instead.

func (*CreateAlertDefRequest) GetAlertDefProperties

func (x *CreateAlertDefRequest) GetAlertDefProperties() *AlertDefProperties

func (*CreateAlertDefRequest) ProtoMessage

func (*CreateAlertDefRequest) ProtoMessage()

func (*CreateAlertDefRequest) ProtoReflect

func (x *CreateAlertDefRequest) ProtoReflect() protoreflect.Message

func (*CreateAlertDefRequest) Reset

func (x *CreateAlertDefRequest) Reset()

func (*CreateAlertDefRequest) String

func (x *CreateAlertDefRequest) String() string

type CreateAlertDefResponse

type CreateAlertDefResponse struct {
	AlertDef *AlertDef `protobuf:"bytes,1,opt,name=alert_def,json=alertDef,proto3" json:"alert_def,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAlertDefResponse) Descriptor deprecated

func (*CreateAlertDefResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateAlertDefResponse.ProtoReflect.Descriptor instead.

func (*CreateAlertDefResponse) GetAlertDef

func (x *CreateAlertDefResponse) GetAlertDef() *AlertDef

func (*CreateAlertDefResponse) ProtoMessage

func (*CreateAlertDefResponse) ProtoMessage()

func (*CreateAlertDefResponse) ProtoReflect

func (x *CreateAlertDefResponse) ProtoReflect() protoreflect.Message

func (*CreateAlertDefResponse) Reset

func (x *CreateAlertDefResponse) Reset()

func (*CreateAlertDefResponse) String

func (x *CreateAlertDefResponse) String() string

type DayOfWeek

type DayOfWeek int32
const (
	DayOfWeek_DAY_OF_WEEK_MONDAY_OR_UNSPECIFIED DayOfWeek = 0
	DayOfWeek_DAY_OF_WEEK_TUESDAY               DayOfWeek = 1
	DayOfWeek_DAY_OF_WEEK_WEDNESDAY             DayOfWeek = 2
	DayOfWeek_DAY_OF_WEEK_THURSDAY              DayOfWeek = 3
	DayOfWeek_DAY_OF_WEEK_FRIDAY                DayOfWeek = 4
	DayOfWeek_DAY_OF_WEEK_SATURDAY              DayOfWeek = 5
	DayOfWeek_DAY_OF_WEEK_SUNDAY                DayOfWeek = 6
)

func (DayOfWeek) Descriptor

func (DayOfWeek) Descriptor() protoreflect.EnumDescriptor

func (DayOfWeek) Enum

func (x DayOfWeek) Enum() *DayOfWeek

func (DayOfWeek) EnumDescriptor deprecated

func (DayOfWeek) EnumDescriptor() ([]byte, []int)

Deprecated: Use DayOfWeek.Descriptor instead.

func (DayOfWeek) Number

func (x DayOfWeek) Number() protoreflect.EnumNumber

func (DayOfWeek) String

func (x DayOfWeek) String() string

func (DayOfWeek) Type

type DeleteAlertDefRequest

type DeleteAlertDefRequest struct {
	Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAlertDefRequest) Descriptor deprecated

func (*DeleteAlertDefRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAlertDefRequest.ProtoReflect.Descriptor instead.

func (*DeleteAlertDefRequest) GetId

func (*DeleteAlertDefRequest) ProtoMessage

func (*DeleteAlertDefRequest) ProtoMessage()

func (*DeleteAlertDefRequest) ProtoReflect

func (x *DeleteAlertDefRequest) ProtoReflect() protoreflect.Message

func (*DeleteAlertDefRequest) Reset

func (x *DeleteAlertDefRequest) Reset()

func (*DeleteAlertDefRequest) String

func (x *DeleteAlertDefRequest) String() string

type DeleteAlertDefResponse

type DeleteAlertDefResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteAlertDefResponse) Descriptor deprecated

func (*DeleteAlertDefResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAlertDefResponse.ProtoReflect.Descriptor instead.

func (*DeleteAlertDefResponse) ProtoMessage

func (*DeleteAlertDefResponse) ProtoMessage()

func (*DeleteAlertDefResponse) ProtoReflect

func (x *DeleteAlertDefResponse) ProtoReflect() protoreflect.Message

func (*DeleteAlertDefResponse) Reset

func (x *DeleteAlertDefResponse) Reset()

func (*DeleteAlertDefResponse) String

func (x *DeleteAlertDefResponse) String() string

type GetAlertDefRequest

type GetAlertDefRequest struct {
	Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The Alert's non changing ID
	// contains filtered or unexported fields
}

func (*GetAlertDefRequest) Descriptor deprecated

func (*GetAlertDefRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAlertDefRequest.ProtoReflect.Descriptor instead.

func (*GetAlertDefRequest) GetId

func (*GetAlertDefRequest) ProtoMessage

func (*GetAlertDefRequest) ProtoMessage()

func (*GetAlertDefRequest) ProtoReflect

func (x *GetAlertDefRequest) ProtoReflect() protoreflect.Message

func (*GetAlertDefRequest) Reset

func (x *GetAlertDefRequest) Reset()

func (*GetAlertDefRequest) String

func (x *GetAlertDefRequest) String() string

type GetAlertDefResponse

type GetAlertDefResponse struct {
	AlertDef *AlertDef `protobuf:"bytes,1,opt,name=alert_def,json=alertDef,proto3" json:"alert_def,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAlertDefResponse) Descriptor deprecated

func (*GetAlertDefResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAlertDefResponse.ProtoReflect.Descriptor instead.

func (*GetAlertDefResponse) GetAlertDef

func (x *GetAlertDefResponse) GetAlertDef() *AlertDef

func (*GetAlertDefResponse) ProtoMessage

func (*GetAlertDefResponse) ProtoMessage()

func (*GetAlertDefResponse) ProtoReflect

func (x *GetAlertDefResponse) ProtoReflect() protoreflect.Message

func (*GetAlertDefResponse) Reset

func (x *GetAlertDefResponse) Reset()

func (*GetAlertDefResponse) String

func (x *GetAlertDefResponse) String() string

type IntegrationType

type IntegrationType struct {

	// Types that are assignable to IntegrationType:
	//
	//	*IntegrationType_IntegrationId
	//	*IntegrationType_Recipients
	IntegrationType isIntegrationType_IntegrationType `protobuf_oneof:"integration_type"`
	// contains filtered or unexported fields
}

func (*IntegrationType) Descriptor deprecated

func (*IntegrationType) Descriptor() ([]byte, []int)

Deprecated: Use IntegrationType.ProtoReflect.Descriptor instead.

func (*IntegrationType) GetIntegrationId

func (x *IntegrationType) GetIntegrationId() *wrapperspb.UInt32Value

func (*IntegrationType) GetIntegrationType

func (m *IntegrationType) GetIntegrationType() isIntegrationType_IntegrationType

func (*IntegrationType) GetRecipients

func (x *IntegrationType) GetRecipients() *Recipients

func (*IntegrationType) ProtoMessage

func (*IntegrationType) ProtoMessage()

func (*IntegrationType) ProtoReflect

func (x *IntegrationType) ProtoReflect() protoreflect.Message

func (*IntegrationType) Reset

func (x *IntegrationType) Reset()

func (*IntegrationType) String

func (x *IntegrationType) String() string

type IntegrationType_IntegrationId

type IntegrationType_IntegrationId struct {
	IntegrationId *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=integration_id,json=integrationId,proto3,oneof"`
}

type IntegrationType_Recipients

type IntegrationType_Recipients struct {
	Recipients *Recipients `protobuf:"bytes,3,opt,name=recipients,proto3,oneof"`
}

type ListAlertDefsRequest

type ListAlertDefsRequest struct {
	// contains filtered or unexported fields
}

func (*ListAlertDefsRequest) Descriptor deprecated

func (*ListAlertDefsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAlertDefsRequest.ProtoReflect.Descriptor instead.

func (*ListAlertDefsRequest) ProtoMessage

func (*ListAlertDefsRequest) ProtoMessage()

func (*ListAlertDefsRequest) ProtoReflect

func (x *ListAlertDefsRequest) ProtoReflect() protoreflect.Message

func (*ListAlertDefsRequest) Reset

func (x *ListAlertDefsRequest) Reset()

func (*ListAlertDefsRequest) String

func (x *ListAlertDefsRequest) String() string

type ListAlertDefsResponse

type ListAlertDefsResponse struct {
	AlertDefs []*AlertDef `protobuf:"bytes,1,rep,name=alert_defs,json=alertDefs,proto3" json:"alert_defs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertDefsResponse) Descriptor deprecated

func (*ListAlertDefsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAlertDefsResponse.ProtoReflect.Descriptor instead.

func (*ListAlertDefsResponse) GetAlertDefs

func (x *ListAlertDefsResponse) GetAlertDefs() []*AlertDef

func (*ListAlertDefsResponse) ProtoMessage

func (*ListAlertDefsResponse) ProtoMessage()

func (*ListAlertDefsResponse) ProtoReflect

func (x *ListAlertDefsResponse) ProtoReflect() protoreflect.Message

func (*ListAlertDefsResponse) Reset

func (x *ListAlertDefsResponse) Reset()

func (*ListAlertDefsResponse) String

func (x *ListAlertDefsResponse) String() string

type NotifyOn

type NotifyOn int32
const (
	NotifyOn_NOTIFY_ON_TRIGGERED_ONLY_UNSPECIFIED NotifyOn = 0
	NotifyOn_NOTIFY_ON_TRIGGERED_AND_RESOLVED     NotifyOn = 1
)

func (NotifyOn) Descriptor

func (NotifyOn) Descriptor() protoreflect.EnumDescriptor

func (NotifyOn) Enum

func (x NotifyOn) Enum() *NotifyOn

func (NotifyOn) EnumDescriptor deprecated

func (NotifyOn) EnumDescriptor() ([]byte, []int)

Deprecated: Use NotifyOn.Descriptor instead.

func (NotifyOn) Number

func (x NotifyOn) Number() protoreflect.EnumNumber

func (NotifyOn) String

func (x NotifyOn) String() string

func (NotifyOn) Type

type OrderBy

type OrderBy struct {
	FieldName OrderByFields    `` /* 136-byte string literal not displayed */
	Direction OrderByDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=com.coralogixapis.alerts.v3.OrderByDirection" json:"direction,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderBy) Descriptor deprecated

func (*OrderBy) Descriptor() ([]byte, []int)

Deprecated: Use OrderBy.ProtoReflect.Descriptor instead.

func (*OrderBy) GetDirection

func (x *OrderBy) GetDirection() OrderByDirection

func (*OrderBy) GetFieldName

func (x *OrderBy) GetFieldName() OrderByFields

func (*OrderBy) ProtoMessage

func (*OrderBy) ProtoMessage()

func (*OrderBy) ProtoReflect

func (x *OrderBy) ProtoReflect() protoreflect.Message

func (*OrderBy) Reset

func (x *OrderBy) Reset()

func (*OrderBy) String

func (x *OrderBy) String() string

type OrderByDirection

type OrderByDirection int32
const (
	OrderByDirection_ORDER_BY_DIRECTION_ASC_OR_UNSPECIFIED OrderByDirection = 0
	OrderByDirection_ORDER_BY_DIRECTION_DESC               OrderByDirection = 1
)

func (OrderByDirection) Descriptor

func (OrderByDirection) Enum

func (OrderByDirection) EnumDescriptor deprecated

func (OrderByDirection) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderByDirection.Descriptor instead.

func (OrderByDirection) Number

func (OrderByDirection) String

func (x OrderByDirection) String() string

func (OrderByDirection) Type

type OrderByFields

type OrderByFields int32
const (
	OrderByFields_ORDER_BY_FIELDS_NAME_OR_UNSPECIFIED OrderByFields = 0
	OrderByFields_ORDER_BY_FIELDS_ID                  OrderByFields = 1
	OrderByFields_ORDER_BY_FIELDS_SEVERITY            OrderByFields = 2
	OrderByFields_ORDER_BY_FIELDS_CREATED_TIME        OrderByFields = 3
	OrderByFields_ORDER_BY_FIELDS_UPDATED_TIME        OrderByFields = 4
)

func (OrderByFields) Descriptor

func (OrderByFields) Enum

func (x OrderByFields) Enum() *OrderByFields

func (OrderByFields) EnumDescriptor deprecated

func (OrderByFields) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderByFields.Descriptor instead.

func (OrderByFields) Number

func (OrderByFields) String

func (x OrderByFields) String() string

func (OrderByFields) Type

type Recipients

type Recipients struct {
	Emails []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"`
	// contains filtered or unexported fields
}

func (*Recipients) Descriptor deprecated

func (*Recipients) Descriptor() ([]byte, []int)

Deprecated: Use Recipients.ProtoReflect.Descriptor instead.

func (*Recipients) GetEmails

func (x *Recipients) GetEmails() []*wrapperspb.StringValue

func (*Recipients) ProtoMessage

func (*Recipients) ProtoMessage()

func (*Recipients) ProtoReflect

func (x *Recipients) ProtoReflect() protoreflect.Message

func (*Recipients) Reset

func (x *Recipients) Reset()

func (*Recipients) String

func (x *Recipients) String() string

type ReplaceAlertDefRequest

type ReplaceAlertDefRequest struct {
	AlertDefProperties *AlertDefProperties     `protobuf:"bytes,1,opt,name=alert_def_properties,json=alertDefProperties,proto3" json:"alert_def_properties,omitempty"`
	Id                 *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // The AlertDef's Id to be replaced
	// contains filtered or unexported fields
}

func (*ReplaceAlertDefRequest) Descriptor deprecated

func (*ReplaceAlertDefRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReplaceAlertDefRequest.ProtoReflect.Descriptor instead.

func (*ReplaceAlertDefRequest) GetAlertDefProperties

func (x *ReplaceAlertDefRequest) GetAlertDefProperties() *AlertDefProperties

func (*ReplaceAlertDefRequest) GetId

func (*ReplaceAlertDefRequest) ProtoMessage

func (*ReplaceAlertDefRequest) ProtoMessage()

func (*ReplaceAlertDefRequest) ProtoReflect

func (x *ReplaceAlertDefRequest) ProtoReflect() protoreflect.Message

func (*ReplaceAlertDefRequest) Reset

func (x *ReplaceAlertDefRequest) Reset()

func (*ReplaceAlertDefRequest) String

func (x *ReplaceAlertDefRequest) String() string

type ReplaceAlertDefResponse

type ReplaceAlertDefResponse struct {
	AlertDef *AlertDef `protobuf:"bytes,1,opt,name=alert_def,json=alertDef,proto3" json:"alert_def,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplaceAlertDefResponse) Descriptor deprecated

func (*ReplaceAlertDefResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReplaceAlertDefResponse.ProtoReflect.Descriptor instead.

func (*ReplaceAlertDefResponse) GetAlertDef

func (x *ReplaceAlertDefResponse) GetAlertDef() *AlertDef

func (*ReplaceAlertDefResponse) ProtoMessage

func (*ReplaceAlertDefResponse) ProtoMessage()

func (*ReplaceAlertDefResponse) ProtoReflect

func (x *ReplaceAlertDefResponse) ProtoReflect() protoreflect.Message

func (*ReplaceAlertDefResponse) Reset

func (x *ReplaceAlertDefResponse) Reset()

func (*ReplaceAlertDefResponse) String

func (x *ReplaceAlertDefResponse) String() string

type SetActiveRequest

type SetActiveRequest struct {
	Id     *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Active *wrapperspb.BoolValue   `protobuf:"bytes,2,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}
message AlertExecutionRequest {
 oneof request {
   CreateAlertDefRequest create = 1;
   ReplaceAlertDefRequest replace = 2;
   DeleteAlertDefRequest delete = 3;
 }
}

message AlertExecutionResponse {
 oneof response {
   CreateAlertDefResponse create = 1;
   ReplaceAlertDefResponse replace = 2;
   DeleteAlertDefResponse delete = 3;
 }
}

message GetLimitsRequest {}

message GetLimitsResponse {
 google.protobuf.StringValue company_id = 1;
 google.protobuf.Int32Value limit = 2;
 google.protobuf.Int32Value used = 3;
}

message ValidateAlertRequest {
 Alert alert = 1;
}

message ValidateAlertResponse {
 google.protobuf.BoolValue valid = 1;
}

func (*SetActiveRequest) Descriptor deprecated

func (*SetActiveRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetActiveRequest.ProtoReflect.Descriptor instead.

func (*SetActiveRequest) GetActive

func (x *SetActiveRequest) GetActive() *wrapperspb.BoolValue

func (*SetActiveRequest) GetId

func (*SetActiveRequest) ProtoMessage

func (*SetActiveRequest) ProtoMessage()

func (*SetActiveRequest) ProtoReflect

func (x *SetActiveRequest) ProtoReflect() protoreflect.Message

func (*SetActiveRequest) Reset

func (x *SetActiveRequest) Reset()

func (*SetActiveRequest) String

func (x *SetActiveRequest) String() string

type SetActiveResponse

type SetActiveResponse struct {
	// contains filtered or unexported fields
}

func (*SetActiveResponse) Descriptor deprecated

func (*SetActiveResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetActiveResponse.ProtoReflect.Descriptor instead.

func (*SetActiveResponse) ProtoMessage

func (*SetActiveResponse) ProtoMessage()

func (*SetActiveResponse) ProtoReflect

func (x *SetActiveResponse) ProtoReflect() protoreflect.Message

func (*SetActiveResponse) Reset

func (x *SetActiveResponse) Reset()

func (*SetActiveResponse) String

func (x *SetActiveResponse) String() string

type TimeOfDay

type TimeOfDay struct {

	// Hours of day in 24 hour format. Should be from 0 to 23.
	Hours int32 `protobuf:"varint,1,opt,name=hours,proto3" json:"hours,omitempty"`
	// Minutes of hour of day. Must be from 0 to 59.
	Minutes int32 `protobuf:"varint,2,opt,name=minutes,proto3" json:"minutes,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeOfDay) Descriptor deprecated

func (*TimeOfDay) Descriptor() ([]byte, []int)

Deprecated: Use TimeOfDay.ProtoReflect.Descriptor instead.

func (*TimeOfDay) GetHours

func (x *TimeOfDay) GetHours() int32

func (*TimeOfDay) GetMinutes

func (x *TimeOfDay) GetMinutes() int32

func (*TimeOfDay) ProtoMessage

func (*TimeOfDay) ProtoMessage()

func (*TimeOfDay) ProtoReflect

func (x *TimeOfDay) ProtoReflect() protoreflect.Message

func (*TimeOfDay) Reset

func (x *TimeOfDay) Reset()

func (*TimeOfDay) String

func (x *TimeOfDay) String() string

type UnimplementedAlertDefsServiceServer

type UnimplementedAlertDefsServiceServer struct {
}

UnimplementedAlertDefsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAlertDefsServiceServer) CreateAlertDef

func (UnimplementedAlertDefsServiceServer) DeleteAlertDef

func (UnimplementedAlertDefsServiceServer) GetAlertDef

func (UnimplementedAlertDefsServiceServer) ListAlertDefs

func (UnimplementedAlertDefsServiceServer) ReplaceAlertDef

func (UnimplementedAlertDefsServiceServer) SetActive

type UnsafeAlertDefsServiceServer

type UnsafeAlertDefsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAlertDefsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AlertDefsServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL