2 Copyright The Kubernetes Authors.
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
8 http://www.apache.org/licenses/LICENSE-2.0
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.
17 // Code generated by protoc-gen-gogo. DO NOT EDIT.
18 // source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto
21 Package v1beta1 is a generated protocol buffer package.
23 It is generated from these files:
24 k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto
26 It has these top-level messages:
28 PartialObjectMetadataList
33 import proto "github.com/gogo/protobuf/proto"
37 import strings "strings"
38 import reflect "reflect"
42 // Reference imports to suppress errors if they are not otherwise used.
47 // This is a compile-time assertion to ensure that this generated file
48 // is compatible with the proto package it is being compiled against.
49 // A compilation error at this line likely means your copy of the
50 // proto package needs to be updated.
51 const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
53 func (m *PartialObjectMetadata) Reset() { *m = PartialObjectMetadata{} }
54 func (*PartialObjectMetadata) ProtoMessage() {}
55 func (*PartialObjectMetadata) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
57 func (m *PartialObjectMetadataList) Reset() { *m = PartialObjectMetadataList{} }
58 func (*PartialObjectMetadataList) ProtoMessage() {}
59 func (*PartialObjectMetadataList) Descriptor() ([]byte, []int) {
60 return fileDescriptorGenerated, []int{1}
63 func (m *TableOptions) Reset() { *m = TableOptions{} }
64 func (*TableOptions) ProtoMessage() {}
65 func (*TableOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
68 proto.RegisterType((*PartialObjectMetadata)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1beta1.PartialObjectMetadata")
69 proto.RegisterType((*PartialObjectMetadataList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1beta1.PartialObjectMetadataList")
70 proto.RegisterType((*TableOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1beta1.TableOptions")
72 func (m *PartialObjectMetadata) Marshal() (dAtA []byte, err error) {
74 dAtA = make([]byte, size)
75 n, err := m.MarshalTo(dAtA)
82 func (m *PartialObjectMetadata) MarshalTo(dAtA []byte) (int, error) {
89 i = encodeVarintGenerated(dAtA, i, uint64(m.ObjectMeta.Size()))
90 n1, err := m.ObjectMeta.MarshalTo(dAtA[i:])
98 func (m *PartialObjectMetadataList) Marshal() (dAtA []byte, err error) {
100 dAtA = make([]byte, size)
101 n, err := m.MarshalTo(dAtA)
108 func (m *PartialObjectMetadataList) MarshalTo(dAtA []byte) (int, error) {
113 if len(m.Items) > 0 {
114 for _, msg := range m.Items {
117 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
118 n, err := msg.MarshalTo(dAtA[i:])
128 func (m *TableOptions) Marshal() (dAtA []byte, err error) {
130 dAtA = make([]byte, size)
131 n, err := m.MarshalTo(dAtA)
138 func (m *TableOptions) MarshalTo(dAtA []byte) (int, error) {
145 i = encodeVarintGenerated(dAtA, i, uint64(len(m.IncludeObject)))
146 i += copy(dAtA[i:], m.IncludeObject)
150 func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
152 dAtA[offset] = uint8(v&0x7f | 0x80)
156 dAtA[offset] = uint8(v)
159 func (m *PartialObjectMetadata) Size() (n int) {
162 l = m.ObjectMeta.Size()
163 n += 1 + l + sovGenerated(uint64(l))
167 func (m *PartialObjectMetadataList) Size() (n int) {
170 if len(m.Items) > 0 {
171 for _, e := range m.Items {
173 n += 1 + l + sovGenerated(uint64(l))
179 func (m *TableOptions) Size() (n int) {
182 l = len(m.IncludeObject)
183 n += 1 + l + sovGenerated(uint64(l))
187 func sovGenerated(x uint64) (n int) {
197 func sozGenerated(x uint64) (n int) {
198 return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
200 func (this *PartialObjectMetadata) String() string {
204 s := strings.Join([]string{`&PartialObjectMetadata{`,
205 `ObjectMeta:` + strings.Replace(strings.Replace(this.ObjectMeta.String(), "ObjectMeta", "k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
210 func (this *PartialObjectMetadataList) String() string {
214 s := strings.Join([]string{`&PartialObjectMetadataList{`,
215 `Items:` + strings.Replace(fmt.Sprintf("%v", this.Items), "PartialObjectMetadata", "PartialObjectMetadata", 1) + `,`,
220 func (this *TableOptions) String() string {
224 s := strings.Join([]string{`&TableOptions{`,
225 `IncludeObject:` + fmt.Sprintf("%v", this.IncludeObject) + `,`,
230 func valueToStringGenerated(v interface{}) string {
231 rv := reflect.ValueOf(v)
235 pv := reflect.Indirect(rv).Interface()
236 return fmt.Sprintf("*%v", pv)
238 func (m *PartialObjectMetadata) Unmarshal(dAtA []byte) error {
244 for shift := uint(0); ; shift += 7 {
246 return ErrIntOverflowGenerated
249 return io.ErrUnexpectedEOF
253 wire |= (uint64(b) & 0x7F) << shift
258 fieldNum := int32(wire >> 3)
259 wireType := int(wire & 0x7)
261 return fmt.Errorf("proto: PartialObjectMetadata: wiretype end group for non-group")
264 return fmt.Errorf("proto: PartialObjectMetadata: illegal tag %d (wire type %d)", fieldNum, wire)
269 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
272 for shift := uint(0); ; shift += 7 {
274 return ErrIntOverflowGenerated
277 return io.ErrUnexpectedEOF
281 msglen |= (int(b) & 0x7F) << shift
287 return ErrInvalidLengthGenerated
289 postIndex := iNdEx + msglen
291 return io.ErrUnexpectedEOF
293 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
299 skippy, err := skipGenerated(dAtA[iNdEx:])
304 return ErrInvalidLengthGenerated
306 if (iNdEx + skippy) > l {
307 return io.ErrUnexpectedEOF
314 return io.ErrUnexpectedEOF
318 func (m *PartialObjectMetadataList) Unmarshal(dAtA []byte) error {
324 for shift := uint(0); ; shift += 7 {
326 return ErrIntOverflowGenerated
329 return io.ErrUnexpectedEOF
333 wire |= (uint64(b) & 0x7F) << shift
338 fieldNum := int32(wire >> 3)
339 wireType := int(wire & 0x7)
341 return fmt.Errorf("proto: PartialObjectMetadataList: wiretype end group for non-group")
344 return fmt.Errorf("proto: PartialObjectMetadataList: illegal tag %d (wire type %d)", fieldNum, wire)
349 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
352 for shift := uint(0); ; shift += 7 {
354 return ErrIntOverflowGenerated
357 return io.ErrUnexpectedEOF
361 msglen |= (int(b) & 0x7F) << shift
367 return ErrInvalidLengthGenerated
369 postIndex := iNdEx + msglen
371 return io.ErrUnexpectedEOF
373 m.Items = append(m.Items, &PartialObjectMetadata{})
374 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
380 skippy, err := skipGenerated(dAtA[iNdEx:])
385 return ErrInvalidLengthGenerated
387 if (iNdEx + skippy) > l {
388 return io.ErrUnexpectedEOF
395 return io.ErrUnexpectedEOF
399 func (m *TableOptions) Unmarshal(dAtA []byte) error {
405 for shift := uint(0); ; shift += 7 {
407 return ErrIntOverflowGenerated
410 return io.ErrUnexpectedEOF
414 wire |= (uint64(b) & 0x7F) << shift
419 fieldNum := int32(wire >> 3)
420 wireType := int(wire & 0x7)
422 return fmt.Errorf("proto: TableOptions: wiretype end group for non-group")
425 return fmt.Errorf("proto: TableOptions: illegal tag %d (wire type %d)", fieldNum, wire)
430 return fmt.Errorf("proto: wrong wireType = %d for field IncludeObject", wireType)
433 for shift := uint(0); ; shift += 7 {
435 return ErrIntOverflowGenerated
438 return io.ErrUnexpectedEOF
442 stringLen |= (uint64(b) & 0x7F) << shift
447 intStringLen := int(stringLen)
448 if intStringLen < 0 {
449 return ErrInvalidLengthGenerated
451 postIndex := iNdEx + intStringLen
453 return io.ErrUnexpectedEOF
455 m.IncludeObject = IncludeObjectPolicy(dAtA[iNdEx:postIndex])
459 skippy, err := skipGenerated(dAtA[iNdEx:])
464 return ErrInvalidLengthGenerated
466 if (iNdEx + skippy) > l {
467 return io.ErrUnexpectedEOF
474 return io.ErrUnexpectedEOF
478 func skipGenerated(dAtA []byte) (n int, err error) {
483 for shift := uint(0); ; shift += 7 {
485 return 0, ErrIntOverflowGenerated
488 return 0, io.ErrUnexpectedEOF
492 wire |= (uint64(b) & 0x7F) << shift
497 wireType := int(wire & 0x7)
500 for shift := uint(0); ; shift += 7 {
502 return 0, ErrIntOverflowGenerated
505 return 0, io.ErrUnexpectedEOF
508 if dAtA[iNdEx-1] < 0x80 {
518 for shift := uint(0); ; shift += 7 {
520 return 0, ErrIntOverflowGenerated
523 return 0, io.ErrUnexpectedEOF
527 length |= (int(b) & 0x7F) << shift
534 return 0, ErrInvalidLengthGenerated
540 var start int = iNdEx
541 for shift := uint(0); ; shift += 7 {
543 return 0, ErrIntOverflowGenerated
546 return 0, io.ErrUnexpectedEOF
550 innerWire |= (uint64(b) & 0x7F) << shift
555 innerWireType := int(innerWire & 0x7)
556 if innerWireType == 4 {
559 next, err := skipGenerated(dAtA[start:])
572 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
579 ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
580 ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
584 proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto", fileDescriptorGenerated)
587 var fileDescriptorGenerated = []byte{
588 // 375 bytes of a gzipped FileDescriptorProto
589 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xcd, 0x0a, 0xd3, 0x40,
590 0x10, 0xc7, 0xb3, 0x48, 0xd1, 0x6e, 0xed, 0x25, 0x22, 0xd4, 0x1e, 0x36, 0xa5, 0xa7, 0x0a, 0x76,
591 0xd7, 0x16, 0x11, 0x8f, 0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