github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/transport/internet/headers/srtp/config.pb.go (about)

     1  package srtp
     2  
     3  import (
     4  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
     5  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
     6  	reflect "reflect"
     7  	sync "sync"
     8  )
     9  
    10  const (
    11  	// Verify that this generated code is sufficiently up-to-date.
    12  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    13  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    14  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    15  )
    16  
    17  type Config struct {
    18  	state         protoimpl.MessageState
    19  	sizeCache     protoimpl.SizeCache
    20  	unknownFields protoimpl.UnknownFields
    21  
    22  	Version     uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
    23  	Padding     bool   `protobuf:"varint,2,opt,name=padding,proto3" json:"padding,omitempty"`
    24  	Extension   bool   `protobuf:"varint,3,opt,name=extension,proto3" json:"extension,omitempty"`
    25  	CsrcCount   uint32 `protobuf:"varint,4,opt,name=csrc_count,json=csrcCount,proto3" json:"csrc_count,omitempty"`
    26  	Marker      bool   `protobuf:"varint,5,opt,name=marker,proto3" json:"marker,omitempty"`
    27  	PayloadType uint32 `protobuf:"varint,6,opt,name=payload_type,json=payloadType,proto3" json:"payload_type,omitempty"`
    28  }
    29  
    30  func (x *Config) Reset() {
    31  	*x = Config{}
    32  	if protoimpl.UnsafeEnabled {
    33  		mi := &file_transport_internet_headers_srtp_config_proto_msgTypes[0]
    34  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    35  		ms.StoreMessageInfo(mi)
    36  	}
    37  }
    38  
    39  func (x *Config) String() string {
    40  	return protoimpl.X.MessageStringOf(x)
    41  }
    42  
    43  func (*Config) ProtoMessage() {}
    44  
    45  func (x *Config) ProtoReflect() protoreflect.Message {
    46  	mi := &file_transport_internet_headers_srtp_config_proto_msgTypes[0]
    47  	if protoimpl.UnsafeEnabled && x != nil {
    48  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    49  		if ms.LoadMessageInfo() == nil {
    50  			ms.StoreMessageInfo(mi)
    51  		}
    52  		return ms
    53  	}
    54  	return mi.MessageOf(x)
    55  }
    56  
    57  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
    58  func (*Config) Descriptor() ([]byte, []int) {
    59  	return file_transport_internet_headers_srtp_config_proto_rawDescGZIP(), []int{0}
    60  }
    61  
    62  func (x *Config) GetVersion() uint32 {
    63  	if x != nil {
    64  		return x.Version
    65  	}
    66  	return 0
    67  }
    68  
    69  func (x *Config) GetPadding() bool {
    70  	if x != nil {
    71  		return x.Padding
    72  	}
    73  	return false
    74  }
    75  
    76  func (x *Config) GetExtension() bool {
    77  	if x != nil {
    78  		return x.Extension
    79  	}
    80  	return false
    81  }
    82  
    83  func (x *Config) GetCsrcCount() uint32 {
    84  	if x != nil {
    85  		return x.CsrcCount
    86  	}
    87  	return 0
    88  }
    89  
    90  func (x *Config) GetMarker() bool {
    91  	if x != nil {
    92  		return x.Marker
    93  	}
    94  	return false
    95  }
    96  
    97  func (x *Config) GetPayloadType() uint32 {
    98  	if x != nil {
    99  		return x.PayloadType
   100  	}
   101  	return 0
   102  }
   103  
   104  var File_transport_internet_headers_srtp_config_proto protoreflect.FileDescriptor
   105  
   106  var file_transport_internet_headers_srtp_config_proto_rawDesc = []byte{
   107  	0x0a, 0x2c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
   108  	0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x73, 0x72, 0x74,
   109  	0x70, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2a,
   110  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
   111  	0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65,
   112  	0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x73, 0x72, 0x74, 0x70, 0x22, 0xb4, 0x01, 0x0a, 0x06, 0x43,
   113  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   114  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
   115  	0x18, 0x0a, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
   116  	0x52, 0x07, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x74,
   117  	0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x78,
   118  	0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x73, 0x72, 0x63, 0x5f,
   119  	0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x73, 0x72,
   120  	0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72,
   121  	0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x21,
   122  	0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06,
   123  	0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70,
   124  	0x65, 0x42, 0x9f, 0x01, 0x0a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e,
   125  	0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69,
   126  	0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e,
   127  	0x73, 0x72, 0x74, 0x70, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
   128  	0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63,
   129  	0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
   130  	0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
   131  	0x73, 0x2f, 0x73, 0x72, 0x74, 0x70, 0xaa, 0x02, 0x2a, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43,
   132  	0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e,
   133  	0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x53,
   134  	0x72, 0x74, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   135  }
   136  
   137  var (
   138  	file_transport_internet_headers_srtp_config_proto_rawDescOnce sync.Once
   139  	file_transport_internet_headers_srtp_config_proto_rawDescData = file_transport_internet_headers_srtp_config_proto_rawDesc
   140  )
   141  
   142  func file_transport_internet_headers_srtp_config_proto_rawDescGZIP() []byte {
   143  	file_transport_internet_headers_srtp_config_proto_rawDescOnce.Do(func() {
   144  		file_transport_internet_headers_srtp_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_headers_srtp_config_proto_rawDescData)
   145  	})
   146  	return file_transport_internet_headers_srtp_config_proto_rawDescData
   147  }
   148  
   149  var file_transport_internet_headers_srtp_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   150  var file_transport_internet_headers_srtp_config_proto_goTypes = []interface{}{
   151  	(*Config)(nil), // 0: v2ray.core.transport.internet.headers.srtp.Config
   152  }
   153  var file_transport_internet_headers_srtp_config_proto_depIdxs = []int32{
   154  	0, // [0:0] is the sub-list for method output_type
   155  	0, // [0:0] is the sub-list for method input_type
   156  	0, // [0:0] is the sub-list for extension type_name
   157  	0, // [0:0] is the sub-list for extension extendee
   158  	0, // [0:0] is the sub-list for field type_name
   159  }
   160  
   161  func init() { file_transport_internet_headers_srtp_config_proto_init() }
   162  func file_transport_internet_headers_srtp_config_proto_init() {
   163  	if File_transport_internet_headers_srtp_config_proto != nil {
   164  		return
   165  	}
   166  	if !protoimpl.UnsafeEnabled {
   167  		file_transport_internet_headers_srtp_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   168  			switch v := v.(*Config); i {
   169  			case 0:
   170  				return &v.state
   171  			case 1:
   172  				return &v.sizeCache
   173  			case 2:
   174  				return &v.unknownFields
   175  			default:
   176  				return nil
   177  			}
   178  		}
   179  	}
   180  	type x struct{}
   181  	out := protoimpl.TypeBuilder{
   182  		File: protoimpl.DescBuilder{
   183  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   184  			RawDescriptor: file_transport_internet_headers_srtp_config_proto_rawDesc,
   185  			NumEnums:      0,
   186  			NumMessages:   1,
   187  			NumExtensions: 0,
   188  			NumServices:   0,
   189  		},
   190  		GoTypes:           file_transport_internet_headers_srtp_config_proto_goTypes,
   191  		DependencyIndexes: file_transport_internet_headers_srtp_config_proto_depIdxs,
   192  		MessageInfos:      file_transport_internet_headers_srtp_config_proto_msgTypes,
   193  	}.Build()
   194  	File_transport_internet_headers_srtp_config_proto = out.File
   195  	file_transport_internet_headers_srtp_config_proto_rawDesc = nil
   196  	file_transport_internet_headers_srtp_config_proto_goTypes = nil
   197  	file_transport_internet_headers_srtp_config_proto_depIdxs = nil
   198  }