blob: 8d0e117118136d78f2a38c7e927e61732a6301fe [file]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/recommender/logging/v1beta1/action_log.proto
package logging
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
v1beta1 "google.golang.org/genproto/googleapis/cloud/recommender/v1beta1"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Log content of an action on a recommendation. This includes Mark* actions.
type ActionLog struct {
// Required. User that executed this action. Eg, foo@gmail.com
Actor string `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// Required. State change that was made by the actor. Eg, SUCCEEDED.
State v1beta1.RecommendationStateInfo_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.recommender.v1beta1.RecommendationStateInfo_State" json:"state,omitempty"`
// Optional. Metadata that was included with the action that was taken.
StateMetadata map[string]string `protobuf:"bytes,3,rep,name=state_metadata,json=stateMetadata,proto3" json:"state_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Required. Name of the recommendation which was acted on. Eg, :
// 'projects/foo/locations/global/recommenders/roleReco/recommendations/r1'
RecommendationName string `protobuf:"bytes,4,opt,name=recommendation_name,json=recommendationName,proto3" json:"recommendation_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ActionLog) Reset() { *m = ActionLog{} }
func (m *ActionLog) String() string { return proto.CompactTextString(m) }
func (*ActionLog) ProtoMessage() {}
func (*ActionLog) Descriptor() ([]byte, []int) {
return fileDescriptor_dcace095780854b5, []int{0}
}
func (m *ActionLog) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ActionLog.Unmarshal(m, b)
}
func (m *ActionLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ActionLog.Marshal(b, m, deterministic)
}
func (m *ActionLog) XXX_Merge(src proto.Message) {
xxx_messageInfo_ActionLog.Merge(m, src)
}
func (m *ActionLog) XXX_Size() int {
return xxx_messageInfo_ActionLog.Size(m)
}
func (m *ActionLog) XXX_DiscardUnknown() {
xxx_messageInfo_ActionLog.DiscardUnknown(m)
}
var xxx_messageInfo_ActionLog proto.InternalMessageInfo
func (m *ActionLog) GetActor() string {
if m != nil {
return m.Actor
}
return ""
}
func (m *ActionLog) GetState() v1beta1.RecommendationStateInfo_State {
if m != nil {
return m.State
}
return v1beta1.RecommendationStateInfo_STATE_UNSPECIFIED
}
func (m *ActionLog) GetStateMetadata() map[string]string {
if m != nil {
return m.StateMetadata
}
return nil
}
func (m *ActionLog) GetRecommendationName() string {
if m != nil {
return m.RecommendationName
}
return ""
}
// Log content of an action on an insight. This includes Mark* actions.
type InsightActionLog struct {
// Required. User that executed this action. Eg, foo@gmail.com
Actor string `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// Required. State change that was made by the actor. Eg, ACCEPTED.
State v1beta1.InsightStateInfo_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.recommender.v1beta1.InsightStateInfo_State" json:"state,omitempty"`
// Optional. Metadata that was included with the action that was taken.
StateMetadata map[string]string `protobuf:"bytes,3,rep,name=state_metadata,json=stateMetadata,proto3" json:"state_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Required. Name of the insight which was acted on. Eg, :
// 'projects/foo/locations/global/insightTypes/roleInsight/insights/i1'
Insight string `protobuf:"bytes,4,opt,name=insight,proto3" json:"insight,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InsightActionLog) Reset() { *m = InsightActionLog{} }
func (m *InsightActionLog) String() string { return proto.CompactTextString(m) }
func (*InsightActionLog) ProtoMessage() {}
func (*InsightActionLog) Descriptor() ([]byte, []int) {
return fileDescriptor_dcace095780854b5, []int{1}
}
func (m *InsightActionLog) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_InsightActionLog.Unmarshal(m, b)
}
func (m *InsightActionLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_InsightActionLog.Marshal(b, m, deterministic)
}
func (m *InsightActionLog) XXX_Merge(src proto.Message) {
xxx_messageInfo_InsightActionLog.Merge(m, src)
}
func (m *InsightActionLog) XXX_Size() int {
return xxx_messageInfo_InsightActionLog.Size(m)
}
func (m *InsightActionLog) XXX_DiscardUnknown() {
xxx_messageInfo_InsightActionLog.DiscardUnknown(m)
}
var xxx_messageInfo_InsightActionLog proto.InternalMessageInfo
func (m *InsightActionLog) GetActor() string {
if m != nil {
return m.Actor
}
return ""
}
func (m *InsightActionLog) GetState() v1beta1.InsightStateInfo_State {
if m != nil {
return m.State
}
return v1beta1.InsightStateInfo_STATE_UNSPECIFIED
}
func (m *InsightActionLog) GetStateMetadata() map[string]string {
if m != nil {
return m.StateMetadata
}
return nil
}
func (m *InsightActionLog) GetInsight() string {
if m != nil {
return m.Insight
}
return ""
}
func init() {
proto.RegisterType((*ActionLog)(nil), "google.cloud.recommender.logging.v1beta1.ActionLog")
proto.RegisterMapType((map[string]string)(nil), "google.cloud.recommender.logging.v1beta1.ActionLog.StateMetadataEntry")
proto.RegisterType((*InsightActionLog)(nil), "google.cloud.recommender.logging.v1beta1.InsightActionLog")
proto.RegisterMapType((map[string]string)(nil), "google.cloud.recommender.logging.v1beta1.InsightActionLog.StateMetadataEntry")
}
func init() {
proto.RegisterFile("google/cloud/recommender/logging/v1beta1/action_log.proto", fileDescriptor_dcace095780854b5)
}
var fileDescriptor_dcace095780854b5 = []byte{
// 430 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x51, 0xab, 0xda, 0x30,
0x14, 0xc7, 0x69, 0x3b, 0x37, 0xcc, 0x98, 0x48, 0xb6, 0x87, 0x4e, 0x18, 0x13, 0x9f, 0xfa, 0x30,
0x12, 0x74, 0x0c, 0xdc, 0xf6, 0xb0, 0x29, 0x6c, 0x20, 0xcc, 0x4d, 0x2a, 0x7b, 0xd9, 0x4b, 0x89,
0x6d, 0x8c, 0x61, 0x6d, 0x8e, 0xb4, 0x51, 0xf0, 0x63, 0xec, 0xeb, 0xed, 0x61, 0xec, 0xa3, 0x5c,
0xda, 0x44, 0xaf, 0xf5, 0x5e, 0x51, 0xb8, 0x6f, 0xc9, 0x49, 0xfe, 0xff, 0x73, 0xfe, 0x3f, 0x63,
0xd1, 0x7b, 0x01, 0x20, 0x52, 0x4e, 0xe3, 0x14, 0x36, 0x09, 0xcd, 0x79, 0x0c, 0x59, 0xc6, 0x55,
0xc2, 0x73, 0x9a, 0x82, 0x10, 0x52, 0x09, 0xba, 0xed, 0x2f, 0xb8, 0x66, 0x7d, 0xca, 0x62, 0x2d,
0x41, 0x45, 0x29, 0x08, 0xb2, 0xce, 0x41, 0x03, 0x0e, 0x8c, 0x94, 0x54, 0x52, 0x72, 0x24, 0x25,
0x56, 0x4a, 0xac, 0xb4, 0xf3, 0xda, 0x36, 0x61, 0x6b, 0x49, 0x97, 0x92, 0xa7, 0x49, 0xb4, 0xe0,
0x2b, 0xb6, 0x95, 0x90, 0x1b, 0xab, 0x0e, 0x39, 0x3b, 0xc5, 0xbe, 0xbb, 0x54, 0x85, 0x14, 0x2b,
0x6d, 0xef, 0xbf, 0xbb, 0x78, 0xff, 0x50, 0x63, 0xe5, 0xd4, 0x46, 0xd6, 0xfb, 0xeb, 0xa2, 0xe6,
0xa8, 0x8a, 0xf1, 0x0d, 0x04, 0x7e, 0x81, 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