Debian Codegraph @

googleapis/cloud/integrations/v1alpha/event_parameter.pb.go

raw
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.26.0
18 // protoc v3.12.2
19 // source: google/cloud/integrations/v1alpha/event_parameter.proto
20
21 package integrations
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 // This message is used for processing and persisting (when applicable) key
39 // value pair parameters for each event in the event bus.
40 type EventParameter struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // Key is used to retrieve the corresponding parameter value. This should be
46 // unique for a given fired event. These parameters must be predefined in the
47 // integration definition.
48 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
49 // Values for the defined keys. Each value can either be string, int, double
50 // or any proto message.
51 Value *ValueType `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
52 }
53
54 func (x *EventParameter) Reset() {
55 *x = EventParameter{}
56 if protoimpl.UnsafeEnabled {
57 mi := &file_google_cloud_integrations_v1alpha_event_parameter_proto_msgTypes[0]
58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
59 ms.StoreMessageInfo(mi)
60 }
61 }
62
63 func (x *EventParameter) String() string {
64 return protoimpl.X.MessageStringOf(x)
65 }
66
67 func (*EventParameter) ProtoMessage() {}
68
69 func (x *EventParameter) ProtoReflect() protoreflect.Message {
70 mi := &file_google_cloud_integrations_v1alpha_event_parameter_proto_msgTypes[0]
71 if protoimpl.UnsafeEnabled && x != nil {
72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
73 if ms.LoadMessageInfo() == nil {
74 ms.StoreMessageInfo(mi)
75 }
76 return ms
77 }
78 return mi.MessageOf(x)
79 }
80
81 // Deprecated: Use EventParameter.ProtoReflect.Descriptor instead.
82 func (*EventParameter) Descriptor() ([]byte, []int) {
83 return file_google_cloud_integrations_v1alpha_event_parameter_proto_rawDescGZIP(), []int{0}
84 }
85
86 func (x *EventParameter) GetKey() string {
87 if x != nil {
88 return x.Key
89 }
90 return ""
91 }
92
93 func (x *EventParameter) GetValue() *ValueType {
94 if x != nil {
95 return x.Value
96 }
97 return nil
98 }
99
100 var File_google_cloud_integrations_v1alpha_event_parameter_proto protoreflect.FileDescriptor
101
102 var file_google_cloud_integrations_v1alpha_event_parameter_proto_rawDesc = []byte{
103 0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x69,
104 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c,
105 0x70, 0x68, 0x61, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65,
106 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
107 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74,
108 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x32, 0x67, 0x6f,
109 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67,
110 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f,
111 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
112 0x22, 0x66, 0x0a, 0x0e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
113 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
114 0x03, 0x6b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
115 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
116 0x75, 0x64, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
117 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70,
118 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x8d, 0x01, 0x0a, 0x25, 0x63, 0x6f, 0x6d,
119 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x6e,
120 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
121 0x68, 0x61, 0x42, 0x13, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
122 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
123 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
124 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
125 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69,
126 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x69, 0x6e, 0x74, 0x65,
127 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
128 }
129
130 var (
131 file_google_cloud_integrations_v1alpha_event_parameter_proto_rawDescOnce sync.Once
132 file_google_cloud_integrations_v1alpha_event_parameter_proto_rawDescData = file_google_cloud_integrations_v1alpha_event_parameter_proto_rawDesc
133 )
134
135 func file_google_cloud_integrations_v1alpha_event_parameter_proto_rawDescGZIP() []byte {
136 file_google_cloud_integrations_v1alpha_event_parameter_proto_rawDescOnce.Do(func() {
137 file_google_cloud_integrations_v1alpha_event_parameter_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_integrations_v1alpha_event_parameter_proto_rawDescData)
138 })
139 return file_google_cloud_integrations_v1alpha_event_parameter_proto_rawDescData
140 }
141
142 var file_google_cloud_integrations_v1alpha_event_parameter_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
143 var file_google_cloud_integrations_v1alpha_event_parameter_proto_goTypes = []interface{}{
144 (*EventParameter)(nil), // 0: google.cloud.integrations.v1alpha.EventParameter
145 (*ValueType)(nil), // 1: google.cloud.integrations.v1alpha.ValueType
146 }
147 var file_google_cloud_integrations_v1alpha_event_parameter_proto_depIdxs = []int32{
148 1, // 0: google.cloud.integrations.v1alpha.EventParameter.value:type_name -> google.cloud.integrations.v1alpha.ValueType
149 1, // [1:1] is the sub-list for method output_type
150 1, // [1:1] is the sub-list for method input_type
151 1, // [1:1] is the sub-list for extension type_name
152 1, // [1:1] is the sub-list for extension extendee
153 0, // [0:1] is the sub-list for field type_name
154 }
155
156 func init() { file_google_cloud_integrations_v1alpha_event_parameter_proto_init() }
157 func file_google_cloud_integrations_v1alpha_event_parameter_proto_init() {
158 if File_google_cloud_integrations_v1alpha_event_parameter_proto != nil {
159 return
160 }
161 file_google_cloud_integrations_v1alpha_value_type_proto_init()
162 if !protoimpl.UnsafeEnabled {
163 file_google_cloud_integrations_v1alpha_event_parameter_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
164 switch v := v.(*EventParameter); i {
165 case 0:
166 return &v.state
167 case 1:
168 return &v.sizeCache
169 case 2:
170 return &v.unknownFields
171 default:
172 return nil
173 }
174 }
175 }
176 type x struct{}
177 out := protoimpl.TypeBuilder{
178 File: protoimpl.DescBuilder{
179 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
180 RawDescriptor: file_google_cloud_integrations_v1alpha_event_parameter_proto_rawDesc,
181 NumEnums: 0,
182 NumMessages: 1,
183 NumExtensions: 0,
184 NumServices: 0,
185 },
186 GoTypes: file_google_cloud_integrations_v1alpha_event_parameter_proto_goTypes,
187 DependencyIndexes: file_google_cloud_integrations_v1alpha_event_parameter_proto_depIdxs,
188 MessageInfos: file_google_cloud_integrations_v1alpha_event_parameter_proto_msgTypes,
189 }.Build()
190 File_google_cloud_integrations_v1alpha_event_parameter_proto = out.File
191 file_google_cloud_integrations_v1alpha_event_parameter_proto_rawDesc = nil
192 file_google_cloud_integrations_v1alpha_event_parameter_proto_goTypes = nil
193 file_google_cloud_integrations_v1alpha_event_parameter_proto_depIdxs = nil
194 }