| /* |
| Copyright The Kubernetes Authors. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| */ |
| |
| // Code generated by protoc-gen-gogo. DO NOT EDIT. |
| // source: k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1alpha1/generated.proto |
| |
| package v1alpha1 |
| |
| import ( |
| fmt "fmt" |
| |
| io "io" |
| |
| proto "github.com/gogo/protobuf/proto" |
| |
| math "math" |
| math_bits "math/bits" |
| reflect "reflect" |
| strings "strings" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package |
| |
| func (m *FlowDistinguisherMethod) Reset() { *m = FlowDistinguisherMethod{} } |
| func (*FlowDistinguisherMethod) ProtoMessage() {} |
| func (*FlowDistinguisherMethod) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{0} |
| } |
| func (m *FlowDistinguisherMethod) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *FlowDistinguisherMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *FlowDistinguisherMethod) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_FlowDistinguisherMethod.Merge(m, src) |
| } |
| func (m *FlowDistinguisherMethod) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *FlowDistinguisherMethod) XXX_DiscardUnknown() { |
| xxx_messageInfo_FlowDistinguisherMethod.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_FlowDistinguisherMethod proto.InternalMessageInfo |
| |
| func (m *FlowSchema) Reset() { *m = FlowSchema{} } |
| func (*FlowSchema) ProtoMessage() {} |
| func (*FlowSchema) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{1} |
| } |
| func (m *FlowSchema) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *FlowSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *FlowSchema) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_FlowSchema.Merge(m, src) |
| } |
| func (m *FlowSchema) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *FlowSchema) XXX_DiscardUnknown() { |
| xxx_messageInfo_FlowSchema.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_FlowSchema proto.InternalMessageInfo |
| |
| func (m *FlowSchemaCondition) Reset() { *m = FlowSchemaCondition{} } |
| func (*FlowSchemaCondition) ProtoMessage() {} |
| func (*FlowSchemaCondition) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{2} |
| } |
| func (m *FlowSchemaCondition) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *FlowSchemaCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *FlowSchemaCondition) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_FlowSchemaCondition.Merge(m, src) |
| } |
| func (m *FlowSchemaCondition) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *FlowSchemaCondition) XXX_DiscardUnknown() { |
| xxx_messageInfo_FlowSchemaCondition.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_FlowSchemaCondition proto.InternalMessageInfo |
| |
| func (m *FlowSchemaList) Reset() { *m = FlowSchemaList{} } |
| func (*FlowSchemaList) ProtoMessage() {} |
| func (*FlowSchemaList) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{3} |
| } |
| func (m *FlowSchemaList) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *FlowSchemaList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *FlowSchemaList) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_FlowSchemaList.Merge(m, src) |
| } |
| func (m *FlowSchemaList) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *FlowSchemaList) XXX_DiscardUnknown() { |
| xxx_messageInfo_FlowSchemaList.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_FlowSchemaList proto.InternalMessageInfo |
| |
| func (m *FlowSchemaSpec) Reset() { *m = FlowSchemaSpec{} } |
| func (*FlowSchemaSpec) ProtoMessage() {} |
| func (*FlowSchemaSpec) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{4} |
| } |
| func (m *FlowSchemaSpec) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *FlowSchemaSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *FlowSchemaSpec) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_FlowSchemaSpec.Merge(m, src) |
| } |
| func (m *FlowSchemaSpec) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *FlowSchemaSpec) XXX_DiscardUnknown() { |
| xxx_messageInfo_FlowSchemaSpec.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_FlowSchemaSpec proto.InternalMessageInfo |
| |
| func (m *FlowSchemaStatus) Reset() { *m = FlowSchemaStatus{} } |
| func (*FlowSchemaStatus) ProtoMessage() {} |
| func (*FlowSchemaStatus) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{5} |
| } |
| func (m *FlowSchemaStatus) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *FlowSchemaStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *FlowSchemaStatus) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_FlowSchemaStatus.Merge(m, src) |
| } |
| func (m *FlowSchemaStatus) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *FlowSchemaStatus) XXX_DiscardUnknown() { |
| xxx_messageInfo_FlowSchemaStatus.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_FlowSchemaStatus proto.InternalMessageInfo |
| |
| func (m *GroupSubject) Reset() { *m = GroupSubject{} } |
| func (*GroupSubject) ProtoMessage() {} |
| func (*GroupSubject) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{6} |
| } |
| func (m *GroupSubject) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *GroupSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *GroupSubject) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GroupSubject.Merge(m, src) |
| } |
| func (m *GroupSubject) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *GroupSubject) XXX_DiscardUnknown() { |
| xxx_messageInfo_GroupSubject.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GroupSubject proto.InternalMessageInfo |
| |
| func (m *LimitResponse) Reset() { *m = LimitResponse{} } |
| func (*LimitResponse) ProtoMessage() {} |
| func (*LimitResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{7} |
| } |
| func (m *LimitResponse) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *LimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *LimitResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_LimitResponse.Merge(m, src) |
| } |
| func (m *LimitResponse) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *LimitResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_LimitResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_LimitResponse proto.InternalMessageInfo |
| |
| func (m *LimitedPriorityLevelConfiguration) Reset() { *m = LimitedPriorityLevelConfiguration{} } |
| func (*LimitedPriorityLevelConfiguration) ProtoMessage() {} |
| func (*LimitedPriorityLevelConfiguration) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{8} |
| } |
| func (m *LimitedPriorityLevelConfiguration) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *LimitedPriorityLevelConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *LimitedPriorityLevelConfiguration) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_LimitedPriorityLevelConfiguration.Merge(m, src) |
| } |
| func (m *LimitedPriorityLevelConfiguration) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *LimitedPriorityLevelConfiguration) XXX_DiscardUnknown() { |
| xxx_messageInfo_LimitedPriorityLevelConfiguration.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_LimitedPriorityLevelConfiguration proto.InternalMessageInfo |
| |
| func (m *NonResourcePolicyRule) Reset() { *m = NonResourcePolicyRule{} } |
| func (*NonResourcePolicyRule) ProtoMessage() {} |
| func (*NonResourcePolicyRule) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{9} |
| } |
| func (m *NonResourcePolicyRule) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *NonResourcePolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *NonResourcePolicyRule) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_NonResourcePolicyRule.Merge(m, src) |
| } |
| func (m *NonResourcePolicyRule) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *NonResourcePolicyRule) XXX_DiscardUnknown() { |
| xxx_messageInfo_NonResourcePolicyRule.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_NonResourcePolicyRule proto.InternalMessageInfo |
| |
| func (m *PolicyRulesWithSubjects) Reset() { *m = PolicyRulesWithSubjects{} } |
| func (*PolicyRulesWithSubjects) ProtoMessage() {} |
| func (*PolicyRulesWithSubjects) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{10} |
| } |
| func (m *PolicyRulesWithSubjects) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *PolicyRulesWithSubjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *PolicyRulesWithSubjects) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PolicyRulesWithSubjects.Merge(m, src) |
| } |
| func (m *PolicyRulesWithSubjects) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *PolicyRulesWithSubjects) XXX_DiscardUnknown() { |
| xxx_messageInfo_PolicyRulesWithSubjects.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PolicyRulesWithSubjects proto.InternalMessageInfo |
| |
| func (m *PriorityLevelConfiguration) Reset() { *m = PriorityLevelConfiguration{} } |
| func (*PriorityLevelConfiguration) ProtoMessage() {} |
| func (*PriorityLevelConfiguration) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{11} |
| } |
| func (m *PriorityLevelConfiguration) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *PriorityLevelConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *PriorityLevelConfiguration) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PriorityLevelConfiguration.Merge(m, src) |
| } |
| func (m *PriorityLevelConfiguration) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *PriorityLevelConfiguration) XXX_DiscardUnknown() { |
| xxx_messageInfo_PriorityLevelConfiguration.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PriorityLevelConfiguration proto.InternalMessageInfo |
| |
| func (m *PriorityLevelConfigurationCondition) Reset() { *m = PriorityLevelConfigurationCondition{} } |
| func (*PriorityLevelConfigurationCondition) ProtoMessage() {} |
| func (*PriorityLevelConfigurationCondition) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{12} |
| } |
| func (m *PriorityLevelConfigurationCondition) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *PriorityLevelConfigurationCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *PriorityLevelConfigurationCondition) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PriorityLevelConfigurationCondition.Merge(m, src) |
| } |
| func (m *PriorityLevelConfigurationCondition) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *PriorityLevelConfigurationCondition) XXX_DiscardUnknown() { |
| xxx_messageInfo_PriorityLevelConfigurationCondition.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PriorityLevelConfigurationCondition proto.InternalMessageInfo |
| |
| func (m *PriorityLevelConfigurationList) Reset() { *m = PriorityLevelConfigurationList{} } |
| func (*PriorityLevelConfigurationList) ProtoMessage() {} |
| func (*PriorityLevelConfigurationList) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{13} |
| } |
| func (m *PriorityLevelConfigurationList) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *PriorityLevelConfigurationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *PriorityLevelConfigurationList) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PriorityLevelConfigurationList.Merge(m, src) |
| } |
| func (m *PriorityLevelConfigurationList) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *PriorityLevelConfigurationList) XXX_DiscardUnknown() { |
| xxx_messageInfo_PriorityLevelConfigurationList.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PriorityLevelConfigurationList proto.InternalMessageInfo |
| |
| func (m *PriorityLevelConfigurationReference) Reset() { *m = PriorityLevelConfigurationReference{} } |
| func (*PriorityLevelConfigurationReference) ProtoMessage() {} |
| func (*PriorityLevelConfigurationReference) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{14} |
| } |
| func (m *PriorityLevelConfigurationReference) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *PriorityLevelConfigurationReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *PriorityLevelConfigurationReference) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PriorityLevelConfigurationReference.Merge(m, src) |
| } |
| func (m *PriorityLevelConfigurationReference) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *PriorityLevelConfigurationReference) XXX_DiscardUnknown() { |
| xxx_messageInfo_PriorityLevelConfigurationReference.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PriorityLevelConfigurationReference proto.InternalMessageInfo |
| |
| func (m *PriorityLevelConfigurationSpec) Reset() { *m = PriorityLevelConfigurationSpec{} } |
| func (*PriorityLevelConfigurationSpec) ProtoMessage() {} |
| func (*PriorityLevelConfigurationSpec) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{15} |
| } |
| func (m *PriorityLevelConfigurationSpec) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *PriorityLevelConfigurationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *PriorityLevelConfigurationSpec) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PriorityLevelConfigurationSpec.Merge(m, src) |
| } |
| func (m *PriorityLevelConfigurationSpec) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *PriorityLevelConfigurationSpec) XXX_DiscardUnknown() { |
| xxx_messageInfo_PriorityLevelConfigurationSpec.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PriorityLevelConfigurationSpec proto.InternalMessageInfo |
| |
| func (m *PriorityLevelConfigurationStatus) Reset() { *m = PriorityLevelConfigurationStatus{} } |
| func (*PriorityLevelConfigurationStatus) ProtoMessage() {} |
| func (*PriorityLevelConfigurationStatus) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{16} |
| } |
| func (m *PriorityLevelConfigurationStatus) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *PriorityLevelConfigurationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *PriorityLevelConfigurationStatus) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PriorityLevelConfigurationStatus.Merge(m, src) |
| } |
| func (m *PriorityLevelConfigurationStatus) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *PriorityLevelConfigurationStatus) XXX_DiscardUnknown() { |
| xxx_messageInfo_PriorityLevelConfigurationStatus.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PriorityLevelConfigurationStatus proto.InternalMessageInfo |
| |
| func (m *QueuingConfiguration) Reset() { *m = QueuingConfiguration{} } |
| func (*QueuingConfiguration) ProtoMessage() {} |
| func (*QueuingConfiguration) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{17} |
| } |
| func (m *QueuingConfiguration) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *QueuingConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *QueuingConfiguration) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_QueuingConfiguration.Merge(m, src) |
| } |
| func (m *QueuingConfiguration) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *QueuingConfiguration) XXX_DiscardUnknown() { |
| xxx_messageInfo_QueuingConfiguration.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_QueuingConfiguration proto.InternalMessageInfo |
| |
| func (m *ResourcePolicyRule) Reset() { *m = ResourcePolicyRule{} } |
| func (*ResourcePolicyRule) ProtoMessage() {} |
| func (*ResourcePolicyRule) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{18} |
| } |
| func (m *ResourcePolicyRule) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *ResourcePolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *ResourcePolicyRule) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ResourcePolicyRule.Merge(m, src) |
| } |
| func (m *ResourcePolicyRule) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *ResourcePolicyRule) XXX_DiscardUnknown() { |
| xxx_messageInfo_ResourcePolicyRule.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ResourcePolicyRule proto.InternalMessageInfo |
| |
| func (m *ServiceAccountSubject) Reset() { *m = ServiceAccountSubject{} } |
| func (*ServiceAccountSubject) ProtoMessage() {} |
| func (*ServiceAccountSubject) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{19} |
| } |
| func (m *ServiceAccountSubject) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *ServiceAccountSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *ServiceAccountSubject) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ServiceAccountSubject.Merge(m, src) |
| } |
| func (m *ServiceAccountSubject) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *ServiceAccountSubject) XXX_DiscardUnknown() { |
| xxx_messageInfo_ServiceAccountSubject.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ServiceAccountSubject proto.InternalMessageInfo |
| |
| func (m *Subject) Reset() { *m = Subject{} } |
| func (*Subject) ProtoMessage() {} |
| func (*Subject) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{20} |
| } |
| func (m *Subject) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *Subject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *Subject) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Subject.Merge(m, src) |
| } |
| func (m *Subject) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *Subject) XXX_DiscardUnknown() { |
| xxx_messageInfo_Subject.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Subject proto.InternalMessageInfo |
| |
| func (m *UserSubject) Reset() { *m = UserSubject{} } |
| func (*UserSubject) ProtoMessage() {} |
| func (*UserSubject) Descriptor() ([]byte, []int) { |
| return fileDescriptor_45ba024d525b289b, []int{21} |
| } |
| func (m *UserSubject) XXX_Unmarshal(b []byte) error { |
| return m.Unmarshal(b) |
| } |
| func (m *UserSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| b = b[:cap(b)] |
| n, err := m.MarshalToSizedBuffer(b) |
| if err != nil { |
| return nil, err |
| } |
| return b[:n], nil |
| } |
| func (m *UserSubject) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_UserSubject.Merge(m, src) |
| } |
| func (m *UserSubject) XXX_Size() int { |
| return m.Size() |
| } |
| func (m *UserSubject) XXX_DiscardUnknown() { |
| xxx_messageInfo_UserSubject.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_UserSubject proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterType((*FlowDistinguisherMethod)(nil), "k8s.io.api.flowcontrol.v1alpha1.FlowDistinguisherMethod") |
| proto.RegisterType((*FlowSchema)(nil), "k8s.io.api.flowcontrol.v1alpha1.FlowSchema") |
| proto.RegisterType((*FlowSchemaCondition)(nil), "k8s.io.api.flowcontrol.v1alpha1.FlowSchemaCondition") |
| proto.RegisterType((*FlowSchemaList)(nil), "k8s.io.api.flowcontrol.v1alpha1.FlowSchemaList") |
| proto.RegisterType((*FlowSchemaSpec)(nil), "k8s.io.api.flowcontrol.v1alpha1.FlowSchemaSpec") |
| proto.RegisterType((*FlowSchemaStatus)(nil), "k8s.io.api.flowcontrol.v1alpha1.FlowSchemaStatus") |
| proto.RegisterType((*GroupSubject)(nil), "k8s.io.api.flowcontrol.v1alpha1.GroupSubject") |
| proto.RegisterType((*LimitResponse)(nil), "k8s.io.api.flowcontrol.v1alpha1.LimitResponse") |
| proto.RegisterType((*LimitedPriorityLevelConfiguration)(nil), "k8s.io.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration") |
| proto.RegisterType((*NonResourcePolicyRule)(nil), "k8s.io.api.flowcontrol.v1alpha1.NonResourcePolicyRule") |
| proto.RegisterType((*PolicyRulesWithSubjects)(nil), "k8s.io.api.flowcontrol.v1alpha1.PolicyRulesWithSubjects") |
| proto.RegisterType((*PriorityLevelConfiguration)(nil), "k8s.io.api.flowcontrol.v1alpha1.PriorityLevelConfiguration") |
| proto.RegisterType((*PriorityLevelConfigurationCondition)(nil), "k8s.io.api.flowcontrol.v1alpha1.PriorityLevelConfigurationCondition") |
| proto.RegisterType((*PriorityLevelConfigurationList)(nil), "k8s.io.api.flowcontrol.v1alpha1.PriorityLevelConfigurationList") |
| proto.RegisterType((*PriorityLevelConfigurationReference)(nil), "k8s.io.api.flowcontrol.v1alpha1.PriorityLevelConfigurationReference") |
| proto.RegisterType((*PriorityLevelConfigurationSpec)(nil), "k8s.io.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec") |
| proto.RegisterType((*PriorityLevelConfigurationStatus)(nil), "k8s.io.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus") |
| proto.RegisterType((*QueuingConfiguration)(nil), "k8s.io.api.flowcontrol.v1alpha1.QueuingConfiguration") |
| proto.RegisterType((*ResourcePolicyRule)(nil), "k8s.io.api.flowcontrol.v1alpha1.ResourcePolicyRule") |
| proto.RegisterType((*ServiceAccountSubject)(nil), "k8s.io.api.flowcontrol.v1alpha1.ServiceAccountSubject") |
| proto.RegisterType((*Subject)(nil), "k8s.io.api.flowcontrol.v1alpha1.Subject") |
| proto.RegisterType((*UserSubject)(nil), "k8s.io.api.flowcontrol.v1alpha1.UserSubject") |
| } |
| |
| func init() { |
| proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1alpha1/generated.proto", fileDescriptor_45ba024d525b289b) |
| } |
| |
| var fileDescriptor_45ba024d525b289b = []byte{ |
| // 1502 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0x4d, 0x6f, 0xdb, 0x46, |
| 0x13, 0x36, 0x65, 0xc9, 0xb6, 0xc6, 0x9f, 0x59, 0x27, 0xb0, 0xe0, 0x00, 0x92, 0xc3, 0x17, 0x78, |
| 0x93, 0xf7, 0x4d, 0x42, 0xc6, 0x69, 0x92, 0xa6, 0x08, 0x8a, 0xc0, 0x74, 0xda, 0x7c, 0xd9, 0xae, |
| 0xbd, 0x4e, 0x52, 0x34, 0x48, 0x81, 0xd0, 0xd4, 0x5a, 0xda, 0x58, 0x22, 0x59, 0x2e, 0xa9, 0xd4, |
| 0x45, 0x0e, 0x05, 0xfa, 0x07, 0xfa, 0x03, 0x72, 0xec, 0xa1, 0xe7, 0xfe, 0x82, 0x1e, 0x8d, 0xa2, |
| 0x87, 0x1c, 0x73, 0x12, 0x62, 0xf5, 0x5a, 0xf4, 0xdc, 0xe6, 0x54, 0xec, 0x72, 0x49, 0x8a, 0xfa, |
| 0xb0, 0x94, 0x1a, 0xc8, 0xa9, 0x37, 0x71, 0x3e, 0x9e, 0xd9, 0x99, 0x9d, 0x99, 0x7d, 0x04, 0x77, |
| 0xf6, 0xae, 0x33, 0x8d, 0x3a, 0xfa, 0x5e, 0xb0, 0x43, 0x3c, 0x9b, 0xf8, 0x84, 0xe9, 0x0d, 0x62, |
| 0x97, 0x1d, 0x4f, 0x97, 0x0a, 0xd3, 0xa5, 0xfa, 0x6e, 0xcd, 0x79, 0x6e, 0x39, 0xb6, 0xef, 0x39, |
| 0x35, 0xbd, 0xb1, 0x6c, 0xd6, 0xdc, 0xaa, 0xb9, 0xac, 0x57, 0x88, 0x4d, 0x3c, 0xd3, 0x27, 0x65, |
| 0xcd, 0xf5, 0x1c, 0xdf, 0x41, 0xa5, 0xd0, 0x41, 0x33, 0x5d, 0xaa, 0xb5, 0x39, 0x68, 0x91, 0xc3, |
| 0xe2, 0xc5, 0x0a, 0xf5, 0xab, 0xc1, 0x8e, 0x66, 0x39, 0x75, 0xbd, 0xe2, 0x54, 0x1c, 0x5d, 0xf8, |
| 0xed, 0x04, 0xbb, 0xe2, 0x4b, 0x7c, 0x88, 0x5f, 0x21, 0xde, 0xe2, 0x95, 0xe4, 0x00, 0x75, 0xd3, |
| 0xaa, 0x52, 0x9b, 0x78, 0xfb, 0xba, 0xbb, 0x57, 0xe1, 0x02, 0xa6, 0xd7, 0x89, 0x6f, 0xea, 0x8d, |
| 0xae, 0x53, 0x2c, 0xea, 0xfd, 0xbc, 0xbc, 0xc0, 0xf6, 0x69, 0x9d, 0x74, 0x39, 0x5c, 0x1b, 0xe4, |
| 0xc0, 0xac, 0x2a, 0xa9, 0x9b, 0x9d, 0x7e, 0xea, 0x63, 0x58, 0xf8, 0xb4, 0xe6, 0x3c, 0xbf, 0x45, |
| 0x99, 0x4f, 0xed, 0x4a, 0x40, 0x59, 0x95, 0x78, 0xeb, 0xc4, 0xaf, 0x3a, 0x65, 0x74, 0x13, 0xb2, |
| 0xfe, 0xbe, 0x4b, 0x0a, 0xca, 0x92, 0x72, 0x2e, 0x6f, 0x9c, 0x3f, 0x68, 0x96, 0x46, 0x5a, 0xcd, |
| 0x52, 0xf6, 0xc1, 0xbe, 0x4b, 0xde, 0x36, 0x4b, 0xa7, 0xfb, 0xb8, 0x71, 0x35, 0x16, 0x8e, 0xea, |
| 0xcb, 0x0c, 0x00, 0xb7, 0xda, 0x16, 0xa1, 0xd1, 0x53, 0x98, 0xe0, 0xe9, 0x96, 0x4d, 0xdf, 0x14, |
| 0x98, 0x93, 0x97, 0x2f, 0x69, 0x49, 0xb1, 0xe3, 0x53, 0x6b, 0xee, 0x5e, 0x85, 0x0b, 0x98, 0xc6, |
| 0xad, 0xb5, 0xc6, 0xb2, 0xf6, 0xd9, 0xce, 0x33, 0x62, 0xf9, 0xeb, 0xc4, 0x37, 0x0d, 0x24, 0x4f, |
| 0x01, 0x89, 0x0c, 0xc7, 0xa8, 0x68, 0x0b, 0xb2, 0xcc, 0x25, 0x56, 0x21, 0x23, 0xd0, 0x75, 0x6d, |
| 0xc0, 0x55, 0x6a, 0xc9, 0xe1, 0xb6, 0x5d, 0x62, 0x19, 0x53, 0x51, 0x8a, 0xfc, 0x0b, 0x0b, 0x28, |
| 0xf4, 0x05, 0x8c, 0x31, 0xdf, 0xf4, 0x03, 0x56, 0x18, 0x15, 0xa0, 0xcb, 0xef, 0x02, 0x2a, 0x1c, |
| 0x8d, 0x19, 0x09, 0x3b, 0x16, 0x7e, 0x63, 0x09, 0xa8, 0xbe, 0xce, 0xc0, 0x7c, 0x62, 0xbc, 0xea, |
| 0xd8, 0x65, 0xea, 0x53, 0xc7, 0x46, 0x37, 0x52, 0x75, 0x3f, 0xdb, 0x51, 0xf7, 0x85, 0x1e, 0x2e, |
| 0x49, 0xcd, 0xd1, 0x47, 0xf1, 0x79, 0x33, 0xc2, 0xfd, 0x4c, 0x3a, 0xf8, 0xdb, 0x66, 0x69, 0x36, |
| 0x76, 0x4b, 0x9f, 0x07, 0x35, 0x00, 0xd5, 0x4c, 0xe6, 0x3f, 0xf0, 0x4c, 0x9b, 0x85, 0xb0, 0xb4, |
| 0x4e, 0x64, 0xda, 0xff, 0x1f, 0xee, 0xa6, 0xb8, 0x87, 0xb1, 0x28, 0x43, 0xa2, 0xb5, 0x2e, 0x34, |
| 0xdc, 0x23, 0x02, 0xfa, 0x2f, 0x8c, 0x79, 0xc4, 0x64, 0x8e, 0x5d, 0xc8, 0x8a, 0x23, 0xc7, 0xf5, |
| 0xc2, 0x42, 0x8a, 0xa5, 0x16, 0xfd, 0x0f, 0xc6, 0xeb, 0x84, 0x31, 0xb3, 0x42, 0x0a, 0x39, 0x61, |
| 0x38, 0x2b, 0x0d, 0xc7, 0xd7, 0x43, 0x31, 0x8e, 0xf4, 0xea, 0xcf, 0x0a, 0xcc, 0x24, 0x75, 0x5a, |
| 0xa3, 0xcc, 0x47, 0x4f, 0xba, 0xba, 0x4f, 0x1b, 0x2e, 0x27, 0xee, 0x2d, 0x7a, 0x6f, 0x4e, 0x86, |
| 0x9b, 0x88, 0x24, 0x6d, 0x9d, 0xb7, 0x09, 0x39, 0xea, 0x93, 0x3a, 0xaf, 0xfa, 0xe8, 0xb9, 0xc9, |
| 0xcb, 0xe7, 0xdf, 0xa1, 0x4b, 0x8c, 0x69, 0x89, 0x9b, 0xbb, 0xcb, 0x11, 0x70, 0x08, 0xa4, 0xfe, |
| 0x3e, 0xda, 0x9e, 0x02, 0xef, 0x48, 0xf4, 0xa3, 0x02, 0x8b, 0xae, 0x47, 0x1d, 0x8f, 0xfa, 0xfb, |
| 0x6b, 0xa4, 0x41, 0x6a, 0xab, 0x8e, 0xbd, 0x4b, 0x2b, 0x81, 0x67, 0xf2, 0x5a, 0xca, 0xac, 0x6e, |
| 0x0d, 0x0c, 0xbd, 0xd9, 0x17, 0x02, 0x93, 0x5d, 0xe2, 0x11, 0xdb, 0x22, 0x86, 0x2a, 0xcf, 0xb4, |
| 0x78, 0x84, 0xf1, 0x11, 0x67, 0x41, 0xf7, 0x00, 0xd5, 0x4d, 0x9f, 0xd7, 0xb4, 0xb2, 0xe9, 0x11, |
| 0x8b, 0x94, 0x39, 0xaa, 0x68, 0xc9, 0x5c, 0xd2, 0x1f, 0xeb, 0x5d, 0x16, 0xb8, 0x87, 0x17, 0xfa, |
| 0x4e, 0x81, 0xf9, 0x72, 0xf7, 0xa2, 0x91, 0x9d, 0x79, 0x7d, 0xa8, 0x52, 0xf7, 0x58, 0x54, 0xc6, |
| 0x42, 0xab, 0x59, 0x9a, 0xef, 0xa1, 0xc0, 0xbd, 0xa2, 0xa1, 0x2f, 0x21, 0xe7, 0x05, 0x35, 0xc2, |
| 0x0a, 0x59, 0x71, 0xc3, 0x83, 0xc3, 0x6e, 0x3a, 0x35, 0x6a, 0xed, 0x63, 0xee, 0xf3, 0x39, 0xf5, |
| 0xab, 0xdb, 0x81, 0xd8, 0x58, 0x2c, 0xb9, 0x6e, 0xa1, 0xc2, 0x21, 0xaa, 0xfa, 0x02, 0xe6, 0x3a, |
| 0x17, 0x07, 0xaa, 0x02, 0x58, 0xd1, 0xac, 0xb2, 0x82, 0x22, 0xe2, 0x5e, 0x79, 0x87, 0xce, 0x8a, |
| 0x07, 0x3d, 0x59, 0x9b, 0xb1, 0x88, 0xe1, 0x36, 0x6c, 0xf5, 0x12, 0x4c, 0xdd, 0xf6, 0x9c, 0xc0, |
| 0x95, 0x87, 0x44, 0x4b, 0x90, 0xb5, 0xcd, 0x7a, 0xb4, 0x82, 0xe2, 0xbd, 0xb8, 0x61, 0xd6, 0x09, |
| 0x16, 0x1a, 0xf5, 0x07, 0x05, 0xa6, 0xd7, 0x68, 0x9d, 0xfa, 0x98, 0x30, 0xd7, 0xb1, 0x19, 0x41, |
| 0x57, 0x53, 0x6b, 0xeb, 0x4c, 0xc7, 0xda, 0x3a, 0x91, 0x32, 0x6e, 0x5b, 0x58, 0x4f, 0x60, 0xfc, |
| 0xab, 0x80, 0x04, 0xd4, 0xae, 0xc8, 0xb5, 0x7d, 0x75, 0x60, 0x86, 0x5b, 0xa1, 0x7d, 0xaa, 0xe3, |
| 0x8c, 0x49, 0xbe, 0x08, 0xa4, 0x06, 0x47, 0x90, 0xea, 0x1f, 0x0a, 0x9c, 0x11, 0x91, 0x49, 0xb9, |
| 0x7f, 0x27, 0xa3, 0x27, 0x50, 0x30, 0x19, 0x0b, 0x3c, 0x52, 0x5e, 0x75, 0x6c, 0x2b, 0xf0, 0xf8, |
| 0x0c, 0xec, 0x6f, 0x57, 0x4d, 0x8f, 0x30, 0x91, 0x4e, 0xce, 0x58, 0x92, 0xe9, 0x14, 0x56, 0xfa, |
| 0xd8, 0xe1, 0xbe, 0x08, 0x68, 0x0f, 0xa6, 0x6b, 0xed, 0xc9, 0xcb, 0x3c, 0xb5, 0x81, 0x79, 0xa6, |
| 0x4a, 0x66, 0x9c, 0x92, 0x47, 0x48, 0x97, 0x1d, 0xa7, 0xb1, 0xd5, 0xe7, 0x70, 0x6a, 0x83, 0x0f, |
| 0x32, 0x73, 0x02, 0xcf, 0x22, 0x49, 0x0f, 0xa2, 0x12, 0xe4, 0x1a, 0xc4, 0xdb, 0x09, 0xfb, 0x28, |
| 0x6f, 0xe4, 0x79, 0x07, 0x3e, 0xe2, 0x02, 0x1c, 0xca, 0xd1, 0xc7, 0x30, 0x6b, 0x27, 0x9e, 0x0f, |
| 0xf1, 0x1a, 0x2b, 0x8c, 0x09, 0xd3, 0xf9, 0x56, 0xb3, 0x34, 0xbb, 0x91, 0x56, 0xe1, 0x4e, 0x5b, |
| 0xf5, 0x30, 0x03, 0x0b, 0x7d, 0x5a, 0x1e, 0x3d, 0x82, 0x09, 0x26, 0x7f, 0xcb, 0x36, 0x3e, 0x37, |
| 0x30, 0x79, 0xe9, 0x9c, 0x6c, 0xdd, 0x08, 0x0d, 0xc7, 0x58, 0xc8, 0x85, 0x69, 0x4f, 0x9e, 0x41, |
| 0x04, 0x95, 0xdb, 0xf7, 0x83, 0x81, 0xe0, 0xdd, 0xf5, 0x49, 0xca, 0x8b, 0xdb, 0x11, 0x71, 0x3a, |
| 0x00, 0x7a, 0x01, 0x73, 0x6d, 0x89, 0x87, 0x41, 0x47, 0x45, 0xd0, 0x6b, 0x03, 0x83, 0xf6, 0xbc, |
| 0x17, 0xa3, 0x20, 0xe3, 0xce, 0x6d, 0x74, 0xe0, 0xe2, 0xae, 0x48, 0xea, 0xaf, 0x19, 0x38, 0x62, |
| 0x21, 0xbf, 0x07, 0x82, 0x65, 0xa6, 0x08, 0xd6, 0xcd, 0x63, 0x3c, 0x35, 0x7d, 0x09, 0x17, 0xed, |
| 0x20, 0x5c, 0x2b, 0xc7, 0x09, 0x72, 0x34, 0x01, 0xfb, 0x33, 0x03, 0xff, 0xe9, 0xef, 0x9c, 0x10, |
| 0xb2, 0xfb, 0xa9, 0xcd, 0xf6, 0x61, 0xc7, 0x66, 0x3b, 0x3b, 0x04, 0xc4, 0xbf, 0x04, 0xad, 0x83, |
| 0xa0, 0xbd, 0x51, 0xa0, 0xd8, 0xbf, 0x6e, 0xef, 0x81, 0xb0, 0x3d, 0x4d, 0x13, 0xb6, 0x1b, 0xc7, |
| 0xe8, 0xb2, 0x3e, 0x04, 0xee, 0xf6, 0x51, 0xcd, 0x15, 0x33, 0xad, 0x21, 0x9e, 0xda, 0x83, 0x23, |
| 0x6b, 0x25, 0x98, 0xe1, 0x80, 0xbf, 0x0c, 0x29, 0xef, 0x4f, 0x6c, 0x73, 0xa7, 0x46, 0xea, 0xc4, |
| 0xf6, 0x65, 0x47, 0x52, 0x18, 0xaf, 0x85, 0x4f, 0xa4, 0x9c, 0x6b, 0x63, 0xb8, 0x97, 0xe9, 0xa8, |
| 0x27, 0x35, 0x7c, 0x8e, 0xa5, 0x19, 0x8e, 0xf0, 0xd5, 0x97, 0x0a, 0x2c, 0x0d, 0x1a, 0x57, 0xf4, |
| 0x75, 0x0f, 0xda, 0x73, 0x1c, 0x56, 0x3b, 0x3c, 0x0d, 0xfa, 0x49, 0x81, 0x93, 0xbd, 0xc8, 0x05, |
| 0x9f, 0x00, 0xce, 0x28, 0x62, 0x3a, 0x10, 0x4f, 0xc0, 0x96, 0x90, 0x62, 0xa9, 0x45, 0x17, 0x60, |
| 0xa2, 0x6a, 0xda, 0xe5, 0x6d, 0xfa, 0x4d, 0x44, 0x76, 0xe3, 0x1e, 0xbc, 0x23, 0xe5, 0x38, 0xb6, |
| 0x40, 0xb7, 0x60, 0x4e, 0xf8, 0xad, 0x11, 0xbb, 0xe2, 0x57, 0x45, 0xb1, 0xc4, 0x34, 0xe7, 0x92, |
| 0x47, 0x61, 0xab, 0x43, 0x8f, 0xbb, 0x3c, 0xd4, 0xbf, 0x14, 0x40, 0xff, 0xe4, 0xbd, 0x3f, 0x0f, |
| 0x79, 0xd3, 0xa5, 0x82, 0xf6, 0x85, 0x53, 0x90, 0x37, 0xa6, 0x5b, 0xcd, 0x52, 0x7e, 0x65, 0xf3, |
| 0x6e, 0x28, 0xc4, 0x89, 0x9e, 0x1b, 0x47, 0x0f, 0x61, 0xf8, 0xe0, 0x49, 0xe3, 0x28, 0x30, 0xc3, |
| 0x89, 0x1e, 0x5d, 0x87, 0x29, 0xab, 0x16, 0x30, 0x9f, 0x78, 0xdb, 0x96, 0xe3, 0x12, 0xb1, 0x35, |
| 0x26, 0x8c, 0x93, 0x32, 0xa7, 0xa9, 0xd5, 0x36, 0x1d, 0x4e, 0x59, 0x22, 0x0d, 0x80, 0xb7, 0x3c, |
| 0x73, 0x4d, 0x1e, 0x27, 0x27, 0xe2, 0xcc, 0xf0, 0x0b, 0xdb, 0x88, 0xa5, 0xb8, 0xcd, 0x42, 0x7d, |
| 0x06, 0xa7, 0xb6, 0x89, 0xd7, 0xa0, 0x16, 0x59, 0xb1, 0x2c, 0x27, 0xb0, 0xfd, 0x88, 0xc0, 0xea, |
| 0x90, 0x8f, 0xcd, 0xe4, 0x54, 0x9c, 0x90, 0xf1, 0xf3, 0x31, 0x16, 0x4e, 0x6c, 0xe2, 0x31, 0xcc, |
| 0xf4, 0x1d, 0xc3, 0x5f, 0x32, 0x30, 0x9e, 0xc0, 0x67, 0xf7, 0xa8, 0x5d, 0x96, 0xc8, 0xa7, 0x23, |
| 0xeb, 0xfb, 0xd4, 0x2e, 0xbf, 0x6d, 0x96, 0x26, 0xa5, 0x19, 0xff, 0xc4, 0xc2, 0x10, 0xdd, 0x83, |
| 0x6c, 0xc0, 0x88, 0x27, 0x07, 0xec, 0xc2, 0xc0, 0x6e, 0x7e, 0xc8, 0x88, 0x17, 0x31, 0xa0, 0x09, |
| 0x0e, 0xcd, 0x05, 0x58, 0x60, 0xa0, 0x0d, 0xc8, 0x55, 0xf8, 0xad, 0xc8, 0xcd, 0x7f, 0x71, 0x20, |
| 0x58, 0x3b, 0xb5, 0x0f, 0x1b, 0x41, 0x48, 0x70, 0x08, 0x83, 0x3c, 0x98, 0x61, 0xa9, 0x22, 0x8a, |
| 0x0b, 0x1b, 0x86, 0xd1, 0xf4, 0xac, 0xbd, 0x81, 0x5a, 0xcd, 0xd2, 0x4c, 0x5a, 0x85, 0x3b, 0x22, |
| 0xa8, 0x3a, 0x4c, 0xb6, 0xa5, 0x38, 0x78, 0x09, 0x1a, 0xda, 0xc1, 0x61, 0x71, 0xe4, 0xd5, 0x61, |
| 0x71, 0xe4, 0xf5, 0x61, 0x71, 0xe4, 0xdb, 0x56, 0x51, 0x39, 0x68, 0x15, 0x95, 0x57, 0xad, 0xa2, |
| 0xf2, 0xba, 0x55, 0x54, 0xde, 0xb4, 0x8a, 0xca, 0xf7, 0xbf, 0x15, 0x47, 0x1e, 0x4f, 0x44, 0x47, |
| 0xfb, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xe7, 0xb3, 0x17, 0x48, 0x11, 0x14, 0x00, 0x00, |
| } |
| |
| func (m *FlowDistinguisherMethod) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *FlowDistinguisherMethod) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *FlowDistinguisherMethod) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| i -= len(m.Type) |
| copy(dAtA[i:], m.Type) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *FlowSchema) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *FlowSchema) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *FlowSchema) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| { |
| size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x1a |
| { |
| size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x12 |
| { |
| size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *FlowSchemaCondition) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *FlowSchemaCondition) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *FlowSchemaCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| i -= len(m.Message) |
| copy(dAtA[i:], m.Message) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| i-- |
| dAtA[i] = 0x2a |
| i -= len(m.Reason) |
| copy(dAtA[i:], m.Reason) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| i-- |
| dAtA[i] = 0x22 |
| { |
| size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x1a |
| i -= len(m.Status) |
| copy(dAtA[i:], m.Status) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| i-- |
| dAtA[i] = 0x12 |
| i -= len(m.Type) |
| copy(dAtA[i:], m.Type) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *FlowSchemaList) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *FlowSchemaList) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *FlowSchemaList) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| if len(m.Items) > 0 { |
| for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { |
| { |
| size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x12 |
| } |
| } |
| { |
| size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *FlowSchemaSpec) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *FlowSchemaSpec) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *FlowSchemaSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| if len(m.Rules) > 0 { |
| for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { |
| { |
| size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x22 |
| } |
| } |
| if m.DistinguisherMethod != nil { |
| { |
| size, err := m.DistinguisherMethod.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x1a |
| } |
| i = encodeVarintGenerated(dAtA, i, uint64(m.MatchingPrecedence)) |
| i-- |
| dAtA[i] = 0x10 |
| { |
| size, err := m.PriorityLevelConfiguration.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *FlowSchemaStatus) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *FlowSchemaStatus) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *FlowSchemaStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| if len(m.Conditions) > 0 { |
| for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { |
| { |
| size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0xa |
| } |
| } |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *GroupSubject) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *GroupSubject) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *GroupSubject) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| i -= len(m.Name) |
| copy(dAtA[i:], m.Name) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *LimitResponse) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *LimitResponse) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *LimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| if m.Queuing != nil { |
| { |
| size, err := m.Queuing.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x12 |
| } |
| i -= len(m.Type) |
| copy(dAtA[i:], m.Type) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *LimitedPriorityLevelConfiguration) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *LimitedPriorityLevelConfiguration) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *LimitedPriorityLevelConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| { |
| size, err := m.LimitResponse.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x12 |
| i = encodeVarintGenerated(dAtA, i, uint64(m.AssuredConcurrencyShares)) |
| i-- |
| dAtA[i] = 0x8 |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *NonResourcePolicyRule) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *NonResourcePolicyRule) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *NonResourcePolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| if len(m.NonResourceURLs) > 0 { |
| for iNdEx := len(m.NonResourceURLs) - 1; iNdEx >= 0; iNdEx-- { |
| i -= len(m.NonResourceURLs[iNdEx]) |
| copy(dAtA[i:], m.NonResourceURLs[iNdEx]) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.NonResourceURLs[iNdEx]))) |
| i-- |
| dAtA[i] = 0x32 |
| } |
| } |
| if len(m.Verbs) > 0 { |
| for iNdEx := len(m.Verbs) - 1; iNdEx >= 0; iNdEx-- { |
| i -= len(m.Verbs[iNdEx]) |
| copy(dAtA[i:], m.Verbs[iNdEx]) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Verbs[iNdEx]))) |
| i-- |
| dAtA[i] = 0xa |
| } |
| } |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *PolicyRulesWithSubjects) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *PolicyRulesWithSubjects) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *PolicyRulesWithSubjects) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| if len(m.NonResourceRules) > 0 { |
| for iNdEx := len(m.NonResourceRules) - 1; iNdEx >= 0; iNdEx-- { |
| { |
| size, err := m.NonResourceRules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x1a |
| } |
| } |
| if len(m.ResourceRules) > 0 { |
| for iNdEx := len(m.ResourceRules) - 1; iNdEx >= 0; iNdEx-- { |
| { |
| size, err := m.ResourceRules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x12 |
| } |
| } |
| if len(m.Subjects) > 0 { |
| for iNdEx := len(m.Subjects) - 1; iNdEx >= 0; iNdEx-- { |
| { |
| size, err := m.Subjects[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0xa |
| } |
| } |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *PriorityLevelConfiguration) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *PriorityLevelConfiguration) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *PriorityLevelConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| { |
| size, err := m.Status.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x1a |
| { |
| size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x12 |
| { |
| size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *PriorityLevelConfigurationCondition) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *PriorityLevelConfigurationCondition) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *PriorityLevelConfigurationCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| i -= len(m.Message) |
| copy(dAtA[i:], m.Message) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message))) |
| i-- |
| dAtA[i] = 0x2a |
| i -= len(m.Reason) |
| copy(dAtA[i:], m.Reason) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason))) |
| i-- |
| dAtA[i] = 0x22 |
| { |
| size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x1a |
| i -= len(m.Status) |
| copy(dAtA[i:], m.Status) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) |
| i-- |
| dAtA[i] = 0x12 |
| i -= len(m.Type) |
| copy(dAtA[i:], m.Type) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *PriorityLevelConfigurationList) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *PriorityLevelConfigurationList) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *PriorityLevelConfigurationList) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| if len(m.Items) > 0 { |
| for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { |
| { |
| size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x12 |
| } |
| } |
| { |
| size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *PriorityLevelConfigurationReference) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *PriorityLevelConfigurationReference) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *PriorityLevelConfigurationReference) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| i -= len(m.Name) |
| copy(dAtA[i:], m.Name) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *PriorityLevelConfigurationSpec) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *PriorityLevelConfigurationSpec) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *PriorityLevelConfigurationSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| if m.Limited != nil { |
| { |
| size, err := m.Limited.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x12 |
| } |
| i -= len(m.Type) |
| copy(dAtA[i:], m.Type) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *PriorityLevelConfigurationStatus) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *PriorityLevelConfigurationStatus) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *PriorityLevelConfigurationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| if len(m.Conditions) > 0 { |
| for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- { |
| { |
| size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0xa |
| } |
| } |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *QueuingConfiguration) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *QueuingConfiguration) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *QueuingConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| i = encodeVarintGenerated(dAtA, i, uint64(m.QueueLengthLimit)) |
| i-- |
| dAtA[i] = 0x18 |
| i = encodeVarintGenerated(dAtA, i, uint64(m.HandSize)) |
| i-- |
| dAtA[i] = 0x10 |
| i = encodeVarintGenerated(dAtA, i, uint64(m.Queues)) |
| i-- |
| dAtA[i] = 0x8 |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *ResourcePolicyRule) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *ResourcePolicyRule) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *ResourcePolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| if len(m.Namespaces) > 0 { |
| for iNdEx := len(m.Namespaces) - 1; iNdEx >= 0; iNdEx-- { |
| i -= len(m.Namespaces[iNdEx]) |
| copy(dAtA[i:], m.Namespaces[iNdEx]) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespaces[iNdEx]))) |
| i-- |
| dAtA[i] = 0x2a |
| } |
| } |
| i-- |
| if m.ClusterScope { |
| dAtA[i] = 1 |
| } else { |
| dAtA[i] = 0 |
| } |
| i-- |
| dAtA[i] = 0x20 |
| if len(m.Resources) > 0 { |
| for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- { |
| i -= len(m.Resources[iNdEx]) |
| copy(dAtA[i:], m.Resources[iNdEx]) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resources[iNdEx]))) |
| i-- |
| dAtA[i] = 0x1a |
| } |
| } |
| if len(m.APIGroups) > 0 { |
| for iNdEx := len(m.APIGroups) - 1; iNdEx >= 0; iNdEx-- { |
| i -= len(m.APIGroups[iNdEx]) |
| copy(dAtA[i:], m.APIGroups[iNdEx]) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIGroups[iNdEx]))) |
| i-- |
| dAtA[i] = 0x12 |
| } |
| } |
| if len(m.Verbs) > 0 { |
| for iNdEx := len(m.Verbs) - 1; iNdEx >= 0; iNdEx-- { |
| i -= len(m.Verbs[iNdEx]) |
| copy(dAtA[i:], m.Verbs[iNdEx]) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Verbs[iNdEx]))) |
| i-- |
| dAtA[i] = 0xa |
| } |
| } |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *ServiceAccountSubject) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *ServiceAccountSubject) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *ServiceAccountSubject) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| i -= len(m.Name) |
| copy(dAtA[i:], m.Name) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| i-- |
| dAtA[i] = 0x12 |
| i -= len(m.Namespace) |
| copy(dAtA[i:], m.Namespace) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace))) |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *Subject) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *Subject) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *Subject) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| if m.ServiceAccount != nil { |
| { |
| size, err := m.ServiceAccount.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x22 |
| } |
| if m.Group != nil { |
| { |
| size, err := m.Group.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x1a |
| } |
| if m.User != nil { |
| { |
| size, err := m.User.MarshalToSizedBuffer(dAtA[:i]) |
| if err != nil { |
| return 0, err |
| } |
| i -= size |
| i = encodeVarintGenerated(dAtA, i, uint64(size)) |
| } |
| i-- |
| dAtA[i] = 0x12 |
| } |
| i -= len(m.Kind) |
| copy(dAtA[i:], m.Kind) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind))) |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func (m *UserSubject) Marshal() (dAtA []byte, err error) { |
| size := m.Size() |
| dAtA = make([]byte, size) |
| n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| if err != nil { |
| return nil, err |
| } |
| return dAtA[:n], nil |
| } |
| |
| func (m *UserSubject) MarshalTo(dAtA []byte) (int, error) { |
| size := m.Size() |
| return m.MarshalToSizedBuffer(dAtA[:size]) |
| } |
| |
| func (m *UserSubject) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| i := len(dAtA) |
| _ = i |
| var l int |
| _ = l |
| i -= len(m.Name) |
| copy(dAtA[i:], m.Name) |
| i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name))) |
| i-- |
| dAtA[i] = 0xa |
| return len(dAtA) - i, nil |
| } |
| |
| func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { |
| offset -= sovGenerated(v) |
| base := offset |
| for v >= 1<<7 { |
| dAtA[offset] = uint8(v&0x7f | 0x80) |
| v >>= 7 |
| offset++ |
| } |
| dAtA[offset] = uint8(v) |
| return base |
| } |
| func (m *FlowDistinguisherMethod) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = len(m.Type) |
| n += 1 + l + sovGenerated(uint64(l)) |
| return n |
| } |
| |
| func (m *FlowSchema) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = m.ObjectMeta.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| l = m.Spec.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| l = m.Status.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| return n |
| } |
| |
| func (m *FlowSchemaCondition) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = len(m.Type) |
| n += 1 + l + sovGenerated(uint64(l)) |
| l = len(m.Status) |
| n += 1 + l + sovGenerated(uint64(l)) |
| l = m.LastTransitionTime.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| l = len(m.Reason) |
| n += 1 + l + sovGenerated(uint64(l)) |
| l = len(m.Message) |
| n += 1 + l + sovGenerated(uint64(l)) |
| return n |
| } |
| |
| func (m *FlowSchemaList) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = m.ListMeta.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| if len(m.Items) > 0 { |
| for _, e := range m.Items { |
| l = e.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| return n |
| } |
| |
| func (m *FlowSchemaSpec) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = m.PriorityLevelConfiguration.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| n += 1 + sovGenerated(uint64(m.MatchingPrecedence)) |
| if m.DistinguisherMethod != nil { |
| l = m.DistinguisherMethod.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| if len(m.Rules) > 0 { |
| for _, e := range m.Rules { |
| l = e.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| return n |
| } |
| |
| func (m *FlowSchemaStatus) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| if len(m.Conditions) > 0 { |
| for _, e := range m.Conditions { |
| l = e.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| return n |
| } |
| |
| func (m *GroupSubject) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = len(m.Name) |
| n += 1 + l + sovGenerated(uint64(l)) |
| return n |
| } |
| |
| func (m *LimitResponse) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = len(m.Type) |
| n += 1 + l + sovGenerated(uint64(l)) |
| if m.Queuing != nil { |
| l = m.Queuing.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| return n |
| } |
| |
| func (m *LimitedPriorityLevelConfiguration) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| n += 1 + sovGenerated(uint64(m.AssuredConcurrencyShares)) |
| l = m.LimitResponse.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| return n |
| } |
| |
| func (m *NonResourcePolicyRule) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| if len(m.Verbs) > 0 { |
| for _, s := range m.Verbs { |
| l = len(s) |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| if len(m.NonResourceURLs) > 0 { |
| for _, s := range m.NonResourceURLs { |
| l = len(s) |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| return n |
| } |
| |
| func (m *PolicyRulesWithSubjects) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| if len(m.Subjects) > 0 { |
| for _, e := range m.Subjects { |
| l = e.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| if len(m.ResourceRules) > 0 { |
| for _, e := range m.ResourceRules { |
| l = e.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| if len(m.NonResourceRules) > 0 { |
| for _, e := range m.NonResourceRules { |
| l = e.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| return n |
| } |
| |
| func (m *PriorityLevelConfiguration) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = m.ObjectMeta.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| l = m.Spec.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| l = m.Status.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| return n |
| } |
| |
| func (m *PriorityLevelConfigurationCondition) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = len(m.Type) |
| n += 1 + l + sovGenerated(uint64(l)) |
| l = len(m.Status) |
| n += 1 + l + sovGenerated(uint64(l)) |
| l = m.LastTransitionTime.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| l = len(m.Reason) |
| n += 1 + l + sovGenerated(uint64(l)) |
| l = len(m.Message) |
| n += 1 + l + sovGenerated(uint64(l)) |
| return n |
| } |
| |
| func (m *PriorityLevelConfigurationList) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = m.ListMeta.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| if len(m.Items) > 0 { |
| for _, e := range m.Items { |
| l = e.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| return n |
| } |
| |
| func (m *PriorityLevelConfigurationReference) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = len(m.Name) |
| n += 1 + l + sovGenerated(uint64(l)) |
| return n |
| } |
| |
| func (m *PriorityLevelConfigurationSpec) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = len(m.Type) |
| n += 1 + l + sovGenerated(uint64(l)) |
| if m.Limited != nil { |
| l = m.Limited.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| return n |
| } |
| |
| func (m *PriorityLevelConfigurationStatus) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| if len(m.Conditions) > 0 { |
| for _, e := range m.Conditions { |
| l = e.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| return n |
| } |
| |
| func (m *QueuingConfiguration) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| n += 1 + sovGenerated(uint64(m.Queues)) |
| n += 1 + sovGenerated(uint64(m.HandSize)) |
| n += 1 + sovGenerated(uint64(m.QueueLengthLimit)) |
| return n |
| } |
| |
| func (m *ResourcePolicyRule) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| if len(m.Verbs) > 0 { |
| for _, s := range m.Verbs { |
| l = len(s) |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| if len(m.APIGroups) > 0 { |
| for _, s := range m.APIGroups { |
| l = len(s) |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| if len(m.Resources) > 0 { |
| for _, s := range m.Resources { |
| l = len(s) |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| n += 2 |
| if len(m.Namespaces) > 0 { |
| for _, s := range m.Namespaces { |
| l = len(s) |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| } |
| return n |
| } |
| |
| func (m *ServiceAccountSubject) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = len(m.Namespace) |
| n += 1 + l + sovGenerated(uint64(l)) |
| l = len(m.Name) |
| n += 1 + l + sovGenerated(uint64(l)) |
| return n |
| } |
| |
| func (m *Subject) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = len(m.Kind) |
| n += 1 + l + sovGenerated(uint64(l)) |
| if m.User != nil { |
| l = m.User.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| if m.Group != nil { |
| l = m.Group.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| if m.ServiceAccount != nil { |
| l = m.ServiceAccount.Size() |
| n += 1 + l + sovGenerated(uint64(l)) |
| } |
| return n |
| } |
| |
| func (m *UserSubject) Size() (n int) { |
| if m == nil { |
| return 0 |
| } |
| var l int |
| _ = l |
| l = len(m.Name) |
| n += 1 + l + sovGenerated(uint64(l)) |
| return n |
| } |
| |
| func sovGenerated(x uint64) (n int) { |
| return (math_bits.Len64(x|1) + 6) / 7 |
| } |
| func sozGenerated(x uint64) (n int) { |
| return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) |
| } |
| func (this *FlowDistinguisherMethod) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&FlowDistinguisherMethod{`, |
| `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *FlowSchema) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&FlowSchema{`, |
| `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "FlowSchemaSpec", "FlowSchemaSpec", 1), `&`, ``, 1) + `,`, |
| `Status:` + strings.Replace(strings.Replace(this.Status.String(), "FlowSchemaStatus", "FlowSchemaStatus", 1), `&`, ``, 1) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *FlowSchemaCondition) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&FlowSchemaCondition{`, |
| `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| `Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| `LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`, |
| `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| `Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *FlowSchemaList) String() string { |
| if this == nil { |
| return "nil" |
| } |
| repeatedStringForItems := "[]FlowSchema{" |
| for _, f := range this.Items { |
| repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "FlowSchema", "FlowSchema", 1), `&`, ``, 1) + "," |
| } |
| repeatedStringForItems += "}" |
| s := strings.Join([]string{`&FlowSchemaList{`, |
| `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| `Items:` + repeatedStringForItems + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *FlowSchemaSpec) String() string { |
| if this == nil { |
| return "nil" |
| } |
| repeatedStringForRules := "[]PolicyRulesWithSubjects{" |
| for _, f := range this.Rules { |
| repeatedStringForRules += strings.Replace(strings.Replace(f.String(), "PolicyRulesWithSubjects", "PolicyRulesWithSubjects", 1), `&`, ``, 1) + "," |
| } |
| repeatedStringForRules += "}" |
| s := strings.Join([]string{`&FlowSchemaSpec{`, |
| `PriorityLevelConfiguration:` + strings.Replace(strings.Replace(this.PriorityLevelConfiguration.String(), "PriorityLevelConfigurationReference", "PriorityLevelConfigurationReference", 1), `&`, ``, 1) + `,`, |
| `MatchingPrecedence:` + fmt.Sprintf("%v", this.MatchingPrecedence) + `,`, |
| `DistinguisherMethod:` + strings.Replace(this.DistinguisherMethod.String(), "FlowDistinguisherMethod", "FlowDistinguisherMethod", 1) + `,`, |
| `Rules:` + repeatedStringForRules + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *FlowSchemaStatus) String() string { |
| if this == nil { |
| return "nil" |
| } |
| repeatedStringForConditions := "[]FlowSchemaCondition{" |
| for _, f := range this.Conditions { |
| repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "FlowSchemaCondition", "FlowSchemaCondition", 1), `&`, ``, 1) + "," |
| } |
| repeatedStringForConditions += "}" |
| s := strings.Join([]string{`&FlowSchemaStatus{`, |
| `Conditions:` + repeatedStringForConditions + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *GroupSubject) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&GroupSubject{`, |
| `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *LimitResponse) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&LimitResponse{`, |
| `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| `Queuing:` + strings.Replace(this.Queuing.String(), "QueuingConfiguration", "QueuingConfiguration", 1) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *LimitedPriorityLevelConfiguration) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&LimitedPriorityLevelConfiguration{`, |
| `AssuredConcurrencyShares:` + fmt.Sprintf("%v", this.AssuredConcurrencyShares) + `,`, |
| `LimitResponse:` + strings.Replace(strings.Replace(this.LimitResponse.String(), "LimitResponse", "LimitResponse", 1), `&`, ``, 1) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *NonResourcePolicyRule) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&NonResourcePolicyRule{`, |
| `Verbs:` + fmt.Sprintf("%v", this.Verbs) + `,`, |
| `NonResourceURLs:` + fmt.Sprintf("%v", this.NonResourceURLs) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *PolicyRulesWithSubjects) String() string { |
| if this == nil { |
| return "nil" |
| } |
| repeatedStringForSubjects := "[]Subject{" |
| for _, f := range this.Subjects { |
| repeatedStringForSubjects += strings.Replace(strings.Replace(f.String(), "Subject", "Subject", 1), `&`, ``, 1) + "," |
| } |
| repeatedStringForSubjects += "}" |
| repeatedStringForResourceRules := "[]ResourcePolicyRule{" |
| for _, f := range this.ResourceRules { |
| repeatedStringForResourceRules += strings.Replace(strings.Replace(f.String(), "ResourcePolicyRule", "ResourcePolicyRule", 1), `&`, ``, 1) + "," |
| } |
| repeatedStringForResourceRules += "}" |
| repeatedStringForNonResourceRules := "[]NonResourcePolicyRule{" |
| for _, f := range this.NonResourceRules { |
| repeatedStringForNonResourceRules += strings.Replace(strings.Replace(f.String(), "NonResourcePolicyRule", "NonResourcePolicyRule", 1), `&`, ``, 1) + "," |
| } |
| repeatedStringForNonResourceRules += "}" |
| s := strings.Join([]string{`&PolicyRulesWithSubjects{`, |
| `Subjects:` + repeatedStringForSubjects + `,`, |
| `ResourceRules:` + repeatedStringForResourceRules + `,`, |
| `NonResourceRules:` + repeatedStringForNonResourceRules + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *PriorityLevelConfiguration) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&PriorityLevelConfiguration{`, |
| `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`, |
| `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PriorityLevelConfigurationSpec", "PriorityLevelConfigurationSpec", 1), `&`, ``, 1) + `,`, |
| `Status:` + strings.Replace(strings.Replace(this.Status.String(), "PriorityLevelConfigurationStatus", "PriorityLevelConfigurationStatus", 1), `&`, ``, 1) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *PriorityLevelConfigurationCondition) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&PriorityLevelConfigurationCondition{`, |
| `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| `Status:` + fmt.Sprintf("%v", this.Status) + `,`, |
| `LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`, |
| `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, |
| `Message:` + fmt.Sprintf("%v", this.Message) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *PriorityLevelConfigurationList) String() string { |
| if this == nil { |
| return "nil" |
| } |
| repeatedStringForItems := "[]PriorityLevelConfiguration{" |
| for _, f := range this.Items { |
| repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "PriorityLevelConfiguration", "PriorityLevelConfiguration", 1), `&`, ``, 1) + "," |
| } |
| repeatedStringForItems += "}" |
| s := strings.Join([]string{`&PriorityLevelConfigurationList{`, |
| `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`, |
| `Items:` + repeatedStringForItems + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *PriorityLevelConfigurationReference) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&PriorityLevelConfigurationReference{`, |
| `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *PriorityLevelConfigurationSpec) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&PriorityLevelConfigurationSpec{`, |
| `Type:` + fmt.Sprintf("%v", this.Type) + `,`, |
| `Limited:` + strings.Replace(this.Limited.String(), "LimitedPriorityLevelConfiguration", "LimitedPriorityLevelConfiguration", 1) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *PriorityLevelConfigurationStatus) String() string { |
| if this == nil { |
| return "nil" |
| } |
| repeatedStringForConditions := "[]PriorityLevelConfigurationCondition{" |
| for _, f := range this.Conditions { |
| repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "PriorityLevelConfigurationCondition", "PriorityLevelConfigurationCondition", 1), `&`, ``, 1) + "," |
| } |
| repeatedStringForConditions += "}" |
| s := strings.Join([]string{`&PriorityLevelConfigurationStatus{`, |
| `Conditions:` + repeatedStringForConditions + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *QueuingConfiguration) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&QueuingConfiguration{`, |
| `Queues:` + fmt.Sprintf("%v", this.Queues) + `,`, |
| `HandSize:` + fmt.Sprintf("%v", this.HandSize) + `,`, |
| `QueueLengthLimit:` + fmt.Sprintf("%v", this.QueueLengthLimit) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *ResourcePolicyRule) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&ResourcePolicyRule{`, |
| `Verbs:` + fmt.Sprintf("%v", this.Verbs) + `,`, |
| `APIGroups:` + fmt.Sprintf("%v", this.APIGroups) + `,`, |
| `Resources:` + fmt.Sprintf("%v", this.Resources) + `,`, |
| `ClusterScope:` + fmt.Sprintf("%v", this.ClusterScope) + `,`, |
| `Namespaces:` + fmt.Sprintf("%v", this.Namespaces) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *ServiceAccountSubject) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&ServiceAccountSubject{`, |
| `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`, |
| `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *Subject) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&Subject{`, |
| `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, |
| `User:` + strings.Replace(this.User.String(), "UserSubject", "UserSubject", 1) + `,`, |
| `Group:` + strings.Replace(this.Group.String(), "GroupSubject", "GroupSubject", 1) + `,`, |
| `ServiceAccount:` + strings.Replace(this.ServiceAccount.String(), "ServiceAccountSubject", "ServiceAccountSubject", 1) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func (this *UserSubject) String() string { |
| if this == nil { |
| return "nil" |
| } |
| s := strings.Join([]string{`&UserSubject{`, |
| `Name:` + fmt.Sprintf("%v", this.Name) + `,`, |
| `}`, |
| }, "") |
| return s |
| } |
| func valueToStringGenerated(v interface{}) string { |
| rv := reflect.ValueOf(v) |
| if rv.IsNil() { |
| return "nil" |
| } |
| pv := reflect.Indirect(rv).Interface() |
| return fmt.Sprintf("*%v", pv) |
| } |
| func (m *FlowDistinguisherMethod) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: FlowDistinguisherMethod: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: FlowDistinguisherMethod: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Type = FlowDistinguisherMethodType(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *FlowSchema) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: FlowSchema: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: FlowSchema: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 2: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 3: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *FlowSchemaCondition) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: FlowSchemaCondition: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: FlowSchemaCondition: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Type = FlowSchemaConditionType(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| case 2: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Status = ConditionStatus(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| case 3: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 4: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Reason = string(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| case 5: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Message = string(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *FlowSchemaList) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: FlowSchemaList: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: FlowSchemaList: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 2: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Items = append(m.Items, FlowSchema{}) |
| if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *FlowSchemaSpec) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: FlowSchemaSpec: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: FlowSchemaSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field PriorityLevelConfiguration", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if err := m.PriorityLevelConfiguration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 2: |
| if wireType != 0 { |
| return fmt.Errorf("proto: wrong wireType = %d for field MatchingPrecedence", wireType) |
| } |
| m.MatchingPrecedence = 0 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| m.MatchingPrecedence |= int32(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| case 3: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field DistinguisherMethod", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if m.DistinguisherMethod == nil { |
| m.DistinguisherMethod = &FlowDistinguisherMethod{} |
| } |
| if err := m.DistinguisherMethod.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 4: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Rules = append(m.Rules, PolicyRulesWithSubjects{}) |
| if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *FlowSchemaStatus) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: FlowSchemaStatus: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: FlowSchemaStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Conditions = append(m.Conditions, FlowSchemaCondition{}) |
| if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *GroupSubject) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: GroupSubject: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: GroupSubject: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Name = string(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *LimitResponse) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: LimitResponse: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: LimitResponse: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Type = LimitResponseType(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| case 2: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Queuing", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if m.Queuing == nil { |
| m.Queuing = &QueuingConfiguration{} |
| } |
| if err := m.Queuing.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *LimitedPriorityLevelConfiguration) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: LimitedPriorityLevelConfiguration: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: LimitedPriorityLevelConfiguration: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 0 { |
| return fmt.Errorf("proto: wrong wireType = %d for field AssuredConcurrencyShares", wireType) |
| } |
| m.AssuredConcurrencyShares = 0 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| m.AssuredConcurrencyShares |= int32(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| case 2: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field LimitResponse", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if err := m.LimitResponse.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *NonResourcePolicyRule) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: NonResourcePolicyRule: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: NonResourcePolicyRule: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Verbs = append(m.Verbs, string(dAtA[iNdEx:postIndex])) |
| iNdEx = postIndex |
| case 6: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field NonResourceURLs", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.NonResourceURLs = append(m.NonResourceURLs, string(dAtA[iNdEx:postIndex])) |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *PolicyRulesWithSubjects) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: PolicyRulesWithSubjects: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: PolicyRulesWithSubjects: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Subjects", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Subjects = append(m.Subjects, Subject{}) |
| if err := m.Subjects[len(m.Subjects)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 2: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field ResourceRules", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.ResourceRules = append(m.ResourceRules, ResourcePolicyRule{}) |
| if err := m.ResourceRules[len(m.ResourceRules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 3: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field NonResourceRules", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.NonResourceRules = append(m.NonResourceRules, NonResourcePolicyRule{}) |
| if err := m.NonResourceRules[len(m.NonResourceRules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *PriorityLevelConfiguration) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: PriorityLevelConfiguration: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: PriorityLevelConfiguration: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 2: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 3: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *PriorityLevelConfigurationCondition) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: PriorityLevelConfigurationCondition: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: PriorityLevelConfigurationCondition: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Type = PriorityLevelConfigurationConditionType(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| case 2: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Status = ConditionStatus(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| case 3: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 4: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Reason = string(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| case 5: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Message = string(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *PriorityLevelConfigurationList) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: PriorityLevelConfigurationList: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: PriorityLevelConfigurationList: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 2: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Items = append(m.Items, PriorityLevelConfiguration{}) |
| if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *PriorityLevelConfigurationReference) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: PriorityLevelConfigurationReference: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: PriorityLevelConfigurationReference: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Name = string(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *PriorityLevelConfigurationSpec) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: PriorityLevelConfigurationSpec: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: PriorityLevelConfigurationSpec: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Type = PriorityLevelEnablement(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| case 2: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Limited", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if m.Limited == nil { |
| m.Limited = &LimitedPriorityLevelConfiguration{} |
| } |
| if err := m.Limited.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *PriorityLevelConfigurationStatus) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: PriorityLevelConfigurationStatus: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: PriorityLevelConfigurationStatus: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Conditions = append(m.Conditions, PriorityLevelConfigurationCondition{}) |
| if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *QueuingConfiguration) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: QueuingConfiguration: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: QueuingConfiguration: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 0 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Queues", wireType) |
| } |
| m.Queues = 0 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| m.Queues |= int32(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| case 2: |
| if wireType != 0 { |
| return fmt.Errorf("proto: wrong wireType = %d for field HandSize", wireType) |
| } |
| m.HandSize = 0 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| m.HandSize |= int32(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| case 3: |
| if wireType != 0 { |
| return fmt.Errorf("proto: wrong wireType = %d for field QueueLengthLimit", wireType) |
| } |
| m.QueueLengthLimit = 0 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| m.QueueLengthLimit |= int32(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *ResourcePolicyRule) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: ResourcePolicyRule: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: ResourcePolicyRule: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Verbs = append(m.Verbs, string(dAtA[iNdEx:postIndex])) |
| iNdEx = postIndex |
| case 2: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field APIGroups", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.APIGroups = append(m.APIGroups, string(dAtA[iNdEx:postIndex])) |
| iNdEx = postIndex |
| case 3: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Resources = append(m.Resources, string(dAtA[iNdEx:postIndex])) |
| iNdEx = postIndex |
| case 4: |
| if wireType != 0 { |
| return fmt.Errorf("proto: wrong wireType = %d for field ClusterScope", wireType) |
| } |
| var v int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| v |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| m.ClusterScope = bool(v != 0) |
| case 5: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Namespaces", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Namespaces = append(m.Namespaces, string(dAtA[iNdEx:postIndex])) |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *ServiceAccountSubject) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: ServiceAccountSubject: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: ServiceAccountSubject: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Namespace = string(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| case 2: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Name = string(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *Subject) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: Subject: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: Subject: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Kind = SubjectKind(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| case 2: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field User", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if m.User == nil { |
| m.User = &UserSubject{} |
| } |
| if err := m.User.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 3: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if m.Group == nil { |
| m.Group = &GroupSubject{} |
| } |
| if err := m.Group.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| case 4: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field ServiceAccount", wireType) |
| } |
| var msglen int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| msglen |= int(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if msglen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + msglen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| if m.ServiceAccount == nil { |
| m.ServiceAccount = &ServiceAccountSubject{} |
| } |
| if err := m.ServiceAccount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { |
| return err |
| } |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func (m *UserSubject) Unmarshal(dAtA []byte) error { |
| l := len(dAtA) |
| iNdEx := 0 |
| for iNdEx < l { |
| preIndex := iNdEx |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| fieldNum := int32(wire >> 3) |
| wireType := int(wire & 0x7) |
| if wireType == 4 { |
| return fmt.Errorf("proto: UserSubject: wiretype end group for non-group") |
| } |
| if fieldNum <= 0 { |
| return fmt.Errorf("proto: UserSubject: illegal tag %d (wire type %d)", fieldNum, wire) |
| } |
| switch fieldNum { |
| case 1: |
| if wireType != 2 { |
| return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) |
| } |
| var stringLen uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| stringLen |= uint64(b&0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| intStringLen := int(stringLen) |
| if intStringLen < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| postIndex := iNdEx + intStringLen |
| if postIndex < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if postIndex > l { |
| return io.ErrUnexpectedEOF |
| } |
| m.Name = string(dAtA[iNdEx:postIndex]) |
| iNdEx = postIndex |
| default: |
| iNdEx = preIndex |
| skippy, err := skipGenerated(dAtA[iNdEx:]) |
| if err != nil { |
| return err |
| } |
| if skippy < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) < 0 { |
| return ErrInvalidLengthGenerated |
| } |
| if (iNdEx + skippy) > l { |
| return io.ErrUnexpectedEOF |
| } |
| iNdEx += skippy |
| } |
| } |
| |
| if iNdEx > l { |
| return io.ErrUnexpectedEOF |
| } |
| return nil |
| } |
| func skipGenerated(dAtA []byte) (n int, err error) { |
| l := len(dAtA) |
| iNdEx := 0 |
| depth := 0 |
| for iNdEx < l { |
| var wire uint64 |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return 0, ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return 0, io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| wire |= (uint64(b) & 0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| wireType := int(wire & 0x7) |
| switch wireType { |
| case 0: |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return 0, ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return 0, io.ErrUnexpectedEOF |
| } |
| iNdEx++ |
| if dAtA[iNdEx-1] < 0x80 { |
| break |
| } |
| } |
| case 1: |
| iNdEx += 8 |
| case 2: |
| var length int |
| for shift := uint(0); ; shift += 7 { |
| if shift >= 64 { |
| return 0, ErrIntOverflowGenerated |
| } |
| if iNdEx >= l { |
| return 0, io.ErrUnexpectedEOF |
| } |
| b := dAtA[iNdEx] |
| iNdEx++ |
| length |= (int(b) & 0x7F) << shift |
| if b < 0x80 { |
| break |
| } |
| } |
| if length < 0 { |
| return 0, ErrInvalidLengthGenerated |
| } |
| iNdEx += length |
| case 3: |
| depth++ |
| case 4: |
| if depth == 0 { |
| return 0, ErrUnexpectedEndOfGroupGenerated |
| } |
| depth-- |
| case 5: |
| iNdEx += 4 |
| default: |
| return 0, fmt.Errorf("proto: illegal wireType %d", wireType) |
| } |
| if iNdEx < 0 { |
| return 0, ErrInvalidLengthGenerated |
| } |
| if depth == 0 { |
| return iNdEx, nil |
| } |
| } |
| return 0, io.ErrUnexpectedEOF |
| } |
| |
| var ( |
| ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") |
| ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") |
| ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") |
| ) |