1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package appengine
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
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type NetworkSettings_IngressTrafficAllowed int32
40
41 const (
42
43 NetworkSettings_INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED NetworkSettings_IngressTrafficAllowed = 0
44
45 NetworkSettings_INGRESS_TRAFFIC_ALLOWED_ALL NetworkSettings_IngressTrafficAllowed = 1
46
47 NetworkSettings_INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY NetworkSettings_IngressTrafficAllowed = 2
48
49 NetworkSettings_INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB NetworkSettings_IngressTrafficAllowed = 3
50 )
51
52
53 var (
54 NetworkSettings_IngressTrafficAllowed_name = map[int32]string{
55 0: "INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED",
56 1: "INGRESS_TRAFFIC_ALLOWED_ALL",
57 2: "INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY",
58 3: "INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB",
59 }
60 NetworkSettings_IngressTrafficAllowed_value = map[string]int32{
61 "INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED": 0,
62 "INGRESS_TRAFFIC_ALLOWED_ALL": 1,
63 "INGRESS_TRAFFIC_ALLOWED_INTERNAL_ONLY": 2,
64 "INGRESS_TRAFFIC_ALLOWED_INTERNAL_AND_LB": 3,
65 }
66 )
67
68 func (x NetworkSettings_IngressTrafficAllowed) Enum() *NetworkSettings_IngressTrafficAllowed {
69 p := new(NetworkSettings_IngressTrafficAllowed)
70 *p = x
71 return p
72 }
73
74 func (x NetworkSettings_IngressTrafficAllowed) String() string {
75 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
76 }
77
78 func (NetworkSettings_IngressTrafficAllowed) Descriptor() protoreflect.EnumDescriptor {
79 return file_google_appengine_v1beta_network_settings_proto_enumTypes[0].Descriptor()
80 }
81
82 func (NetworkSettings_IngressTrafficAllowed) Type() protoreflect.EnumType {
83 return &file_google_appengine_v1beta_network_settings_proto_enumTypes[0]
84 }
85
86 func (x NetworkSettings_IngressTrafficAllowed) Number() protoreflect.EnumNumber {
87 return protoreflect.EnumNumber(x)
88 }
89
90
91 func (NetworkSettings_IngressTrafficAllowed) EnumDescriptor() ([]byte, []int) {
92 return file_google_appengine_v1beta_network_settings_proto_rawDescGZIP(), []int{0, 0}
93 }
94
95
96
97 type NetworkSettings struct {
98 state protoimpl.MessageState
99 sizeCache protoimpl.SizeCache
100 unknownFields protoimpl.UnknownFields
101
102
103 IngressTrafficAllowed NetworkSettings_IngressTrafficAllowed `protobuf:"varint,1,opt,name=ingress_traffic_allowed,json=ingressTrafficAllowed,proto3,enum=google.appengine.v1beta.NetworkSettings_IngressTrafficAllowed" json:"ingress_traffic_allowed,omitempty"`
104 }
105
106 func (x *NetworkSettings) Reset() {
107 *x = NetworkSettings{}
108 if protoimpl.UnsafeEnabled {
109 mi := &file_google_appengine_v1beta_network_settings_proto_msgTypes[0]
110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
111 ms.StoreMessageInfo(mi)
112 }
113 }
114
115 func (x *NetworkSettings) String() string {
116 return protoimpl.X.MessageStringOf(x)
117 }
118
119 func (*NetworkSettings) ProtoMessage() {}
120
121 func (x *NetworkSettings) ProtoReflect() protoreflect.Message {
122 mi := &file_google_appengine_v1beta_network_settings_proto_msgTypes[0]
123 if protoimpl.UnsafeEnabled && x != nil {
124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
125 if ms.LoadMessageInfo() == nil {
126 ms.StoreMessageInfo(mi)
127 }
128 return ms
129 }
130 return mi.MessageOf(x)
131 }
132
133
134 func (*NetworkSettings) Descriptor() ([]byte, []int) {
135 return file_google_appengine_v1beta_network_settings_proto_rawDescGZIP(), []int{0}
136 }
137
138 func (x *NetworkSettings) GetIngressTrafficAllowed() NetworkSettings_IngressTrafficAllowed {
139 if x != nil {
140 return x.IngressTrafficAllowed
141 }
142 return NetworkSettings_INGRESS_TRAFFIC_ALLOWED_UNSPECIFIED
143 }
144
145 var File_google_appengine_v1beta_network_settings_proto protoreflect.FileDescriptor
146
147 var file_google_appengine_v1beta_network_settings_proto_rawDesc = []byte{
148 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69,
149 0x6e, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72,
150 0x6b, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
151 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69,
152 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x22, 0xc5, 0x02, 0x0a, 0x0f, 0x4e, 0x65,
153 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x76, 0x0a,
154 0x17, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63,
155 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e,
156 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e,
157 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
158 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73,
159 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x52, 0x15,
160 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x41, 0x6c,
161 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x22, 0xb9, 0x01, 0x0a, 0x15, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73,
162 0x73, 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x12,
163 0x27, 0x0a, 0x23, 0x49, 0x4e, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x46, 0x46,
164 0x49, 0x43, 0x5f, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x45, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
165 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x49, 0x4e, 0x47, 0x52,
166 0x45, 0x53, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x46, 0x46, 0x49, 0x43, 0x5f, 0x41, 0x4c, 0x4c, 0x4f,
167 0x57, 0x45, 0x44, 0x5f, 0x41, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x29, 0x0a, 0x25, 0x49, 0x4e, 0x47,
168 0x52, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x46, 0x46, 0x49, 0x43, 0x5f, 0x41, 0x4c, 0x4c,
169 0x4f, 0x57, 0x45, 0x44, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x4f, 0x4e,
170 0x4c, 0x59, 0x10, 0x02, 0x12, 0x2b, 0x0a, 0x27, 0x49, 0x4e, 0x47, 0x52, 0x45, 0x53, 0x53, 0x5f,
171 0x54, 0x52, 0x41, 0x46, 0x46, 0x49, 0x43, 0x5f, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x45, 0x44, 0x5f,
172 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x4c, 0x42, 0x10,
173 0x03, 0x42, 0xda, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
174 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
175 0x61, 0x42, 0x14, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
176 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
177 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
178 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
179 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
180 0x61, 0x3b, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0xaa, 0x02, 0x1d, 0x47, 0x6f,
181 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x70, 0x70, 0x45, 0x6e,
182 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1d, 0x47, 0x6f,
183 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x70, 0x70, 0x45, 0x6e,
184 0x67, 0x69, 0x6e, 0x65, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x20, 0x47, 0x6f,
185 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x70, 0x70,
186 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06,
187 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
188 }
189
190 var (
191 file_google_appengine_v1beta_network_settings_proto_rawDescOnce sync.Once
192 file_google_appengine_v1beta_network_settings_proto_rawDescData = file_google_appengine_v1beta_network_settings_proto_rawDesc
193 )
194
195 func file_google_appengine_v1beta_network_settings_proto_rawDescGZIP() []byte {
196 file_google_appengine_v1beta_network_settings_proto_rawDescOnce.Do(func() {
197 file_google_appengine_v1beta_network_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_appengine_v1beta_network_settings_proto_rawDescData)
198 })
199 return file_google_appengine_v1beta_network_settings_proto_rawDescData
200 }
201
202 var file_google_appengine_v1beta_network_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
203 var file_google_appengine_v1beta_network_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
204 var file_google_appengine_v1beta_network_settings_proto_goTypes = []interface{}{
205 (NetworkSettings_IngressTrafficAllowed)(0),
206 (*NetworkSettings)(nil),
207 }
208 var file_google_appengine_v1beta_network_settings_proto_depIdxs = []int32{
209 0,
210 1,
211 1,
212 1,
213 1,
214 0,
215 }
216
217 func init() { file_google_appengine_v1beta_network_settings_proto_init() }
218 func file_google_appengine_v1beta_network_settings_proto_init() {
219 if File_google_appengine_v1beta_network_settings_proto != nil {
220 return
221 }
222 if !protoimpl.UnsafeEnabled {
223 file_google_appengine_v1beta_network_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
224 switch v := v.(*NetworkSettings); i {
225 case 0:
226 return &v.state
227 case 1:
228 return &v.sizeCache
229 case 2:
230 return &v.unknownFields
231 default:
232 return nil
233 }
234 }
235 }
236 type x struct{}
237 out := protoimpl.TypeBuilder{
238 File: protoimpl.DescBuilder{
239 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
240 RawDescriptor: file_google_appengine_v1beta_network_settings_proto_rawDesc,
241 NumEnums: 1,
242 NumMessages: 1,
243 NumExtensions: 0,
244 NumServices: 0,
245 },
246 GoTypes: file_google_appengine_v1beta_network_settings_proto_goTypes,
247 DependencyIndexes: file_google_appengine_v1beta_network_settings_proto_depIdxs,
248 EnumInfos: file_google_appengine_v1beta_network_settings_proto_enumTypes,
249 MessageInfos: file_google_appengine_v1beta_network_settings_proto_msgTypes,
250 }.Build()
251 File_google_appengine_v1beta_network_settings_proto = out.File
252 file_google_appengine_v1beta_network_settings_proto_rawDesc = nil
253 file_google_appengine_v1beta_network_settings_proto_goTypes = nil
254 file_google_appengine_v1beta_network_settings_proto_depIdxs = nil
255 }
256
View as plain text