Debian Codegraph @

envoy/config/core/v3/backoff.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/config/core/v3/backoff.proto
6
7 package corev3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 _ "github.com/envoyproxy/protoc-gen-validate/validate"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 durationpb "google.golang.org/protobuf/types/known/durationpb"
15 reflect "reflect"
16 sync "sync"
17 )
18
19 const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26 // Configuration defining a jittered exponential back off strategy.
27 type BackoffStrategy struct {
28 state protoimpl.MessageState
29 sizeCache protoimpl.SizeCache
30 unknownFields protoimpl.UnknownFields
31
32 // The base interval to be used for the next back off computation. It should
33 // be greater than zero and less than or equal to :ref:`max_interval
34 // <envoy_v3_api_field_config.core.v3.BackoffStrategy.max_interval>`.
35 BaseInterval *durationpb.Duration `protobuf:"bytes,1,opt,name=base_interval,json=baseInterval,proto3" json:"base_interval,omitempty"`
36 // Specifies the maximum interval between retries. This parameter is optional,
37 // but must be greater than or equal to the :ref:`base_interval
38 // <envoy_v3_api_field_config.core.v3.BackoffStrategy.base_interval>` if set. The default
39 // is 10 times the :ref:`base_interval
40 // <envoy_v3_api_field_config.core.v3.BackoffStrategy.base_interval>`.
41 MaxInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=max_interval,json=maxInterval,proto3" json:"max_interval,omitempty"`
42 }
43
44 func (x *BackoffStrategy) Reset() {
45 *x = BackoffStrategy{}
46 if protoimpl.UnsafeEnabled {
47 mi := &file_envoy_config_core_v3_backoff_proto_msgTypes[0]
48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
49 ms.StoreMessageInfo(mi)
50 }
51 }
52
53 func (x *BackoffStrategy) String() string {
54 return protoimpl.X.MessageStringOf(x)
55 }
56
57 func (*BackoffStrategy) ProtoMessage() {}
58
59 func (x *BackoffStrategy) ProtoReflect() protoreflect.Message {
60 mi := &file_envoy_config_core_v3_backoff_proto_msgTypes[0]
61 if protoimpl.UnsafeEnabled && x != nil {
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 if ms.LoadMessageInfo() == nil {
64 ms.StoreMessageInfo(mi)
65 }
66 return ms
67 }
68 return mi.MessageOf(x)
69 }
70
71 // Deprecated: Use BackoffStrategy.ProtoReflect.Descriptor instead.
72 func (*BackoffStrategy) Descriptor() ([]byte, []int) {
73 return file_envoy_config_core_v3_backoff_proto_rawDescGZIP(), []int{0}
74 }
75
76 func (x *BackoffStrategy) GetBaseInterval() *durationpb.Duration {
77 if x != nil {
78 return x.BaseInterval
79 }
80 return nil
81 }
82
83 func (x *BackoffStrategy) GetMaxInterval() *durationpb.Duration {
84 if x != nil {
85 return x.MaxInterval
86 }
87 return nil
88 }
89
90 var File_envoy_config_core_v3_backoff_proto protoreflect.FileDescriptor
91
92 var file_envoy_config_core_v3_backoff_proto_rawDesc = []byte{
93 0x0a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63,
94 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x2e, 0x70,
95 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
96 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67,
97 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61,
98 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61,
99 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61,
100 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f,
101 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73,
102 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61,
103 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e,
104 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3, 0x01, 0x0a, 0x0f, 0x42, 0x61, 0x63, 0x6b, 0x6f, 0x66,
105 0x66, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x4e, 0x0a, 0x0d, 0x62, 0x61, 0x73,
106 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
107 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
108 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0e, 0xfa, 0x42, 0x0b,
109 0xaa, 0x01, 0x08, 0x08, 0x01, 0x32, 0x04, 0x10, 0xc0, 0x84, 0x3d, 0x52, 0x0c, 0x62, 0x61, 0x73,
110 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x46, 0x0a, 0x0c, 0x6d, 0x61, 0x78,
111 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
112 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
113 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0xaa,
114 0x01, 0x02, 0x2a, 0x00, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
115 0x6c, 0x3a, 0x28, 0x9a, 0xc5, 0x88, 0x1e, 0x23, 0x0a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
116 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x42, 0x61, 0x63, 0x6b,
117 0x6f, 0x66, 0x66, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x42, 0x80, 0x01, 0xba, 0x80,
118 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x22, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
119 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
120 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0c, 0x42, 0x61, 0x63, 0x6b,
121 0x6f, 0x66, 0x66, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68,
122 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78,
123 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61,
124 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f,
125 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x3b, 0x63, 0x6f, 0x72, 0x65, 0x76, 0x33, 0x62, 0x06,
126 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
127 }
128
129 var (
130 file_envoy_config_core_v3_backoff_proto_rawDescOnce sync.Once
131 file_envoy_config_core_v3_backoff_proto_rawDescData = file_envoy_config_core_v3_backoff_proto_rawDesc
132 )
133
134 func file_envoy_config_core_v3_backoff_proto_rawDescGZIP() []byte {
135 file_envoy_config_core_v3_backoff_proto_rawDescOnce.Do(func() {
136 file_envoy_config_core_v3_backoff_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_core_v3_backoff_proto_rawDescData)
137 })
138 return file_envoy_config_core_v3_backoff_proto_rawDescData
139 }
140
141 var file_envoy_config_core_v3_backoff_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
142 var file_envoy_config_core_v3_backoff_proto_goTypes = []interface{}{
143 (*BackoffStrategy)(nil), // 0: envoy.config.core.v3.BackoffStrategy
144 (*durationpb.Duration)(nil), // 1: google.protobuf.Duration
145 }
146 var file_envoy_config_core_v3_backoff_proto_depIdxs = []int32{
147 1, // 0: envoy.config.core.v3.BackoffStrategy.base_interval:type_name -> google.protobuf.Duration
148 1, // 1: envoy.config.core.v3.BackoffStrategy.max_interval:type_name -> google.protobuf.Duration
149 2, // [2:2] is the sub-list for method output_type
150 2, // [2:2] is the sub-list for method input_type
151 2, // [2:2] is the sub-list for extension type_name
152 2, // [2:2] is the sub-list for extension extendee
153 0, // [0:2] is the sub-list for field type_name
154 }
155
156 func init() { file_envoy_config_core_v3_backoff_proto_init() }
157 func file_envoy_config_core_v3_backoff_proto_init() {
158 if File_envoy_config_core_v3_backoff_proto != nil {
159 return
160 }
161 if !protoimpl.UnsafeEnabled {
162 file_envoy_config_core_v3_backoff_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
163 switch v := v.(*BackoffStrategy); i {
164 case 0:
165 return &v.state
166 case 1:
167 return &v.sizeCache
168 case 2:
169 return &v.unknownFields
170 default:
171 return nil
172 }
173 }
174 }
175 type x struct{}
176 out := protoimpl.TypeBuilder{
177 File: protoimpl.DescBuilder{
178 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
179 RawDescriptor: file_envoy_config_core_v3_backoff_proto_rawDesc,
180 NumEnums: 0,
181 NumMessages: 1,
182 NumExtensions: 0,
183 NumServices: 0,
184 },
185 GoTypes: file_envoy_config_core_v3_backoff_proto_goTypes,
186 DependencyIndexes: file_envoy_config_core_v3_backoff_proto_depIdxs,
187 MessageInfos: file_envoy_config_core_v3_backoff_proto_msgTypes,
188 }.Build()
189 File_envoy_config_core_v3_backoff_proto = out.File
190 file_envoy_config_core_v3_backoff_proto_rawDesc = nil
191 file_envoy_config_core_v3_backoff_proto_goTypes = nil
192 file_envoy_config_core_v3_backoff_proto_depIdxs = nil
193 }