github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/extensions/compression/gzip/decompressor/v3/gzip.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/gzip/decompressor/v3/gzip.proto
     6  
     7  package envoy_extensions_compression_gzip_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 Gzip struct {
    32  	state         protoimpl.MessageState
    33  	sizeCache     protoimpl.SizeCache
    34  	unknownFields protoimpl.UnknownFields
    35  
    36  	// Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
    37  	// The decompression window size needs to be equal or larger than the compression window size.
    38  	// The default window size is 15.
    39  	// This is so that the decompressor can decompress a response compressed by a compressor with any compression window size.
    40  	// For more details about this parameter, please refer to `zlib manual <https://www.zlib.net/manual.html>`_ > inflateInit2.
    41  	WindowBits *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=window_bits,json=windowBits,proto3" json:"window_bits,omitempty"`
    42  	// Value for zlib's decompressor output buffer. If not set, defaults to 4096.
    43  	// See https://www.zlib.net/manual.html for more details.
    44  	ChunkSize *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"`
    45  }
    46  
    47  func (x *Gzip) Reset() {
    48  	*x = Gzip{}
    49  	if protoimpl.UnsafeEnabled {
    50  		mi := &file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_msgTypes[0]
    51  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    52  		ms.StoreMessageInfo(mi)
    53  	}
    54  }
    55  
    56  func (x *Gzip) String() string {
    57  	return protoimpl.X.MessageStringOf(x)
    58  }
    59  
    60  func (*Gzip) ProtoMessage() {}
    61  
    62  func (x *Gzip) ProtoReflect() protoreflect.Message {
    63  	mi := &file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_msgTypes[0]
    64  	if protoimpl.UnsafeEnabled && x != nil {
    65  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    66  		if ms.LoadMessageInfo() == nil {
    67  			ms.StoreMessageInfo(mi)
    68  		}
    69  		return ms
    70  	}
    71  	return mi.MessageOf(x)
    72  }
    73  
    74  // Deprecated: Use Gzip.ProtoReflect.Descriptor instead.
    75  func (*Gzip) Descriptor() ([]byte, []int) {
    76  	return file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_rawDescGZIP(), []int{0}
    77  }
    78  
    79  func (x *Gzip) GetWindowBits() *wrappers.UInt32Value {
    80  	if x != nil {
    81  		return x.WindowBits
    82  	}
    83  	return nil
    84  }
    85  
    86  func (x *Gzip) GetChunkSize() *wrappers.UInt32Value {
    87  	if x != nil {
    88  		return x.ChunkSize
    89  	}
    90  	return nil
    91  }
    92  
    93  var File_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto protoreflect.FileDescriptor
    94  
    95  var file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_rawDesc = []byte{
    96  	0x0a, 0x3c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
    97  	0x6e, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67,
    98  	0x7a, 0x69, 0x70, 0x2f, 0x64, 0x65, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x6f, 0x72,
    99  	0x2f, 0x76, 0x33, 0x2f, 0x67, 0x7a, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x31,
   100  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
   101  	0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x7a, 0x69,
   102  	0x70, 0x2e, 0x64, 0x65, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x2e, 0x76,
   103  	0x33, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   104  	0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   105  	0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
   106  	0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   107  	0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64,
   108  	0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9b, 0x01, 0x0a, 0x04, 0x47, 0x7a,
   109  	0x69, 0x70, 0x12, 0x48, 0x0a, 0x0b, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x62, 0x69, 0x74,
   110  	0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   111  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32,
   112  	0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x09, 0xfa, 0x42, 0x06, 0x2a, 0x04, 0x18, 0x0f, 0x28, 0x09,
   113  	0x52, 0x0a, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x42, 0x69, 0x74, 0x73, 0x12, 0x49, 0x0a, 0x0a,
   114  	0x63, 0x68, 0x75, 0x6e, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
   115  	0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   116  	0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c,
   117  	0xfa, 0x42, 0x09, 0x2a, 0x07, 0x18, 0x80, 0x80, 0x04, 0x28, 0x80, 0x20, 0x52, 0x09, 0x63, 0x68,
   118  	0x75, 0x6e, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x42, 0x56, 0x0a, 0x3f, 0x69, 0x6f, 0x2e, 0x65, 0x6e,
   119  	0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65,
   120  	0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x72, 0x65,
   121  	0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x7a, 0x69, 0x70, 0x2e, 0x64, 0x65, 0x63, 0x6f, 0x6d,
   122  	0x70, 0x72, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x47, 0x7a, 0x69, 0x70,
   123  	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62,
   124  	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   125  }
   126  
   127  var (
   128  	file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_rawDescOnce sync.Once
   129  	file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_rawDescData = file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_rawDesc
   130  )
   131  
   132  func file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_rawDescGZIP() []byte {
   133  	file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_rawDescOnce.Do(func() {
   134  		file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_rawDescData)
   135  	})
   136  	return file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_rawDescData
   137  }
   138  
   139  var file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   140  var file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_goTypes = []interface{}{
   141  	(*Gzip)(nil),                 // 0: envoy.extensions.compression.gzip.decompressor.v3.Gzip
   142  	(*wrappers.UInt32Value)(nil), // 1: google.protobuf.UInt32Value
   143  }
   144  var file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_depIdxs = []int32{
   145  	1, // 0: envoy.extensions.compression.gzip.decompressor.v3.Gzip.window_bits:type_name -> google.protobuf.UInt32Value
   146  	1, // 1: envoy.extensions.compression.gzip.decompressor.v3.Gzip.chunk_size:type_name -> google.protobuf.UInt32Value
   147  	2, // [2:2] is the sub-list for method output_type
   148  	2, // [2:2] is the sub-list for method input_type
   149  	2, // [2:2] is the sub-list for extension type_name
   150  	2, // [2:2] is the sub-list for extension extendee
   151  	0, // [0:2] is the sub-list for field type_name
   152  }
   153  
   154  func init() { file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_init() }
   155  func file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_init() {
   156  	if File_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto != nil {
   157  		return
   158  	}
   159  	if !protoimpl.UnsafeEnabled {
   160  		file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   161  			switch v := v.(*Gzip); i {
   162  			case 0:
   163  				return &v.state
   164  			case 1:
   165  				return &v.sizeCache
   166  			case 2:
   167  				return &v.unknownFields
   168  			default:
   169  				return nil
   170  			}
   171  		}
   172  	}
   173  	type x struct{}
   174  	out := protoimpl.TypeBuilder{
   175  		File: protoimpl.DescBuilder{
   176  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   177  			RawDescriptor: file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_rawDesc,
   178  			NumEnums:      0,
   179  			NumMessages:   1,
   180  			NumExtensions: 0,
   181  			NumServices:   0,
   182  		},
   183  		GoTypes:           file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_goTypes,
   184  		DependencyIndexes: file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_depIdxs,
   185  		MessageInfos:      file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_msgTypes,
   186  	}.Build()
   187  	File_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto = out.File
   188  	file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_rawDesc = nil
   189  	file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_goTypes = nil
   190  	file_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto_depIdxs = nil
   191  }