proto

package
v0.0.0-...-98807d9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Problem_ProblemType_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "MISSING_WEIGHT",
		2:  "MISSING_FILED",
		3:  "MISSING_WIDTH",
		4:  "MISSING_CONDITION",
		5:  "MISSING_SLEEVE",
		6:  "NEEDS_KEEPER",
		7:  "NEEDS_DIGITAL",
		8:  "NEEDS_SALE_BUDGET",
		9:  "NEEDS_SOLD_DETAILS",
		10: "BAD_BANDCAMP",
	}
	Problem_ProblemType_value = map[string]int32{
		"UNKNOWN":            0,
		"MISSING_WEIGHT":     1,
		"MISSING_FILED":      2,
		"MISSING_WIDTH":      3,
		"MISSING_CONDITION":  4,
		"MISSING_SLEEVE":     5,
		"NEEDS_KEEPER":       6,
		"NEEDS_DIGITAL":      7,
		"NEEDS_SALE_BUDGET":  8,
		"NEEDS_SOLD_DETAILS": 9,
		"BAD_BANDCAMP":       10,
	}
)

Enum value maps for Problem_ProblemType.

View Source
var File_recordalerting_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Config

type Config struct {
	Problems []*Problem `protobuf:"bytes,1,rep,name=problems,proto3" json:"problems,omitempty"`
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetProblems

func (x *Config) GetProblems() []*Problem

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

type Problem

type Problem struct {
	Type                 Problem_ProblemType `protobuf:"varint,1,opt,name=type,proto3,enum=recordalerting.Problem_ProblemType" json:"type,omitempty"`
	InstanceId           int32               `protobuf:"varint,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	IssueNumber          int32               `protobuf:"varint,3,opt,name=issue_number,json=issueNumber,proto3" json:"issue_number,omitempty"`
	IssueOpenedTimestamp int64               `protobuf:"varint,4,opt,name=issue_opened_timestamp,json=issueOpenedTimestamp,proto3" json:"issue_opened_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Problem) Descriptor deprecated

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

Deprecated: Use Problem.ProtoReflect.Descriptor instead.

func (*Problem) GetInstanceId

func (x *Problem) GetInstanceId() int32

func (*Problem) GetIssueNumber

func (x *Problem) GetIssueNumber() int32

func (*Problem) GetIssueOpenedTimestamp

func (x *Problem) GetIssueOpenedTimestamp() int64

func (*Problem) GetType

func (x *Problem) GetType() Problem_ProblemType

func (*Problem) ProtoMessage

func (*Problem) ProtoMessage()

func (*Problem) ProtoReflect

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

func (*Problem) Reset

func (x *Problem) Reset()

func (*Problem) String

func (x *Problem) String() string

type Problem_ProblemType

type Problem_ProblemType int32
const (
	Problem_UNKNOWN            Problem_ProblemType = 0
	Problem_MISSING_WEIGHT     Problem_ProblemType = 1
	Problem_MISSING_FILED      Problem_ProblemType = 2
	Problem_MISSING_WIDTH      Problem_ProblemType = 3
	Problem_MISSING_CONDITION  Problem_ProblemType = 4
	Problem_MISSING_SLEEVE     Problem_ProblemType = 5
	Problem_NEEDS_KEEPER       Problem_ProblemType = 6
	Problem_NEEDS_DIGITAL      Problem_ProblemType = 7
	Problem_NEEDS_SALE_BUDGET  Problem_ProblemType = 8
	Problem_NEEDS_SOLD_DETAILS Problem_ProblemType = 9
	Problem_BAD_BANDCAMP       Problem_ProblemType = 10
)

func (Problem_ProblemType) Descriptor

func (Problem_ProblemType) Enum

func (Problem_ProblemType) EnumDescriptor deprecated

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

Deprecated: Use Problem_ProblemType.Descriptor instead.

func (Problem_ProblemType) Number

func (Problem_ProblemType) String

func (x Problem_ProblemType) String() string

func (Problem_ProblemType) Type

Jump to

Keyboard shortcuts

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