Debian Codegraph @

eventarc/apiv1/eventarcpb/network_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/network_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 reflect "reflect"
28 sync "sync"
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 // Network Configuration that can be inherited by other protos.
39 type NetworkConfig struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // Required. Name of the NetworkAttachment that allows access to the
45 // customer's VPC. Format:
46 // `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
47 NetworkAttachment string `protobuf:"bytes,1,opt,name=network_attachment,json=networkAttachment,proto3" json:"network_attachment,omitempty"`
48 }
49
50 func (x *NetworkConfig) Reset() {
51 *x = NetworkConfig{}
52 mi := &file_google_cloud_eventarc_v1_network_config_proto_msgTypes[0]
53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54 ms.StoreMessageInfo(mi)
55 }
56
57 func (x *NetworkConfig) String() string {
58 return protoimpl.X.MessageStringOf(x)
59 }
60
61 func (*NetworkConfig) ProtoMessage() {}
62
63 func (x *NetworkConfig) ProtoReflect() protoreflect.Message {
64 mi := &file_google_cloud_eventarc_v1_network_config_proto_msgTypes[0]
65 if x != nil {
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 if ms.LoadMessageInfo() == nil {
68 ms.StoreMessageInfo(mi)
69 }
70 return ms
71 }
72 return mi.MessageOf(x)
73 }
74
75 // Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
76 func (*NetworkConfig) Descriptor() ([]byte, []int) {
77 return file_google_cloud_eventarc_v1_network_config_proto_rawDescGZIP(), []int{0}
78 }
79
80 func (x *NetworkConfig) GetNetworkAttachment() string {
81 if x != nil {
82 return x.NetworkAttachment
83 }
84 return ""
85 }
86
87 var File_google_cloud_eventarc_v1_network_config_proto protoreflect.FileDescriptor
88
89 var file_google_cloud_eventarc_v1_network_config_proto_rawDesc = []byte{
90 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65,
91 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f,
92 0x72, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
93 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76,
94 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
95 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61,
96 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67,
97 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
98 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x0d, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
99 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5f, 0x0a, 0x12, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
100 0x6b, 0x5f, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
101 0x28, 0x09, 0x42, 0x30, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2a, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x70,
102 0x75, 0x74, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
103 0x6f, 0x6d, 0x2f, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68,
104 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x74, 0x74,
105 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0xc2, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e,
106 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x76, 0x65,
107 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2e, 0x76, 0x31, 0x42, 0x12, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
108 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38,
109 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
110 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x2f, 0x61, 0x70, 0x69,
111 0x76, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x70, 0x62, 0x3b, 0x65, 0x76,
112 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x70, 0x62, 0xaa, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
113 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63,
114 0x2e, 0x56, 0x31, 0xca, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
115 0x75, 0x64, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x5c, 0x56, 0x31, 0xea, 0x02,
116 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
117 0x45, 0x76, 0x65, 0x6e, 0x74, 0x61, 0x72, 0x63, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
118 0x6f, 0x74, 0x6f, 0x33,
119 }
120
121 var (
122 file_google_cloud_eventarc_v1_network_config_proto_rawDescOnce sync.Once
123 file_google_cloud_eventarc_v1_network_config_proto_rawDescData = file_google_cloud_eventarc_v1_network_config_proto_rawDesc
124 )
125
126 func file_google_cloud_eventarc_v1_network_config_proto_rawDescGZIP() []byte {
127 file_google_cloud_eventarc_v1_network_config_proto_rawDescOnce.Do(func() {
128 file_google_cloud_eventarc_v1_network_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_eventarc_v1_network_config_proto_rawDescData)
129 })
130 return file_google_cloud_eventarc_v1_network_config_proto_rawDescData
131 }
132
133 var file_google_cloud_eventarc_v1_network_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
134 var file_google_cloud_eventarc_v1_network_config_proto_goTypes = []any{
135 (*NetworkConfig)(nil), // 0: google.cloud.eventarc.v1.NetworkConfig
136 }
137 var file_google_cloud_eventarc_v1_network_config_proto_depIdxs = []int32{
138 0, // [0:0] is the sub-list for method output_type
139 0, // [0:0] is the sub-list for method input_type
140 0, // [0:0] is the sub-list for extension type_name
141 0, // [0:0] is the sub-list for extension extendee
142 0, // [0:0] is the sub-list for field type_name
143 }
144
145 func init() { file_google_cloud_eventarc_v1_network_config_proto_init() }
146 func file_google_cloud_eventarc_v1_network_config_proto_init() {
147 if File_google_cloud_eventarc_v1_network_config_proto != nil {
148 return
149 }
150 type x struct{}
151 out := protoimpl.TypeBuilder{
152 File: protoimpl.DescBuilder{
153 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
154 RawDescriptor: file_google_cloud_eventarc_v1_network_config_proto_rawDesc,
155 NumEnums: 0,
156 NumMessages: 1,
157 NumExtensions: 0,
158 NumServices: 0,
159 },
160 GoTypes: file_google_cloud_eventarc_v1_network_config_proto_goTypes,
161 DependencyIndexes: file_google_cloud_eventarc_v1_network_config_proto_depIdxs,
162 MessageInfos: file_google_cloud_eventarc_v1_network_config_proto_msgTypes,
163 }.Build()
164 File_google_cloud_eventarc_v1_network_config_proto = out.File
165 file_google_cloud_eventarc_v1_network_config_proto_rawDesc = nil
166 file_google_cloud_eventarc_v1_network_config_proto_goTypes = nil
167 file_google_cloud_eventarc_v1_network_config_proto_depIdxs = nil
168 }