action

package
v0.0.0-...-7c29f4c Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2017 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package action is a generated protocol buffer package.

It is generated from these files:

action/action.proto

It has these top-level messages:

GoalID
GoalStatus
GoalStatusArray

Index

Constants

This section is empty.

Variables

View Source
var GoalStatus_GoalStatusType_name = map[int32]string{
	0: "PENDING",
	1: "ACTIVE",
	2: "PREEMPTED",
	3: "SUCCEEDED",
	4: "ABORTED",
	5: "REJECTED",
	6: "PREEMPTING",
	7: "RECALLING",
	8: "RECALLED",
	9: "LOST",
}
View Source
var GoalStatus_GoalStatusType_value = map[string]int32{
	"PENDING":    0,
	"ACTIVE":     1,
	"PREEMPTED":  2,
	"SUCCEEDED":  3,
	"ABORTED":    4,
	"REJECTED":   5,
	"PREEMPTING": 6,
	"RECALLING":  7,
	"RECALLED":   8,
	"LOST":       9,
}

Functions

This section is empty.

Types

type GoalID

type GoalID struct {
	Stamp *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=stamp" json:"stamp,omitempty"`
	Id    *choreo1.String            `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
}

func (*GoalID) Descriptor

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

func (*GoalID) GetId

func (m *GoalID) GetId() *choreo1.String

func (*GoalID) GetStamp

func (m *GoalID) GetStamp() *google_protobuf.Timestamp

func (*GoalID) ProtoMessage

func (*GoalID) ProtoMessage()

func (*GoalID) Reset

func (m *GoalID) Reset()

func (*GoalID) String

func (m *GoalID) String() string

type GoalStatus

type GoalStatus struct {
	GoalId *GoalID                   `protobuf:"bytes,1,opt,name=goal_id,json=goalId" json:"goal_id,omitempty"`
	Status GoalStatus_GoalStatusType `protobuf:"varint,2,opt,name=status,enum=choreo.GoalStatus_GoalStatusType" json:"status,omitempty"`
	Text   *choreo1.String           `protobuf:"bytes,3,opt,name=text" json:"text,omitempty"`
}

func (*GoalStatus) Descriptor

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

func (*GoalStatus) GetGoalId

func (m *GoalStatus) GetGoalId() *GoalID

func (*GoalStatus) GetStatus

func (m *GoalStatus) GetStatus() GoalStatus_GoalStatusType

func (*GoalStatus) GetText

func (m *GoalStatus) GetText() *choreo1.String

func (*GoalStatus) ProtoMessage

func (*GoalStatus) ProtoMessage()

func (*GoalStatus) Reset

func (m *GoalStatus) Reset()

func (*GoalStatus) String

func (m *GoalStatus) String() string

type GoalStatusArray

type GoalStatusArray struct {
	Header     *choreo.Header `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"`
	StatusList []*GoalStatus  `protobuf:"bytes,2,rep,name=status_list,json=statusList" json:"status_list,omitempty"`
}

func (*GoalStatusArray) Descriptor

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

func (*GoalStatusArray) GetHeader

func (m *GoalStatusArray) GetHeader() *choreo.Header

func (*GoalStatusArray) GetStatusList

func (m *GoalStatusArray) GetStatusList() []*GoalStatus

func (*GoalStatusArray) ProtoMessage

func (*GoalStatusArray) ProtoMessage()

func (*GoalStatusArray) Reset

func (m *GoalStatusArray) Reset()

func (*GoalStatusArray) String

func (m *GoalStatusArray) String() string

type GoalStatus_GoalStatusType

type GoalStatus_GoalStatusType int32
const (
	GoalStatus_PENDING    GoalStatus_GoalStatusType = 0
	GoalStatus_ACTIVE     GoalStatus_GoalStatusType = 1
	GoalStatus_PREEMPTED  GoalStatus_GoalStatusType = 2
	GoalStatus_SUCCEEDED  GoalStatus_GoalStatusType = 3
	GoalStatus_ABORTED    GoalStatus_GoalStatusType = 4
	GoalStatus_REJECTED   GoalStatus_GoalStatusType = 5
	GoalStatus_PREEMPTING GoalStatus_GoalStatusType = 6
	GoalStatus_RECALLING  GoalStatus_GoalStatusType = 7
	GoalStatus_RECALLED   GoalStatus_GoalStatusType = 8
	GoalStatus_LOST       GoalStatus_GoalStatusType = 9
)

func (GoalStatus_GoalStatusType) EnumDescriptor

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

func (GoalStatus_GoalStatusType) String

func (x GoalStatus_GoalStatusType) String() string

Jump to

Keyboard shortcuts

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