Debian Codegraph @

googleapis/cloud/saasaccelerator/management/logs/v1/saas_instance_payload.pb.go

raw symbols SCIP
1 // Copyright 2021 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.27.1
18 // protoc v3.12.2
19 // source: google/cloud/saasaccelerator/management/logs/v1/saas_instance_payload.proto
20
21 package logs
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 type InstanceEvent struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // The type of the event, e.g. Create, Update, etc.
44 Verb string `protobuf:"bytes,1,opt,name=verb,proto3" json:"verb,omitempty"`
45 // The state of the instance, e.g. "RETRYING_CREATE_INSTANCE".
46 Stage string `protobuf:"bytes,2,opt,name=stage,proto3" json:"stage,omitempty"`
47 // A human-readable log message, e.g. "error in stage: CREATING, err: location
48 // not available".
49 Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
50 // The ID to uniquely locate all logs associated with a given request.
51 TraceId string `protobuf:"bytes,4,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
52 // The instance node which is the subject of the operation, if known.
53 // Currently unused as tf actuation does not manage nodes.
54 NodeId string `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
55 }
56
57 func (x *InstanceEvent) Reset() {
58 *x = InstanceEvent{}
59 if protoimpl.UnsafeEnabled {
60 mi := &file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_msgTypes[0]
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 ms.StoreMessageInfo(mi)
63 }
64 }
65
66 func (x *InstanceEvent) String() string {
67 return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*InstanceEvent) ProtoMessage() {}
71
72 func (x *InstanceEvent) ProtoReflect() protoreflect.Message {
73 mi := &file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_msgTypes[0]
74 if protoimpl.UnsafeEnabled && x != nil {
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 if ms.LoadMessageInfo() == nil {
77 ms.StoreMessageInfo(mi)
78 }
79 return ms
80 }
81 return mi.MessageOf(x)
82 }
83
84 // Deprecated: Use InstanceEvent.ProtoReflect.Descriptor instead.
85 func (*InstanceEvent) Descriptor() ([]byte, []int) {
86 return file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (x *InstanceEvent) GetVerb() string {
90 if x != nil {
91 return x.Verb
92 }
93 return ""
94 }
95
96 func (x *InstanceEvent) GetStage() string {
97 if x != nil {
98 return x.Stage
99 }
100 return ""
101 }
102
103 func (x *InstanceEvent) GetMsg() string {
104 if x != nil {
105 return x.Msg
106 }
107 return ""
108 }
109
110 func (x *InstanceEvent) GetTraceId() string {
111 if x != nil {
112 return x.TraceId
113 }
114 return ""
115 }
116
117 func (x *InstanceEvent) GetNodeId() string {
118 if x != nil {
119 return x.NodeId
120 }
121 return ""
122 }
123
124 var File_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto protoreflect.FileDescriptor
125
126 var file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_rawDesc = []byte{
127 0x0a, 0x4b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
128 0x61, 0x61, 0x73, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x6d,
129 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x76,
130 0x31, 0x2f, 0x73, 0x61, 0x61, 0x73, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f,
131 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2f, 0x67,
132 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x61, 0x61, 0x73,
133 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x6d, 0x61, 0x6e, 0x61,
134 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x7f,
135 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12,
136 0x12, 0x0a, 0x04, 0x76, 0x65, 0x72, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x76,
137 0x65, 0x72, 0x62, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
138 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67,
139 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x74,
140 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74,
141 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69,
142 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x42,
143 0xa6, 0x01, 0x0a, 0x33, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
144 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x61, 0x61, 0x73, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72,
145 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e,
146 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x18, 0x53, 0x61, 0x61, 0x73, 0x49, 0x6e, 0x73,
147 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74,
148 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
149 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
150 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
151 0x2f, 0x73, 0x61, 0x61, 0x73, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
152 0x2f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x6c, 0x6f, 0x67, 0x73,
153 0x2f, 0x76, 0x31, 0x3b, 0x6c, 0x6f, 0x67, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
154 }
155
156 var (
157 file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_rawDescOnce sync.Once
158 file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_rawDescData = file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_rawDesc
159 )
160
161 func file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_rawDescGZIP() []byte {
162 file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_rawDescOnce.Do(func() {
163 file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_rawDescData)
164 })
165 return file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_rawDescData
166 }
167
168 var file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
169 var file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_goTypes = []interface{}{
170 (*InstanceEvent)(nil), // 0: google.cloud.saasaccelerator.management.logs.v1.InstanceEvent
171 }
172 var file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_depIdxs = []int32{
173 0, // [0:0] is the sub-list for method output_type
174 0, // [0:0] is the sub-list for method input_type
175 0, // [0:0] is the sub-list for extension type_name
176 0, // [0:0] is the sub-list for extension extendee
177 0, // [0:0] is the sub-list for field type_name
178 }
179
180 func init() { file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_init() }
181 func file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_init() {
182 if File_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto != nil {
183 return
184 }
185 if !protoimpl.UnsafeEnabled {
186 file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
187 switch v := v.(*InstanceEvent); i {
188 case 0:
189 return &v.state
190 case 1:
191 return &v.sizeCache
192 case 2:
193 return &v.unknownFields
194 default:
195 return nil
196 }
197 }
198 }
199 type x struct{}
200 out := protoimpl.TypeBuilder{
201 File: protoimpl.DescBuilder{
202 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
203 RawDescriptor: file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_rawDesc,
204 NumEnums: 0,
205 NumMessages: 1,
206 NumExtensions: 0,
207 NumServices: 0,
208 },
209 GoTypes: file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_goTypes,
210 DependencyIndexes: file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_depIdxs,
211 MessageInfos: file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_msgTypes,
212 }.Build()
213 File_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto = out.File
214 file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_rawDesc = nil
215 file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_goTypes = nil
216 file_google_cloud_saasaccelerator_management_logs_v1_saas_instance_payload_proto_depIdxs = nil
217 }