github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/extensions/compression/brotli/decompressor/v3/brotli.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/extensions/compression/brotli/decompressor/v3/brotli.proto 6 7 package envoy_extensions_compression_brotli_decompressor_v3 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "github.com/envoyproxy/protoc-gen-validate/validate" 12 proto "github.com/golang/protobuf/proto" 13 wrappers "github.com/golang/protobuf/ptypes/wrappers" 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 reflect "reflect" 17 sync "sync" 18 ) 19 20 const ( 21 // Verify that this generated code is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 23 // Verify that runtime/protoimpl is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 25 ) 26 27 // This is a compile-time assertion that a sufficiently up-to-date version 28 // of the legacy proto package is being used. 29 const _ = proto.ProtoPackageIsVersion4 30 31 type Brotli struct { 32 state protoimpl.MessageState 33 sizeCache protoimpl.SizeCache 34 unknownFields protoimpl.UnknownFields 35 36 // If true, disables "canny" ring buffer allocation strategy. 37 // Ring buffer is allocated according to window size, despite the real size of the content. 38 DisableRingBufferReallocation bool `protobuf:"varint,1,opt,name=disable_ring_buffer_reallocation,json=disableRingBufferReallocation,proto3" json:"disable_ring_buffer_reallocation,omitempty"` 39 // Value for decompressor's next output buffer. If not set, defaults to 4096. 40 ChunkSize *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"` 41 } 42 43 func (x *Brotli) Reset() { 44 *x = Brotli{} 45 if protoimpl.UnsafeEnabled { 46 mi := &file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_msgTypes[0] 47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 48 ms.StoreMessageInfo(mi) 49 } 50 } 51 52 func (x *Brotli) String() string { 53 return protoimpl.X.MessageStringOf(x) 54 } 55 56 func (*Brotli) ProtoMessage() {} 57 58 func (x *Brotli) ProtoReflect() protoreflect.Message { 59 mi := &file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_msgTypes[0] 60 if protoimpl.UnsafeEnabled && x != nil { 61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 62 if ms.LoadMessageInfo() == nil { 63 ms.StoreMessageInfo(mi) 64 } 65 return ms 66 } 67 return mi.MessageOf(x) 68 } 69 70 // Deprecated: Use Brotli.ProtoReflect.Descriptor instead. 71 func (*Brotli) Descriptor() ([]byte, []int) { 72 return file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_rawDescGZIP(), []int{0} 73 } 74 75 func (x *Brotli) GetDisableRingBufferReallocation() bool { 76 if x != nil { 77 return x.DisableRingBufferReallocation 78 } 79 return false 80 } 81 82 func (x *Brotli) GetChunkSize() *wrappers.UInt32Value { 83 if x != nil { 84 return x.ChunkSize 85 } 86 return nil 87 } 88 89 var File_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto protoreflect.FileDescriptor 90 91 var file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_rawDesc = []byte{ 92 0x0a, 0x40, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 93 0x6e, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x62, 94 0x72, 0x6f, 0x74, 0x6c, 0x69, 0x2f, 0x64, 0x65, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 95 0x6f, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x72, 0x6f, 0x74, 0x6c, 0x69, 0x2e, 0x70, 0x72, 0x6f, 96 0x74, 0x6f, 0x12, 0x33, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 97 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 98 0x2e, 0x62, 0x72, 0x6f, 0x74, 0x6c, 0x69, 0x2e, 0x64, 0x65, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 99 0x73, 0x73, 0x6f, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 100 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 101 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 102 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 103 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 104 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 105 0x9c, 0x01, 0x0a, 0x06, 0x42, 0x72, 0x6f, 0x74, 0x6c, 0x69, 0x12, 0x47, 0x0a, 0x20, 0x64, 0x69, 106 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x65, 107 0x72, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 108 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x69, 0x6e, 109 0x67, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x52, 0x65, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 110 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x0a, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 111 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 112 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 113 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c, 0xfa, 0x42, 0x09, 0x2a, 0x07, 0x18, 0x80, 0x80, 0x04, 114 0x28, 0x80, 0x20, 0x52, 0x09, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x42, 0x5a, 115 0x0a, 0x41, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 116 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 117 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x62, 0x72, 0x6f, 118 0x74, 0x6c, 0x69, 0x2e, 0x64, 0x65, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x6f, 0x72, 119 0x2e, 0x76, 0x33, 0x42, 0x0b, 0x42, 0x72, 0x6f, 0x74, 0x6c, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 120 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 121 0x6f, 0x33, 122 } 123 124 var ( 125 file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_rawDescOnce sync.Once 126 file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_rawDescData = file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_rawDesc 127 ) 128 129 func file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_rawDescGZIP() []byte { 130 file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_rawDescOnce.Do(func() { 131 file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_rawDescData) 132 }) 133 return file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_rawDescData 134 } 135 136 var file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 137 var file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_goTypes = []interface{}{ 138 (*Brotli)(nil), // 0: envoy.extensions.compression.brotli.decompressor.v3.Brotli 139 (*wrappers.UInt32Value)(nil), // 1: google.protobuf.UInt32Value 140 } 141 var file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_depIdxs = []int32{ 142 1, // 0: envoy.extensions.compression.brotli.decompressor.v3.Brotli.chunk_size:type_name -> google.protobuf.UInt32Value 143 1, // [1:1] is the sub-list for method output_type 144 1, // [1:1] is the sub-list for method input_type 145 1, // [1:1] is the sub-list for extension type_name 146 1, // [1:1] is the sub-list for extension extendee 147 0, // [0:1] is the sub-list for field type_name 148 } 149 150 func init() { file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_init() } 151 func file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_init() { 152 if File_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto != nil { 153 return 154 } 155 if !protoimpl.UnsafeEnabled { 156 file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 157 switch v := v.(*Brotli); i { 158 case 0: 159 return &v.state 160 case 1: 161 return &v.sizeCache 162 case 2: 163 return &v.unknownFields 164 default: 165 return nil 166 } 167 } 168 } 169 type x struct{} 170 out := protoimpl.TypeBuilder{ 171 File: protoimpl.DescBuilder{ 172 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 173 RawDescriptor: file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_rawDesc, 174 NumEnums: 0, 175 NumMessages: 1, 176 NumExtensions: 0, 177 NumServices: 0, 178 }, 179 GoTypes: file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_goTypes, 180 DependencyIndexes: file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_depIdxs, 181 MessageInfos: file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_msgTypes, 182 }.Build() 183 File_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto = out.File 184 file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_rawDesc = nil 185 file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_goTypes = nil 186 file_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto_depIdxs = nil 187 }