github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/extensions/matching/common_inputs/environment_variable/v3/input.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/matching/common_inputs/environment_variable/v3/input.proto
     6  
     7  package envoy_extensions_matching_common_inputs_environment_variable_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  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    14  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    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  // This is a compile-time assertion that a sufficiently up-to-date version
    27  // of the legacy proto package is being used.
    28  const _ = proto.ProtoPackageIsVersion4
    29  
    30  // Reads an environment variable to provide an input for matching.
    31  type Config struct {
    32  	state         protoimpl.MessageState
    33  	sizeCache     protoimpl.SizeCache
    34  	unknownFields protoimpl.UnknownFields
    35  
    36  	// Name of the environment variable to read from.
    37  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    38  }
    39  
    40  func (x *Config) Reset() {
    41  	*x = Config{}
    42  	if protoimpl.UnsafeEnabled {
    43  		mi := &file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_msgTypes[0]
    44  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    45  		ms.StoreMessageInfo(mi)
    46  	}
    47  }
    48  
    49  func (x *Config) String() string {
    50  	return protoimpl.X.MessageStringOf(x)
    51  }
    52  
    53  func (*Config) ProtoMessage() {}
    54  
    55  func (x *Config) ProtoReflect() protoreflect.Message {
    56  	mi := &file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_msgTypes[0]
    57  	if protoimpl.UnsafeEnabled && x != nil {
    58  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    59  		if ms.LoadMessageInfo() == nil {
    60  			ms.StoreMessageInfo(mi)
    61  		}
    62  		return ms
    63  	}
    64  	return mi.MessageOf(x)
    65  }
    66  
    67  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
    68  func (*Config) Descriptor() ([]byte, []int) {
    69  	return file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_rawDescGZIP(), []int{0}
    70  }
    71  
    72  func (x *Config) GetName() string {
    73  	if x != nil {
    74  		return x.Name
    75  	}
    76  	return ""
    77  }
    78  
    79  var File_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto protoreflect.FileDescriptor
    80  
    81  var file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_rawDesc = []byte{
    82  	0x0a, 0x4b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
    83  	0x6e, 0x73, 0x2f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6f, 0x6d, 0x6d,
    84  	0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f,
    85  	0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x2f, 0x76,
    86  	0x33, 0x2f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3f, 0x65,
    87  	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
    88  	0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f,
    89  	0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65,
    90  	0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1d,
    91  	0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
    92  	0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76,
    93  	0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
    94  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x25, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
    95  	0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
    96  	0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x65, 0x0a,
    97  	0x4d, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65,
    98  	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
    99  	0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f,
   100  	0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65,
   101  	0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0a,
   102  	0x49, 0x6e, 0x70, 0x75, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1,
   103  	0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   104  }
   105  
   106  var (
   107  	file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_rawDescOnce sync.Once
   108  	file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_rawDescData = file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_rawDesc
   109  )
   110  
   111  func file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_rawDescGZIP() []byte {
   112  	file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_rawDescOnce.Do(func() {
   113  		file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_rawDescData)
   114  	})
   115  	return file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_rawDescData
   116  }
   117  
   118  var file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   119  var file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_goTypes = []interface{}{
   120  	(*Config)(nil), // 0: envoy.extensions.matching.common_inputs.environment_variable.v3.Config
   121  }
   122  var file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_depIdxs = []int32{
   123  	0, // [0:0] is the sub-list for method output_type
   124  	0, // [0:0] is the sub-list for method input_type
   125  	0, // [0:0] is the sub-list for extension type_name
   126  	0, // [0:0] is the sub-list for extension extendee
   127  	0, // [0:0] is the sub-list for field type_name
   128  }
   129  
   130  func init() { file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_init() }
   131  func file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_init() {
   132  	if File_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto != nil {
   133  		return
   134  	}
   135  	if !protoimpl.UnsafeEnabled {
   136  		file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   137  			switch v := v.(*Config); i {
   138  			case 0:
   139  				return &v.state
   140  			case 1:
   141  				return &v.sizeCache
   142  			case 2:
   143  				return &v.unknownFields
   144  			default:
   145  				return nil
   146  			}
   147  		}
   148  	}
   149  	type x struct{}
   150  	out := protoimpl.TypeBuilder{
   151  		File: protoimpl.DescBuilder{
   152  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   153  			RawDescriptor: file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_rawDesc,
   154  			NumEnums:      0,
   155  			NumMessages:   1,
   156  			NumExtensions: 0,
   157  			NumServices:   0,
   158  		},
   159  		GoTypes:           file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_goTypes,
   160  		DependencyIndexes: file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_depIdxs,
   161  		MessageInfos:      file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_msgTypes,
   162  	}.Build()
   163  	File_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto = out.File
   164  	file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_rawDesc = nil
   165  	file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_goTypes = nil
   166  	file_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto_depIdxs = nil
   167  }