Code refactoring for bpa operator
[icn.git] / cmd / bpa-operator / vendor / k8s.io / apimachinery / pkg / util / intstr / generated.proto
1 /*
2 Copyright The Kubernetes Authors.
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8     http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 */
16
17
18 // This file was autogenerated by go-to-protobuf. Do not edit it manually!
19
20 syntax = 'proto2';
21
22 package k8s.io.apimachinery.pkg.util.intstr;
23
24 // Package-wide variables from generator "generated".
25 option go_package = "intstr";
26
27 // IntOrString is a type that can hold an int32 or a string.  When used in
28 // JSON or YAML marshalling and unmarshalling, it produces or consumes the
29 // inner type.  This allows you to have, for example, a JSON field that can
30 // accept a name or number.
31 // TODO: Rename to Int32OrString
32 //
33 // +protobuf=true
34 // +protobuf.options.(gogoproto.goproto_stringer)=false
35 // +k8s:openapi-gen=true
36 message IntOrString {
37   optional int64 type = 1;
38
39   optional int32 intVal = 2;
40
41   optional string strVal = 3;
42 }
43