eventhandler

package
v1.0.0-beta9 Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Activity_ChangeType_name = map[int32]string{
	0: "CREATED",
	1: "VALUE_CHANGED",
	2: "ARRAY_ADD",
	3: "ARRAY_DEL",
}
View Source
var Activity_ChangeType_value = map[string]int32{
	"CREATED":       0,
	"VALUE_CHANGED": 1,
	"ARRAY_ADD":     2,
	"ARRAY_DEL":     3,
}
View Source
var EventObject_Severity_name = map[int32]string{
	0: "INFO",
	1: "WARN",
	2: "ERROR",
}
View Source
var EventObject_Severity_value = map[string]int32{
	"INFO":  0,
	"WARN":  1,
	"ERROR": 2,
}
View Source
var EventObject_State_name = map[int32]string{
	0: "NEW",
	1: "OPEN",
	2: "CLOSED",
}
View Source
var EventObject_State_value = map[string]int32{
	"NEW":    0,
	"OPEN":   1,
	"CLOSED": 2,
}

Functions

func RegisterEventHandlerServer

func RegisterEventHandlerServer(s *grpc.Server, srv EventHandlerServer)

Types

type Activity

type Activity struct {
	ModifiedBy           string               `protobuf:"bytes,1,opt,name=modified_by,json=modifiedBy,proto3" json:"modified_by,omitempty"`
	ModifiedTime         *timestamp.Timestamp `protobuf:"bytes,2,opt,name=modified_time,json=modifiedTime,proto3" json:"modified_time,omitempty"`
	Description          []*Activity_Change   `protobuf:"bytes,3,rep,name=description,proto3" json:"description,omitempty"`
	Comment              string               `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Activity) Descriptor

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

func (*Activity) GetComment

func (m *Activity) GetComment() string

func (*Activity) GetDescription

func (m *Activity) GetDescription() []*Activity_Change

func (*Activity) GetModifiedBy

func (m *Activity) GetModifiedBy() string

func (*Activity) GetModifiedTime

func (m *Activity) GetModifiedTime() *timestamp.Timestamp

func (*Activity) ProtoMessage

func (*Activity) ProtoMessage()

func (*Activity) Reset

func (m *Activity) Reset()

func (*Activity) String

func (m *Activity) String() string

func (*Activity) XXX_DiscardUnknown

func (m *Activity) XXX_DiscardUnknown()

func (*Activity) XXX_Marshal

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

func (*Activity) XXX_Merge

func (m *Activity) XXX_Merge(src proto.Message)

func (*Activity) XXX_Size

func (m *Activity) XXX_Size() int

func (*Activity) XXX_Unmarshal

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

type Activity_Change

type Activity_Change struct {
	Type                 Activity_ChangeType `protobuf:"varint,1,opt,name=type,proto3,enum=veidemann.api.eventhandler.v1.Activity_ChangeType" json:"type,omitempty"`
	Field                string              `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"`
	OldVal               string              `protobuf:"bytes,3,opt,name=old_val,json=oldVal,proto3" json:"old_val,omitempty"`
	NewVal               string              `protobuf:"bytes,4,opt,name=new_val,json=newVal,proto3" json:"new_val,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*Activity_Change) Descriptor

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

func (*Activity_Change) GetField

func (m *Activity_Change) GetField() string

func (*Activity_Change) GetNewVal

func (m *Activity_Change) GetNewVal() string

func (*Activity_Change) GetOldVal

func (m *Activity_Change) GetOldVal() string

func (*Activity_Change) GetType

func (m *Activity_Change) GetType() Activity_ChangeType

func (*Activity_Change) ProtoMessage

func (*Activity_Change) ProtoMessage()

func (*Activity_Change) Reset

func (m *Activity_Change) Reset()

func (*Activity_Change) String

func (m *Activity_Change) String() string

func (*Activity_Change) XXX_DiscardUnknown

func (m *Activity_Change) XXX_DiscardUnknown()

func (*Activity_Change) XXX_Marshal

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

func (*Activity_Change) XXX_Merge

func (m *Activity_Change) XXX_Merge(src proto.Message)

func (*Activity_Change) XXX_Size

func (m *Activity_Change) XXX_Size() int

func (*Activity_Change) XXX_Unmarshal

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

type Activity_ChangeType

type Activity_ChangeType int32
const (
	Activity_CREATED       Activity_ChangeType = 0
	Activity_VALUE_CHANGED Activity_ChangeType = 1
	Activity_ARRAY_ADD     Activity_ChangeType = 2
	Activity_ARRAY_DEL     Activity_ChangeType = 3
)

func (Activity_ChangeType) EnumDescriptor

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

func (Activity_ChangeType) String

func (x Activity_ChangeType) String() string

type Data

type Data struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Data) Descriptor

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

func (*Data) GetKey

func (m *Data) GetKey() string

func (*Data) GetValue

func (m *Data) GetValue() string

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) Reset

func (m *Data) Reset()

func (*Data) String

func (m *Data) String() string

func (*Data) XXX_DiscardUnknown

func (m *Data) XXX_DiscardUnknown()

func (*Data) XXX_Marshal

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

func (*Data) XXX_Merge

func (m *Data) XXX_Merge(src proto.Message)

func (*Data) XXX_Size

func (m *Data) XXX_Size() int

func (*Data) XXX_Unmarshal

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

type DeleteResponse

type DeleteResponse struct {
	Deleted              bool     `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteResponse) Descriptor

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

func (*DeleteResponse) GetDeleted

func (m *DeleteResponse) GetDeleted() bool

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) Reset

func (m *DeleteResponse) Reset()

func (*DeleteResponse) String

func (m *DeleteResponse) String() string

func (*DeleteResponse) XXX_DiscardUnknown

func (m *DeleteResponse) XXX_DiscardUnknown()

func (*DeleteResponse) XXX_Marshal

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

func (*DeleteResponse) XXX_Merge

func (m *DeleteResponse) XXX_Merge(src proto.Message)

func (*DeleteResponse) XXX_Size

func (m *DeleteResponse) XXX_Size() int

func (*DeleteResponse) XXX_Unmarshal

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

type EventHandlerClient

type EventHandlerClient interface {
	// Get an event object by ID
	GetEventObject(ctx context.Context, in *EventRef, opts ...grpc.CallOption) (*EventObject, error)
	// List a set of event objects
	ListEventObjects(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (EventHandler_ListEventObjectsClient, error)
	// Count event objects
	CountEventObjects(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListCountResponse, error)
	// Save an event object
	SaveEventObject(ctx context.Context, in *SaveRequest, opts ...grpc.CallOption) (*EventObject, error)
	// Update event objects
	UpdateEventObjects(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	// Delete an event object
	DeleteEventObject(ctx context.Context, in *EventObject, opts ...grpc.CallOption) (*DeleteResponse, error)
	ListLabels(ctx context.Context, in *ListLabelRequest, opts ...grpc.CallOption) (*ListLabelResponse, error)
}

EventHandlerClient is the client API for EventHandler service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEventHandlerClient

func NewEventHandlerClient(cc *grpc.ClientConn) EventHandlerClient

type EventHandlerServer

type EventHandlerServer interface {
	// Get an event object by ID
	GetEventObject(context.Context, *EventRef) (*EventObject, error)
	// List a set of event objects
	ListEventObjects(*ListRequest, EventHandler_ListEventObjectsServer) error
	// Count event objects
	CountEventObjects(context.Context, *ListRequest) (*ListCountResponse, error)
	// Save an event object
	SaveEventObject(context.Context, *SaveRequest) (*EventObject, error)
	// Update event objects
	UpdateEventObjects(context.Context, *UpdateRequest) (*UpdateResponse, error)
	// Delete an event object
	DeleteEventObject(context.Context, *EventObject) (*DeleteResponse, error)
	ListLabels(context.Context, *ListLabelRequest) (*ListLabelResponse, error)
}

EventHandlerServer is the server API for EventHandler service.

type EventHandler_ListEventObjectsClient

type EventHandler_ListEventObjectsClient interface {
	Recv() (*EventObject, error)
	grpc.ClientStream
}

type EventHandler_ListEventObjectsServer

type EventHandler_ListEventObjectsServer interface {
	Send(*EventObject) error
	grpc.ServerStream
}

type EventObject

type EventObject struct {
	Id                   string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type                 string               `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Source               string               `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	State                EventObject_State    `protobuf:"varint,4,opt,name=state,proto3,enum=veidemann.api.eventhandler.v1.EventObject_State" json:"state,omitempty"`
	Assignee             string               `protobuf:"bytes,5,opt,name=assignee,proto3" json:"assignee,omitempty"`
	Data                 []*Data              `protobuf:"bytes,6,rep,name=data,proto3" json:"data,omitempty"`
	Severity             EventObject_Severity `` /* 126-byte string literal not displayed */
	Label                []string             `protobuf:"bytes,8,rep,name=label,proto3" json:"label,omitempty"`
	Activity             []*Activity          `protobuf:"bytes,9,rep,name=activity,proto3" json:"activity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*EventObject) Descriptor

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

func (*EventObject) GetActivity

func (m *EventObject) GetActivity() []*Activity

func (*EventObject) GetAssignee

func (m *EventObject) GetAssignee() string

func (*EventObject) GetData

func (m *EventObject) GetData() []*Data

func (*EventObject) GetId

func (m *EventObject) GetId() string

func (*EventObject) GetLabel

func (m *EventObject) GetLabel() []string

func (*EventObject) GetSeverity

func (m *EventObject) GetSeverity() EventObject_Severity

func (*EventObject) GetSource

func (m *EventObject) GetSource() string

func (*EventObject) GetState

func (m *EventObject) GetState() EventObject_State

func (*EventObject) GetType

func (m *EventObject) GetType() string

func (*EventObject) ProtoMessage

func (*EventObject) ProtoMessage()

func (*EventObject) Reset

func (m *EventObject) Reset()

func (*EventObject) String

func (m *EventObject) String() string

func (*EventObject) XXX_DiscardUnknown

func (m *EventObject) XXX_DiscardUnknown()

func (*EventObject) XXX_Marshal

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

func (*EventObject) XXX_Merge

func (m *EventObject) XXX_Merge(src proto.Message)

func (*EventObject) XXX_Size

func (m *EventObject) XXX_Size() int

func (*EventObject) XXX_Unmarshal

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

type EventObject_Severity

type EventObject_Severity int32
const (
	EventObject_INFO  EventObject_Severity = 0
	EventObject_WARN  EventObject_Severity = 1
	EventObject_ERROR EventObject_Severity = 2
)

func (EventObject_Severity) EnumDescriptor

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

func (EventObject_Severity) String

func (x EventObject_Severity) String() string

type EventObject_State

type EventObject_State int32
const (
	EventObject_NEW    EventObject_State = 0
	EventObject_OPEN   EventObject_State = 1
	EventObject_CLOSED EventObject_State = 2
)

func (EventObject_State) EnumDescriptor

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

func (EventObject_State) String

func (x EventObject_State) String() string

type EventRef

type EventRef struct {
	// The id of the EventObject to get
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EventRef) Descriptor

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

func (*EventRef) GetId

func (m *EventRef) GetId() string

func (*EventRef) ProtoMessage

func (*EventRef) ProtoMessage()

func (*EventRef) Reset

func (m *EventRef) Reset()

func (*EventRef) String

func (m *EventRef) String() string

func (*EventRef) XXX_DiscardUnknown

func (m *EventRef) XXX_DiscardUnknown()

func (*EventRef) XXX_Marshal

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

func (*EventRef) XXX_Merge

func (m *EventRef) XXX_Merge(src proto.Message)

func (*EventRef) XXX_Size

func (m *EventRef) XXX_Size() int

func (*EventRef) XXX_Unmarshal

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

type ListCountResponse

type ListCountResponse struct {
	Count                int64    `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Approximate          bool     `protobuf:"varint,2,opt,name=approximate,proto3" json:"approximate,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListCountResponse) Descriptor

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

func (*ListCountResponse) GetApproximate

func (m *ListCountResponse) GetApproximate() bool

func (*ListCountResponse) GetCount

func (m *ListCountResponse) GetCount() int64

func (*ListCountResponse) ProtoMessage

func (*ListCountResponse) ProtoMessage()

func (*ListCountResponse) Reset

func (m *ListCountResponse) Reset()

func (*ListCountResponse) String

func (m *ListCountResponse) String() string

func (*ListCountResponse) XXX_DiscardUnknown

func (m *ListCountResponse) XXX_DiscardUnknown()

func (*ListCountResponse) XXX_Marshal

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

func (*ListCountResponse) XXX_Merge

func (m *ListCountResponse) XXX_Merge(src proto.Message)

func (*ListCountResponse) XXX_Size

func (m *ListCountResponse) XXX_Size() int

func (*ListCountResponse) XXX_Unmarshal

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

type ListLabelRequest

type ListLabelRequest struct {
	Text                 string   `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListLabelRequest) Descriptor

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

func (*ListLabelRequest) GetText

func (m *ListLabelRequest) GetText() string

func (*ListLabelRequest) ProtoMessage

func (*ListLabelRequest) ProtoMessage()

func (*ListLabelRequest) Reset

func (m *ListLabelRequest) Reset()

func (*ListLabelRequest) String

func (m *ListLabelRequest) String() string

func (*ListLabelRequest) XXX_DiscardUnknown

func (m *ListLabelRequest) XXX_DiscardUnknown()

func (*ListLabelRequest) XXX_Marshal

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

func (*ListLabelRequest) XXX_Merge

func (m *ListLabelRequest) XXX_Merge(src proto.Message)

func (*ListLabelRequest) XXX_Size

func (m *ListLabelRequest) XXX_Size() int

func (*ListLabelRequest) XXX_Unmarshal

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

type ListLabelResponse

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

func (*ListLabelResponse) Descriptor

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

func (*ListLabelResponse) GetLabel

func (m *ListLabelResponse) GetLabel() []string

func (*ListLabelResponse) ProtoMessage

func (*ListLabelResponse) ProtoMessage()

func (*ListLabelResponse) Reset

func (m *ListLabelResponse) Reset()

func (*ListLabelResponse) String

func (m *ListLabelResponse) String() string

func (*ListLabelResponse) XXX_DiscardUnknown

func (m *ListLabelResponse) XXX_DiscardUnknown()

func (*ListLabelResponse) XXX_Marshal

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

func (*ListLabelResponse) XXX_Merge

func (m *ListLabelResponse) XXX_Merge(src proto.Message)

func (*ListLabelResponse) XXX_Size

func (m *ListLabelResponse) XXX_Size() int

func (*ListLabelResponse) XXX_Unmarshal

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

type ListRequest

type ListRequest struct {
	// Select objects by one or more id's
	Id                   []string      `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"`
	QueryTemplate        *EventObject  `protobuf:"bytes,2,opt,name=query_template,json=queryTemplate,proto3" json:"query_template,omitempty"`
	QueryMask            *v1.FieldMask `protobuf:"bytes,3,opt,name=query_mask,json=queryMask,proto3" json:"query_mask,omitempty"`
	ReturnedFieldsMask   *v1.FieldMask `protobuf:"bytes,4,opt,name=returned_fields_mask,json=returnedFieldsMask,proto3" json:"returned_fields_mask,omitempty"`
	PageSize             int32         `protobuf:"varint,7,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Offset               int32         `protobuf:"varint,8,opt,name=offset,proto3" json:"offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ListRequest) Descriptor

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

func (*ListRequest) GetId

func (m *ListRequest) GetId() []string

func (*ListRequest) GetOffset

func (m *ListRequest) GetOffset() int32

func (*ListRequest) GetPageSize

func (m *ListRequest) GetPageSize() int32

func (*ListRequest) GetQueryMask

func (m *ListRequest) GetQueryMask() *v1.FieldMask

func (*ListRequest) GetQueryTemplate

func (m *ListRequest) GetQueryTemplate() *EventObject

func (*ListRequest) GetReturnedFieldsMask

func (m *ListRequest) GetReturnedFieldsMask() *v1.FieldMask

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) Reset

func (m *ListRequest) Reset()

func (*ListRequest) String

func (m *ListRequest) String() string

func (*ListRequest) XXX_DiscardUnknown

func (m *ListRequest) XXX_DiscardUnknown()

func (*ListRequest) XXX_Marshal

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

func (*ListRequest) XXX_Merge

func (m *ListRequest) XXX_Merge(src proto.Message)

func (*ListRequest) XXX_Size

func (m *ListRequest) XXX_Size() int

func (*ListRequest) XXX_Unmarshal

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

type SaveRequest

type SaveRequest struct {
	Object               *EventObject `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	Comment              string       `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*SaveRequest) Descriptor

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

func (*SaveRequest) GetComment

func (m *SaveRequest) GetComment() string

func (*SaveRequest) GetObject

func (m *SaveRequest) GetObject() *EventObject

func (*SaveRequest) ProtoMessage

func (*SaveRequest) ProtoMessage()

func (*SaveRequest) Reset

func (m *SaveRequest) Reset()

func (*SaveRequest) String

func (m *SaveRequest) String() string

func (*SaveRequest) XXX_DiscardUnknown

func (m *SaveRequest) XXX_DiscardUnknown()

func (*SaveRequest) XXX_Marshal

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

func (*SaveRequest) XXX_Merge

func (m *SaveRequest) XXX_Merge(src proto.Message)

func (*SaveRequest) XXX_Size

func (m *SaveRequest) XXX_Size() int

func (*SaveRequest) XXX_Unmarshal

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

type UpdateRequest

type UpdateRequest struct {
	ListRequest          *ListRequest  `protobuf:"bytes,1,opt,name=list_request,json=listRequest,proto3" json:"list_request,omitempty"`
	UpdateMask           *v1.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	UpdateTemplate       *EventObject  `protobuf:"bytes,4,opt,name=update_template,json=updateTemplate,proto3" json:"update_template,omitempty"`
	Comment              string        `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*UpdateRequest) Descriptor

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

func (*UpdateRequest) GetComment

func (m *UpdateRequest) GetComment() string

func (*UpdateRequest) GetListRequest

func (m *UpdateRequest) GetListRequest() *ListRequest

func (*UpdateRequest) GetUpdateMask

func (m *UpdateRequest) GetUpdateMask() *v1.FieldMask

func (*UpdateRequest) GetUpdateTemplate

func (m *UpdateRequest) GetUpdateTemplate() *EventObject

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) Reset

func (m *UpdateRequest) Reset()

func (*UpdateRequest) String

func (m *UpdateRequest) String() string

func (*UpdateRequest) XXX_DiscardUnknown

func (m *UpdateRequest) XXX_DiscardUnknown()

func (*UpdateRequest) XXX_Marshal

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

func (*UpdateRequest) XXX_Merge

func (m *UpdateRequest) XXX_Merge(src proto.Message)

func (*UpdateRequest) XXX_Size

func (m *UpdateRequest) XXX_Size() int

func (*UpdateRequest) XXX_Unmarshal

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

type UpdateResponse

type UpdateResponse struct {
	Updated              int64    `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateResponse) Descriptor

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

func (*UpdateResponse) GetUpdated

func (m *UpdateResponse) GetUpdated() int64

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) Reset

func (m *UpdateResponse) Reset()

func (*UpdateResponse) String

func (m *UpdateResponse) String() string

func (*UpdateResponse) XXX_DiscardUnknown

func (m *UpdateResponse) XXX_DiscardUnknown()

func (*UpdateResponse) XXX_Marshal

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

func (*UpdateResponse) XXX_Merge

func (m *UpdateResponse) XXX_Merge(src proto.Message)

func (*UpdateResponse) XXX_Size

func (m *UpdateResponse) XXX_Size() int

func (*UpdateResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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