cap

package
v0.0.0-...-66518bc Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Alert_MessageType_name = map[int32]string{
	0: "MESSAGE_TYPE_UNKNOWN",
	1: "ALERT",
	2: "UPDATE",
	3: "CANCEL",
	4: "ACK",
	5: "ERROR",
}
View Source
var Alert_MessageType_value = map[string]int32{
	"MESSAGE_TYPE_UNKNOWN": 0,
	"ALERT":                1,
	"UPDATE":               2,
	"CANCEL":               3,
	"ACK":                  4,
	"ERROR":                5,
}
View Source
var Alert_Scope_name = map[int32]string{
	0: "SCOPE_UNKNOWN",
	1: "PUBLIC",
	2: "RESTRICTED",
	3: "PRIVATE",
}
View Source
var Alert_Scope_value = map[string]int32{
	"SCOPE_UNKNOWN": 0,
	"PUBLIC":        1,
	"RESTRICTED":    2,
	"PRIVATE":       3,
}
View Source
var Alert_Status_name = map[int32]string{
	0: "STATUS_UNKNOWN",
	1: "ACTUAL",
	2: "EXCERCISE",
	3: "SYSTEM",
	4: "TEST",
	5: "DRAFT",
}
View Source
var Alert_Status_value = map[string]int32{
	"STATUS_UNKNOWN": 0,
	"ACTUAL":         1,
	"EXCERCISE":      2,
	"SYSTEM":         3,
	"TEST":           4,
	"DRAFT":          5,
}
View Source
var Info_Category_name = map[int32]string{
	0:  "CATEGORY_UNKNOWN",
	1:  "GEO",
	2:  "MET",
	3:  "SAFETY",
	4:  "SECURITY",
	5:  "RESCUE",
	6:  "FIRE",
	7:  "HEALTH",
	8:  "ENV",
	9:  "TRANSPORT",
	10: "INFRA",
	11: "CBRNE",
	12: "OTHER",
}
View Source
var Info_Category_value = map[string]int32{
	"CATEGORY_UNKNOWN": 0,
	"GEO":              1,
	"MET":              2,
	"SAFETY":           3,
	"SECURITY":         4,
	"RESCUE":           5,
	"FIRE":             6,
	"HEALTH":           7,
	"ENV":              8,
	"TRANSPORT":        9,
	"INFRA":            10,
	"CBRNE":            11,
	"OTHER":            12,
}
View Source
var Info_Certainty_name = map[int32]string{
	0: "CERTAINTY_UNKNOWN",
	1: "OBSERVED",
	2: "LIKELY",
	3: "POSSIBLE",
	4: "UNLIKELY",
}
View Source
var Info_Certainty_value = map[string]int32{
	"CERTAINTY_UNKNOWN": 0,
	"OBSERVED":          1,
	"LIKELY":            2,
	"POSSIBLE":          3,
	"UNLIKELY":          4,
}
View Source
var Info_ResponseType_name = map[int32]string{
	0: "RESPONSE_TYPE_UNKNOWN",
	1: "SHELTER",
	2: "EVACUATE",
	3: "PREPARE",
	4: "EXECUTE",
	5: "AVOID",
	6: "MONITOR",
	7: "ASSESS",
	8: "ALL_CLEAR",
	9: "NONE",
}
View Source
var Info_ResponseType_value = map[string]int32{
	"RESPONSE_TYPE_UNKNOWN": 0,
	"SHELTER":               1,
	"EVACUATE":              2,
	"PREPARE":               3,
	"EXECUTE":               4,
	"AVOID":                 5,
	"MONITOR":               6,
	"ASSESS":                7,
	"ALL_CLEAR":             8,
	"NONE":                  9,
}
View Source
var Info_Severity_name = map[int32]string{
	0: "SEVERITY_UNKNOWN",
	1: "EXTREME",
	2: "SEVERE",
	3: "MODERATE",
	4: "MINOR",
}
View Source
var Info_Severity_value = map[string]int32{
	"SEVERITY_UNKNOWN": 0,
	"EXTREME":          1,
	"SEVERE":           2,
	"MODERATE":         3,
	"MINOR":            4,
}
View Source
var Info_Urgency_name = map[int32]string{
	0: "URGENCY_UNKNOWN",
	1: "IMMEDIATE",
	2: "EXPECTED",
	3: "FUTURE",
	4: "PAST",
}
View Source
var Info_Urgency_value = map[string]int32{
	"URGENCY_UNKNOWN": 0,
	"IMMEDIATE":       1,
	"EXPECTED":        2,
	"FUTURE":          3,
	"PAST":            4,
}

Functions

This section is empty.

Types

type Alert

type Alert struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The identifier of the alert message
	Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// The identifier of the sender of the alert message
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// The time and date of the origination of the alert message
	Sent *timestamp.Timestamp `protobuf:"bytes,4,opt,name=sent,proto3" json:"sent,omitempty"`
	// The code denoting the appropriate handling of the alert message
	Status Alert_Status `protobuf:"varint,5,opt,name=status,proto3,enum=cap.Alert_Status" json:"status,omitempty"`
	// The code denoting the nature of the alert message
	MessageType Alert_MessageType `protobuf:"varint,6,opt,name=message_type,json=messageType,proto3,enum=cap.Alert_MessageType" json:"message_type,omitempty"`
	// The text identifying the source of the alert message
	Source string `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty"`
	// The code denoting the intended distribution of the alert message
	Scope Alert_Scope `protobuf:"varint,8,opt,name=scope,proto3,enum=cap.Alert_Scope" json:"scope,omitempty"`
	// The text describing the rule for limiting distribution of the restricted alert message
	Restriction string `protobuf:"bytes,9,opt,name=restriction,proto3" json:"restriction,omitempty"`
	// The group listing of intended recipients of the alert message
	Addresses []string `protobuf:"bytes,10,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// The code denoting the special handling of the alert message
	Code []string `protobuf:"bytes,11,rep,name=code,proto3" json:"code,omitempty"`
	// The text describing the purpose or significance of the alert message
	Note string `protobuf:"bytes,12,opt,name=note,proto3" json:"note,omitempty"`
	// The group listing identifying earlier message(s) by the alert message
	References []*Reference `protobuf:"bytes,13,rep,name=references,proto3" json:"references,omitempty"`
	// The group listing naming the referent incident(s) of the alert message
	Incidents []string `protobuf:"bytes,14,rep,name=incidents,proto3" json:"incidents,omitempty"`
	// The container for all component parts of the info sub-element of the alert message
	Infos []*Info `protobuf:"bytes,15,rep,name=infos,proto3" json:"infos,omitempty"`
	// The alert has been superseded
	Superseded bool `protobuf:"varint,16,opt,name=superseded,proto3" json:"superseded,omitempty"`
	// System from which the alert was received
	System               string   `protobuf:"bytes,17,opt,name=system,proto3" json:"system,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Alert) Descriptor

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

func (*Alert) GetAddresses

func (m *Alert) GetAddresses() []string

func (*Alert) GetCode

func (m *Alert) GetCode() []string

func (*Alert) GetId

func (m *Alert) GetId() string

func (*Alert) GetIdentifier

func (m *Alert) GetIdentifier() string

func (*Alert) GetIncidents

func (m *Alert) GetIncidents() []string

func (*Alert) GetInfos

func (m *Alert) GetInfos() []*Info

func (*Alert) GetMessageType

func (m *Alert) GetMessageType() Alert_MessageType

func (*Alert) GetNote

func (m *Alert) GetNote() string

func (*Alert) GetReferences

func (m *Alert) GetReferences() []*Reference

func (*Alert) GetRestriction

func (m *Alert) GetRestriction() string

func (*Alert) GetScope

func (m *Alert) GetScope() Alert_Scope

func (*Alert) GetSender

func (m *Alert) GetSender() string

func (*Alert) GetSent

func (m *Alert) GetSent() *timestamp.Timestamp

func (*Alert) GetSource

func (m *Alert) GetSource() string

func (*Alert) GetStatus

func (m *Alert) GetStatus() Alert_Status

func (*Alert) GetSuperseded

func (m *Alert) GetSuperseded() bool

func (*Alert) GetSystem

func (m *Alert) GetSystem() string

func (*Alert) ID

func (alert *Alert) ID() string

func (*Alert) ProtoMessage

func (*Alert) ProtoMessage()

func (*Alert) Reference

func (alert *Alert) Reference() *Reference

func (*Alert) Reset

func (m *Alert) Reset()

func (*Alert) String

func (m *Alert) String() string

func (*Alert) UnmarshalXML

func (alert *Alert) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*Alert) XXX_DiscardUnknown

func (m *Alert) XXX_DiscardUnknown()

func (*Alert) XXX_Marshal

func (m *Alert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Alert) XXX_Merge

func (dst *Alert) XXX_Merge(src proto.Message)

func (*Alert) XXX_Size

func (m *Alert) XXX_Size() int

func (*Alert) XXX_Unmarshal

func (m *Alert) XXX_Unmarshal(b []byte) error

type Alert_MessageType

type Alert_MessageType int32
const (
	Alert_MESSAGE_TYPE_UNKNOWN Alert_MessageType = 0
	Alert_ALERT                Alert_MessageType = 1
	Alert_UPDATE               Alert_MessageType = 2
	Alert_CANCEL               Alert_MessageType = 3
	Alert_ACK                  Alert_MessageType = 4
	Alert_ERROR                Alert_MessageType = 5
)

func (Alert_MessageType) EnumDescriptor

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

func (Alert_MessageType) String

func (x Alert_MessageType) String() string

type Alert_Scope

type Alert_Scope int32
const (
	Alert_SCOPE_UNKNOWN Alert_Scope = 0
	Alert_PUBLIC        Alert_Scope = 1
	Alert_RESTRICTED    Alert_Scope = 2
	Alert_PRIVATE       Alert_Scope = 3
)

func (Alert_Scope) EnumDescriptor

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

func (Alert_Scope) String

func (x Alert_Scope) String() string

type Alert_Status

type Alert_Status int32
const (
	Alert_STATUS_UNKNOWN Alert_Status = 0
	Alert_ACTUAL         Alert_Status = 1
	Alert_EXCERCISE      Alert_Status = 2
	Alert_SYSTEM         Alert_Status = 3
	Alert_TEST           Alert_Status = 4
	Alert_DRAFT          Alert_Status = 5
)

func (Alert_Status) EnumDescriptor

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

func (Alert_Status) String

func (x Alert_Status) String() string

type Area

type Area struct {
	// The text describing the affected area of the alert message
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// The paired values of points defining a polygon that delieantes the affected area of the alert message
	Polygons []*Area_Polygon `protobuf:"bytes,2,rep,name=polygons,proto3" json:"polygons,omitempty"`
	// The paried values of a point and radius delineating the affected area of the alert message
	Circles []*Area_Circle `protobuf:"bytes,3,rep,name=circles,proto3" json:"circles,omitempty"`
	// The geographic code delienating the affected area of the alert message
	Geocodes map[string]*_struct.ListValue `` /* 157-byte string literal not displayed */
	// The specific or minimum altitude of the affected area of the alert message
	Altitude float64 `protobuf:"fixed64,5,opt,name=altitude,proto3" json:"altitude,omitempty"`
	// The maximum altitude of the affected area of the alert message
	Ceiling              float64  `protobuf:"fixed64,6,opt,name=ceiling,proto3" json:"ceiling,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Area) Descriptor

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

func (*Area) GetAltitude

func (m *Area) GetAltitude() float64

func (*Area) GetCeiling

func (m *Area) GetCeiling() float64

func (*Area) GetCircles

func (m *Area) GetCircles() []*Area_Circle

func (*Area) GetDescription

func (m *Area) GetDescription() string

func (*Area) GetGeocodes

func (m *Area) GetGeocodes() map[string]*_struct.ListValue

func (*Area) GetPolygons

func (m *Area) GetPolygons() []*Area_Polygon

func (*Area) ProtoMessage

func (*Area) ProtoMessage()

func (*Area) Reset

func (m *Area) Reset()

func (*Area) String

func (m *Area) String() string

func (*Area) XXX_DiscardUnknown

func (m *Area) XXX_DiscardUnknown()

func (*Area) XXX_Marshal

func (m *Area) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Area) XXX_Merge

func (dst *Area) XXX_Merge(src proto.Message)

func (*Area) XXX_Size

func (m *Area) XXX_Size() int

func (*Area) XXX_Unmarshal

func (m *Area) XXX_Unmarshal(b []byte) error

type Area_Circle

type Area_Circle struct {
	Type                 string    `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Coordinates          []float64 `protobuf:"fixed64,2,rep,packed,name=coordinates,proto3" json:"coordinates,omitempty"`
	Radius               float64   `protobuf:"fixed64,3,opt,name=radius,proto3" json:"radius,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*Area_Circle) Descriptor

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

func (*Area_Circle) GetCoordinates

func (m *Area_Circle) GetCoordinates() []float64

func (*Area_Circle) GetRadius

func (m *Area_Circle) GetRadius() float64

func (*Area_Circle) GetType

func (m *Area_Circle) GetType() string

func (*Area_Circle) ProtoMessage

func (*Area_Circle) ProtoMessage()

func (*Area_Circle) Reset

func (m *Area_Circle) Reset()

func (*Area_Circle) String

func (m *Area_Circle) String() string

func (*Area_Circle) XXX_DiscardUnknown

func (m *Area_Circle) XXX_DiscardUnknown()

func (*Area_Circle) XXX_Marshal

func (m *Area_Circle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Area_Circle) XXX_Merge

func (dst *Area_Circle) XXX_Merge(src proto.Message)

func (*Area_Circle) XXX_Size

func (m *Area_Circle) XXX_Size() int

func (*Area_Circle) XXX_Unmarshal

func (m *Area_Circle) XXX_Unmarshal(b []byte) error

type Area_Polygon

type Area_Polygon struct {
	Type                 string               `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Coordinates          []*_struct.ListValue `protobuf:"bytes,2,rep,name=coordinates,proto3" json:"coordinates,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Area_Polygon) Descriptor

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

func (*Area_Polygon) GetCoordinates

func (m *Area_Polygon) GetCoordinates() []*_struct.ListValue

func (*Area_Polygon) GetType

func (m *Area_Polygon) GetType() string

func (*Area_Polygon) ProtoMessage

func (*Area_Polygon) ProtoMessage()

func (*Area_Polygon) Reset

func (m *Area_Polygon) Reset()

func (*Area_Polygon) String

func (m *Area_Polygon) String() string

func (*Area_Polygon) XXX_DiscardUnknown

func (m *Area_Polygon) XXX_DiscardUnknown()

func (*Area_Polygon) XXX_Marshal

func (m *Area_Polygon) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Area_Polygon) XXX_Merge

func (dst *Area_Polygon) XXX_Merge(src proto.Message)

func (*Area_Polygon) XXX_Size

func (m *Area_Polygon) XXX_Size() int

func (*Area_Polygon) XXX_Unmarshal

func (m *Area_Polygon) XXX_Unmarshal(b []byte) error

type Info

type Info struct {
	// The code denoting the language of the info sub-element of the alert message
	Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
	// The code denoting the category of the subject event of the alert message
	Categories []Info_Category `protobuf:"varint,2,rep,packed,name=categories,proto3,enum=cap.Info_Category" json:"categories,omitempty"`
	// The text denoting the type of the subject event of the alert message
	Event string `protobuf:"bytes,3,opt,name=event,proto3" json:"event,omitempty"`
	// The code denoting the type of action recommended for the target audience
	ResponseTypes []Info_ResponseType `` /* 135-byte string literal not displayed */
	// The code denoting the urgency of the subject event of the alert message
	Urgency Info_Urgency `protobuf:"varint,5,opt,name=urgency,proto3,enum=cap.Info_Urgency" json:"urgency,omitempty"`
	// The code denoting the severity of the subject event of the alert message
	Severity Info_Severity `protobuf:"varint,6,opt,name=severity,proto3,enum=cap.Info_Severity" json:"severity,omitempty"`
	// The code denoting the certainty of the subject event of hte alert message
	Certainty Info_Certainty `protobuf:"varint,7,opt,name=certainty,proto3,enum=cap.Info_Certainty" json:"certainty,omitempty"`
	// The text describing the intended audience of the alert message
	Audience   string                        `protobuf:"bytes,8,opt,name=audience,proto3" json:"audience,omitempty"`
	EventCodes map[string]*_struct.ListValue `` /* 179-byte string literal not displayed */
	// The effective time of the information of the alert message
	Effective *timestamp.Timestamp `protobuf:"bytes,10,opt,name=effective,proto3" json:"effective,omitempty"`
	// The expected time of the beginning of hte subject event of the alert message
	Onset *timestamp.Timestamp `protobuf:"bytes,11,opt,name=onset,proto3" json:"onset,omitempty"`
	// The expiry time of the information of the alert message
	Expires *timestamp.Timestamp `protobuf:"bytes,12,opt,name=expires,proto3" json:"expires,omitempty"`
	// The text naming the originator of the alert message
	SenderName string `protobuf:"bytes,13,opt,name=sender_name,json=senderName,proto3" json:"sender_name,omitempty"`
	// The text headling of the alert message
	Headline string `protobuf:"bytes,14,opt,name=headline,proto3" json:"headline,omitempty"`
	// The text describing the subject event of the alert message
	Description string `protobuf:"bytes,15,opt,name=description,proto3" json:"description,omitempty"`
	// The text describing the recommended action to be taken by the recipients of the alert message
	Instruction string `protobuf:"bytes,16,opt,name=instruction,proto3" json:"instruction,omitempty"`
	// The identifier of the hyperlink associating additional information with the alert message
	Web string `protobuf:"bytes,17,opt,name=web,proto3" json:"web,omitempty"`
	// The text describing the contact for follow-up and confirmation of the alert message
	Contact string `protobuf:"bytes,18,opt,name=contact,proto3" json:"contact,omitempty"`
	// A system-specific additional parameter associated with the alert message
	Parameters map[string]*_struct.ListValue `` /* 162-byte string literal not displayed */
	// The container for all componment parts of the resource sub-element of the alert message
	Resources []*Resource `protobuf:"bytes,20,rep,name=resources,proto3" json:"resources,omitempty"`
	// The container for all component parts of the area sub-element of the info sub-element of the alert message
	Areas                []*Area  `protobuf:"bytes,21,rep,name=areas,proto3" json:"areas,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Info) Descriptor

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

func (*Info) GetAreas

func (m *Info) GetAreas() []*Area

func (*Info) GetAudience

func (m *Info) GetAudience() string

func (*Info) GetCategories

func (m *Info) GetCategories() []Info_Category

func (*Info) GetCertainty

func (m *Info) GetCertainty() Info_Certainty

func (*Info) GetContact

func (m *Info) GetContact() string

func (*Info) GetDescription

func (m *Info) GetDescription() string

func (*Info) GetEffective

func (m *Info) GetEffective() *timestamp.Timestamp

func (*Info) GetEvent

func (m *Info) GetEvent() string

func (*Info) GetEventCodes

func (m *Info) GetEventCodes() map[string]*_struct.ListValue

func (*Info) GetExpires

func (m *Info) GetExpires() *timestamp.Timestamp

func (*Info) GetHeadline

func (m *Info) GetHeadline() string

func (*Info) GetInstruction

func (m *Info) GetInstruction() string

func (*Info) GetLanguage

func (m *Info) GetLanguage() string

func (*Info) GetOnset

func (m *Info) GetOnset() *timestamp.Timestamp

func (*Info) GetParameters

func (m *Info) GetParameters() map[string]*_struct.ListValue

func (*Info) GetResources

func (m *Info) GetResources() []*Resource

func (*Info) GetResponseTypes

func (m *Info) GetResponseTypes() []Info_ResponseType

func (*Info) GetSenderName

func (m *Info) GetSenderName() string

func (*Info) GetSeverity

func (m *Info) GetSeverity() Info_Severity

func (*Info) GetUrgency

func (m *Info) GetUrgency() Info_Urgency

func (*Info) GetWeb

func (m *Info) GetWeb() string

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) Reset

func (m *Info) Reset()

func (*Info) String

func (m *Info) String() string

func (*Info) XXX_DiscardUnknown

func (m *Info) XXX_DiscardUnknown()

func (*Info) XXX_Marshal

func (m *Info) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Info) XXX_Merge

func (dst *Info) XXX_Merge(src proto.Message)

func (*Info) XXX_Size

func (m *Info) XXX_Size() int

func (*Info) XXX_Unmarshal

func (m *Info) XXX_Unmarshal(b []byte) error

type Info_Category

type Info_Category int32
const (
	Info_CATEGORY_UNKNOWN Info_Category = 0
	Info_GEO              Info_Category = 1
	Info_MET              Info_Category = 2
	Info_SAFETY           Info_Category = 3
	Info_SECURITY         Info_Category = 4
	Info_RESCUE           Info_Category = 5
	Info_FIRE             Info_Category = 6
	Info_HEALTH           Info_Category = 7
	Info_ENV              Info_Category = 8
	Info_TRANSPORT        Info_Category = 9
	Info_INFRA            Info_Category = 10
	Info_CBRNE            Info_Category = 11
	Info_OTHER            Info_Category = 12
)

func (Info_Category) EnumDescriptor

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

func (Info_Category) String

func (x Info_Category) String() string

type Info_Certainty

type Info_Certainty int32
const (
	Info_CERTAINTY_UNKNOWN Info_Certainty = 0
	Info_OBSERVED          Info_Certainty = 1
	Info_LIKELY            Info_Certainty = 2
	Info_POSSIBLE          Info_Certainty = 3
	Info_UNLIKELY          Info_Certainty = 4
)

func (Info_Certainty) EnumDescriptor

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

func (Info_Certainty) String

func (x Info_Certainty) String() string

type Info_ListString

type Info_ListString struct {
	V                    []string `protobuf:"bytes,1,rep,name=v,proto3" json:"v,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A system-specific code identifying the event type of the alert message

func (*Info_ListString) Descriptor

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

func (*Info_ListString) GetV

func (m *Info_ListString) GetV() []string

func (*Info_ListString) ProtoMessage

func (*Info_ListString) ProtoMessage()

func (*Info_ListString) Reset

func (m *Info_ListString) Reset()

func (*Info_ListString) String

func (m *Info_ListString) String() string

func (*Info_ListString) XXX_DiscardUnknown

func (m *Info_ListString) XXX_DiscardUnknown()

func (*Info_ListString) XXX_Marshal

func (m *Info_ListString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Info_ListString) XXX_Merge

func (dst *Info_ListString) XXX_Merge(src proto.Message)

func (*Info_ListString) XXX_Size

func (m *Info_ListString) XXX_Size() int

func (*Info_ListString) XXX_Unmarshal

func (m *Info_ListString) XXX_Unmarshal(b []byte) error

type Info_ResponseType

type Info_ResponseType int32
const (
	Info_RESPONSE_TYPE_UNKNOWN Info_ResponseType = 0
	Info_SHELTER               Info_ResponseType = 1
	Info_EVACUATE              Info_ResponseType = 2
	Info_PREPARE               Info_ResponseType = 3
	Info_EXECUTE               Info_ResponseType = 4
	Info_AVOID                 Info_ResponseType = 5
	Info_MONITOR               Info_ResponseType = 6
	Info_ASSESS                Info_ResponseType = 7
	Info_ALL_CLEAR             Info_ResponseType = 8
	Info_NONE                  Info_ResponseType = 9
)

func (Info_ResponseType) EnumDescriptor

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

func (Info_ResponseType) String

func (x Info_ResponseType) String() string

type Info_Severity

type Info_Severity int32
const (
	Info_SEVERITY_UNKNOWN Info_Severity = 0
	Info_EXTREME          Info_Severity = 1
	Info_SEVERE           Info_Severity = 2
	Info_MODERATE         Info_Severity = 3
	Info_MINOR            Info_Severity = 4
)

func (Info_Severity) EnumDescriptor

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

func (Info_Severity) String

func (x Info_Severity) String() string

type Info_Urgency

type Info_Urgency int32
const (
	Info_URGENCY_UNKNOWN Info_Urgency = 0
	Info_IMMEDIATE       Info_Urgency = 1
	Info_EXPECTED        Info_Urgency = 2
	Info_FUTURE          Info_Urgency = 3
	Info_PAST            Info_Urgency = 4
)

func (Info_Urgency) EnumDescriptor

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

func (Info_Urgency) String

func (x Info_Urgency) String() string

type Reference

type Reference struct {
	Id                   string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Identifier           string               `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Sender               string               `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	Sent                 *timestamp.Timestamp `protobuf:"bytes,4,opt,name=sent,proto3" json:"sent,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Reference) Descriptor

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

func (*Reference) GetId

func (m *Reference) GetId() string

func (*Reference) GetIdentifier

func (m *Reference) GetIdentifier() string

func (*Reference) GetSender

func (m *Reference) GetSender() string

func (*Reference) GetSent

func (m *Reference) GetSent() *timestamp.Timestamp

func (*Reference) ID

func (r *Reference) ID() string

func (*Reference) ProtoMessage

func (*Reference) ProtoMessage()

func (*Reference) Reset

func (m *Reference) Reset()

func (*Reference) String

func (m *Reference) String() string

func (*Reference) XXX_DiscardUnknown

func (m *Reference) XXX_DiscardUnknown()

func (*Reference) XXX_Marshal

func (m *Reference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Reference) XXX_Merge

func (dst *Reference) XXX_Merge(src proto.Message)

func (*Reference) XXX_Size

func (m *Reference) XXX_Size() int

func (*Reference) XXX_Unmarshal

func (m *Reference) XXX_Unmarshal(b []byte) error

type Resource

type Resource struct {
	// The text describing the type and content of the resource file
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// The identifier of the MIME content type and sub-type describing the resource file
	MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	// The integer indicating the size of the resource file
	Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// The identifier of the hyperlink for the resource file
	Uri string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
	// The base64 encoded data content of the resource file
	DerefUri []byte `protobuf:"bytes,5,opt,name=deref_uri,json=derefUri,proto3" json:"deref_uri,omitempty"`
	// The code representing the digital digest ("hash") computed from the resource file
	Digest               string   `protobuf:"bytes,6,opt,name=digest,proto3" json:"digest,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Resource) Checksum

func (res *Resource) Checksum() string

Checksum returns the checksum value for the resource, if available. The Resource.Digest value is returned if provided. If no digest is available, it is calculated from the DerefUri value (if available). Otherwise, an empty string is returned.

func (*Resource) Descriptor

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

func (*Resource) GetDerefUri

func (m *Resource) GetDerefUri() []byte

func (*Resource) GetDescription

func (m *Resource) GetDescription() string

func (*Resource) GetDigest

func (m *Resource) GetDigest() string

func (*Resource) GetMimeType

func (m *Resource) GetMimeType() string

func (*Resource) GetSize

func (m *Resource) GetSize() int64

func (*Resource) GetUri

func (m *Resource) GetUri() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) String

func (m *Resource) String() string

func (*Resource) XXX_DiscardUnknown

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal

func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resource) XXX_Merge

func (dst *Resource) XXX_Merge(src proto.Message)

func (*Resource) XXX_Size

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal

func (m *Resource) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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