...

Source file src/github.com/emissary-ingress/emissary/v3/pkg/api/envoy/annotations/resource.pb.go

Documentation: github.com/emissary-ingress/emissary/v3/pkg/api/envoy/annotations

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.1
     4  // 	protoc        v3.21.12
     5  // source: envoy/annotations/resource.proto
     6  
     7  package annotations
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	descriptorpb "google.golang.org/protobuf/types/descriptorpb"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type ResourceAnnotation struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	// Annotation for xDS services that indicates the fully-qualified Protobuf type for the resource
    30  	// type.
    31  	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
    32  }
    33  
    34  func (x *ResourceAnnotation) Reset() {
    35  	*x = ResourceAnnotation{}
    36  	if protoimpl.UnsafeEnabled {
    37  		mi := &file_envoy_annotations_resource_proto_msgTypes[0]
    38  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    39  		ms.StoreMessageInfo(mi)
    40  	}
    41  }
    42  
    43  func (x *ResourceAnnotation) String() string {
    44  	return protoimpl.X.MessageStringOf(x)
    45  }
    46  
    47  func (*ResourceAnnotation) ProtoMessage() {}
    48  
    49  func (x *ResourceAnnotation) ProtoReflect() protoreflect.Message {
    50  	mi := &file_envoy_annotations_resource_proto_msgTypes[0]
    51  	if protoimpl.UnsafeEnabled && x != nil {
    52  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    53  		if ms.LoadMessageInfo() == nil {
    54  			ms.StoreMessageInfo(mi)
    55  		}
    56  		return ms
    57  	}
    58  	return mi.MessageOf(x)
    59  }
    60  
    61  // Deprecated: Use ResourceAnnotation.ProtoReflect.Descriptor instead.
    62  func (*ResourceAnnotation) Descriptor() ([]byte, []int) {
    63  	return file_envoy_annotations_resource_proto_rawDescGZIP(), []int{0}
    64  }
    65  
    66  func (x *ResourceAnnotation) GetType() string {
    67  	if x != nil {
    68  		return x.Type
    69  	}
    70  	return ""
    71  }
    72  
    73  var file_envoy_annotations_resource_proto_extTypes = []protoimpl.ExtensionInfo{
    74  	{
    75  		ExtendedType:  (*descriptorpb.ServiceOptions)(nil),
    76  		ExtensionType: (*ResourceAnnotation)(nil),
    77  		Field:         265073217,
    78  		Name:          "envoy.annotations.resource",
    79  		Tag:           "bytes,265073217,opt,name=resource",
    80  		Filename:      "envoy/annotations/resource.proto",
    81  	},
    82  }
    83  
    84  // Extension fields to descriptorpb.ServiceOptions.
    85  var (
    86  	// optional envoy.annotations.ResourceAnnotation resource = 265073217;
    87  	E_Resource = &file_envoy_annotations_resource_proto_extTypes[0]
    88  )
    89  
    90  var File_envoy_annotations_resource_proto protoreflect.FileDescriptor
    91  
    92  var file_envoy_annotations_resource_proto_rawDesc = []byte{
    93  	0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
    94  	0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
    95  	0x74, 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
    96  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
    97  	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
    98  	0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x28, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x6f, 0x75,
    99  	0x72, 0x63, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
   100  	0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
   101  	0x65, 0x3a, 0x65, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1f, 0x2e,
   102  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
   103  	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xc1,
   104  	0xe4, 0xb2, 0x7e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
   105  	0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x6f,
   106  	0x75, 0x72, 0x63, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08,
   107  	0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68,
   108  	0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78,
   109  	0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61,
   110  	0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
   111  	0x69, 0x6f, 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   112  }
   113  
   114  var (
   115  	file_envoy_annotations_resource_proto_rawDescOnce sync.Once
   116  	file_envoy_annotations_resource_proto_rawDescData = file_envoy_annotations_resource_proto_rawDesc
   117  )
   118  
   119  func file_envoy_annotations_resource_proto_rawDescGZIP() []byte {
   120  	file_envoy_annotations_resource_proto_rawDescOnce.Do(func() {
   121  		file_envoy_annotations_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_annotations_resource_proto_rawDescData)
   122  	})
   123  	return file_envoy_annotations_resource_proto_rawDescData
   124  }
   125  
   126  var file_envoy_annotations_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   127  var file_envoy_annotations_resource_proto_goTypes = []interface{}{
   128  	(*ResourceAnnotation)(nil),          // 0: envoy.annotations.ResourceAnnotation
   129  	(*descriptorpb.ServiceOptions)(nil), // 1: google.protobuf.ServiceOptions
   130  }
   131  var file_envoy_annotations_resource_proto_depIdxs = []int32{
   132  	1, // 0: envoy.annotations.resource:extendee -> google.protobuf.ServiceOptions
   133  	0, // 1: envoy.annotations.resource:type_name -> envoy.annotations.ResourceAnnotation
   134  	2, // [2:2] is the sub-list for method output_type
   135  	2, // [2:2] is the sub-list for method input_type
   136  	1, // [1:2] is the sub-list for extension type_name
   137  	0, // [0:1] is the sub-list for extension extendee
   138  	0, // [0:0] is the sub-list for field type_name
   139  }
   140  
   141  func init() { file_envoy_annotations_resource_proto_init() }
   142  func file_envoy_annotations_resource_proto_init() {
   143  	if File_envoy_annotations_resource_proto != nil {
   144  		return
   145  	}
   146  	if !protoimpl.UnsafeEnabled {
   147  		file_envoy_annotations_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   148  			switch v := v.(*ResourceAnnotation); i {
   149  			case 0:
   150  				return &v.state
   151  			case 1:
   152  				return &v.sizeCache
   153  			case 2:
   154  				return &v.unknownFields
   155  			default:
   156  				return nil
   157  			}
   158  		}
   159  	}
   160  	type x struct{}
   161  	out := protoimpl.TypeBuilder{
   162  		File: protoimpl.DescBuilder{
   163  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   164  			RawDescriptor: file_envoy_annotations_resource_proto_rawDesc,
   165  			NumEnums:      0,
   166  			NumMessages:   1,
   167  			NumExtensions: 1,
   168  			NumServices:   0,
   169  		},
   170  		GoTypes:           file_envoy_annotations_resource_proto_goTypes,
   171  		DependencyIndexes: file_envoy_annotations_resource_proto_depIdxs,
   172  		MessageInfos:      file_envoy_annotations_resource_proto_msgTypes,
   173  		ExtensionInfos:    file_envoy_annotations_resource_proto_extTypes,
   174  	}.Build()
   175  	File_envoy_annotations_resource_proto = out.File
   176  	file_envoy_annotations_resource_proto_rawDesc = nil
   177  	file_envoy_annotations_resource_proto_goTypes = nil
   178  	file_envoy_annotations_resource_proto_depIdxs = nil
   179  }
   180  

View as plain text