Debian Codegraph @

eventarc/apiv1/eventarcpb/google_channel_config.pb.go

raw
1 // Copyright 2025 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.35.2
18 // protoc v4.25.7
19 // source: google/cloud/eventarc/v1/google_channel_config.proto
20
21 package eventarcpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // A GoogleChannelConfig is a resource that stores the custom settings
40 // respected by Eventarc first-party triggers in the matching region.
41 // Once configured, first-party event data will be protected
42 // using the specified custom managed encryption key instead of Google-managed
43 // encryption keys.
44 type GoogleChannelConfig struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49 // Required. The resource name of the config. Must be in the format of,
50 // `projects/{project}/locations/{location}/googleChannelConfig`.
51 // In API responses, the config name always includes the projectID, regardless
52 // of whether the projectID or projectNumber was provided.
53 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
54 // Output only. The last-modified time.
55 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
56 // Optional. Resource name of a KMS crypto key (managed by the user) used to
57 // encrypt/decrypt their event data.
58 //
59 // It must match the pattern
60 // `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
61 CryptoKeyName string `protobuf:"bytes,7,opt,name=crypto_key_name,json=cryptoKeyName,proto3" json:"crypto_key_name,omitempty"`
62 // Optional. Resource labels.
63 Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
64 }
65
66 func (x *GoogleChannelConfig) Reset() {
67 *x = GoogleChannelConfig{}
68 mi := &file_google_cloud_eventarc_v1_google_channel_config_proto_msgTypes[0]
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 ms.StoreMessageInfo(mi)
71 }
72
73 func (x *GoogleChannelConfig) String() string {
74 return protoimpl.X.MessageStringOf(x)
75 }
76
77 func (*GoogleChannelConfig) ProtoMessage() {}
78
79 func (x *GoogleChannelConfig) ProtoReflect() protoreflect.Message {
80 mi := &file_google_cloud_eventarc_v1_google_channel_config_proto_msgTypes[0]
81 if x != nil {
82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
83 if ms.LoadMessageInfo() == nil {
84 ms.StoreMessageInfo(mi)
85 }
86 return ms
87 }
88 return mi.MessageOf(x)
89 }
90
91 // Deprecated: Use GoogleChannelConfig.ProtoReflect.Descriptor instead.
92 func (*GoogleChannelConfig) Descriptor() ([]byte, []int) {
93 return file_google_cloud_eventarc_v1_google_channel_config_proto_rawDescGZIP(), []int{0}
94 }
95
96 func (x *GoogleChannelConfig) GetName() string {
97 if x != nil {
98 return x.Name
99 }
100 return ""
101 }
102
103 func (x *GoogleChannelConfig) GetUpdateTime() *timestamppb.Timestamp {
104 if x != nil {
105 return x.UpdateTime
106 }
107 return nil
108 }
109
110 func (x *GoogleChannelConfig) GetCryptoKeyName() string {
111 if x != nil {
112 return x.CryptoKeyName
113 }
114 return ""
115 }
116
117 func (x *GoogleChannelConfig) GetLabels() map[string]string {
118 if x != nil {
119 return x.Labels
120 }
121 return nil
122 }
123
124 var File_google_cloud_eventarc_v1_google_channel_config_proto protoreflect.FileDescriptor
125
126 var file_google_cloud_eventarc_v1_google_channel_config_proto_rawDesc = []byte{
127 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65,
128 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
129 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
130 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
131 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31,
132 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65,
133 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
134 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65,
135 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
136 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
137 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x03,
138 0x0a, 0x13, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43,
139 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
140 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40,
141 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20,
142 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
143 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42,
144 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
145 0x12, 0x51, 0x0a, 0x0f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e,
146 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x01, 0xfa, 0x41,
147 0x23, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x6b, 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
148 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x72, 0x79, 0x70, 0x74,
149 0x6f, 0x4b, 0x65, 0x79, 0x52, 0x0d, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x4e,
150 0x61, 0x6d, 0x65, 0x12, 0x56, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x08, 0x20,
151 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
152 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x2e, 0x47,
153 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66,
154 0x69, 0x67, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03,
155 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c,
156 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
157 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
158 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
159 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x99, 0x01, 0xea, 0x41, 0x95, 0x01, 0x0a, 0x2b, 0x65,
160 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
161 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x43, 0x68, 0x61,
162 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, 0x70, 0x72, 0x6f, 0x6a,
163 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c,
164 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
165 0x6f, 0x6e, 0x7d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
166 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2a, 0x14, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x43,
167 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x32, 0x13, 0x67,
168 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66,
169 0x69, 0x67, 0x42, 0xc3, 0x02, 0xea, 0x41, 0x78, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x6b,
170 0x6d, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
171 0x6d, 0x2f, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b, 0x65, 0x79, 0x12, 0x53, 0x70, 0x72, 0x6f,
172 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f,
173 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74,
174 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6b, 0x65, 0x79, 0x52, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x6b,
175 0x65, 0x79, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x7d, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x4b,
176 0x65, 0x79, 0x73, 0x2f, 0x7b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x5f, 0x6b, 0x65, 0x79, 0x7d,
177 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
178 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x18,
179 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e,
180 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x63, 0x6c, 0x6f, 0x75,
181 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
182 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x65,
183 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x70, 0x62, 0x3b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61,
184 0x72, 0x63, 0x70, 0x62, 0xaa, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c,
185 0x6f, 0x75, 0x64, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x56, 0x31, 0xca,
186 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x45,
187 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1b, 0x47, 0x6f, 0x6f,
188 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x45, 0x76, 0x65, 0x6e,
189 0x74, 0x61, 0x72, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
190 }
191
192 var (
193 file_google_cloud_eventarc_v1_google_channel_config_proto_rawDescOnce sync.Once
194 file_google_cloud_eventarc_v1_google_channel_config_proto_rawDescData = file_google_cloud_eventarc_v1_google_channel_config_proto_rawDesc
195 )
196
197 func file_google_cloud_eventarc_v1_google_channel_config_proto_rawDescGZIP() []byte {
198 file_google_cloud_eventarc_v1_google_channel_config_proto_rawDescOnce.Do(func() {
199 file_google_cloud_eventarc_v1_google_channel_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_eventarc_v1_google_channel_config_proto_rawDescData)
200 })
201 return file_google_cloud_eventarc_v1_google_channel_config_proto_rawDescData
202 }
203
204 var file_google_cloud_eventarc_v1_google_channel_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
205 var file_google_cloud_eventarc_v1_google_channel_config_proto_goTypes = []any{
206 (*GoogleChannelConfig)(nil), // 0: google.cloud.eventarc.v1.GoogleChannelConfig
207 nil, // 1: google.cloud.eventarc.v1.GoogleChannelConfig.LabelsEntry
208 (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp
209 }
210 var file_google_cloud_eventarc_v1_google_channel_config_proto_depIdxs = []int32{
211 2, // 0: google.cloud.eventarc.v1.GoogleChannelConfig.update_time:type_name -> google.protobuf.Timestamp
212 1, // 1: google.cloud.eventarc.v1.GoogleChannelConfig.labels:type_name -> google.cloud.eventarc.v1.GoogleChannelConfig.LabelsEntry
213 2, // [2:2] is the sub-list for method output_type
214 2, // [2:2] is the sub-list for method input_type
215 2, // [2:2] is the sub-list for extension type_name
216 2, // [2:2] is the sub-list for extension extendee
217 0, // [0:2] is the sub-list for field type_name
218 }
219
220 func init() { file_google_cloud_eventarc_v1_google_channel_config_proto_init() }
221 func file_google_cloud_eventarc_v1_google_channel_config_proto_init() {
222 if File_google_cloud_eventarc_v1_google_channel_config_proto != nil {
223 return
224 }
225 type x struct{}
226 out := protoimpl.TypeBuilder{
227 File: protoimpl.DescBuilder{
228 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
229 RawDescriptor: file_google_cloud_eventarc_v1_google_channel_config_proto_rawDesc,
230 NumEnums: 0,
231 NumMessages: 2,
232 NumExtensions: 0,
233 NumServices: 0,
234 },
235 GoTypes: file_google_cloud_eventarc_v1_google_channel_config_proto_goTypes,
236 DependencyIndexes: file_google_cloud_eventarc_v1_google_channel_config_proto_depIdxs,
237 MessageInfos: file_google_cloud_eventarc_v1_google_channel_config_proto_msgTypes,
238 }.Build()
239 File_google_cloud_eventarc_v1_google_channel_config_proto = out.File
240 file_google_cloud_eventarc_v1_google_channel_config_proto_rawDesc = nil
241 file_google_cloud_eventarc_v1_google_channel_config_proto_goTypes = nil
242 file_google_cloud_eventarc_v1_google_channel_config_proto_depIdxs = nil
243 }