github.com/livekit/protocol@v1.16.1-0.20240517185851-47e4c6bba773/rpc/keepalive.pb.go (about)

     1  // Copyright 2023 LiveKit, Inc.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.34.1
    18  // 	protoc        v4.23.4
    19  // source: rpc/keepalive.proto
    20  
    21  package rpc
    22  
    23  import (
    24  	_ "github.com/livekit/psrpc/protoc-gen-psrpc/options"
    25  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    26  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    27  	reflect "reflect"
    28  	sync "sync"
    29  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  type KeepalivePing struct {
    39  	state         protoimpl.MessageState
    40  	sizeCache     protoimpl.SizeCache
    41  	unknownFields protoimpl.UnknownFields
    42  
    43  	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
    44  }
    45  
    46  func (x *KeepalivePing) Reset() {
    47  	*x = KeepalivePing{}
    48  	if protoimpl.UnsafeEnabled {
    49  		mi := &file_rpc_keepalive_proto_msgTypes[0]
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		ms.StoreMessageInfo(mi)
    52  	}
    53  }
    54  
    55  func (x *KeepalivePing) String() string {
    56  	return protoimpl.X.MessageStringOf(x)
    57  }
    58  
    59  func (*KeepalivePing) ProtoMessage() {}
    60  
    61  func (x *KeepalivePing) ProtoReflect() protoreflect.Message {
    62  	mi := &file_rpc_keepalive_proto_msgTypes[0]
    63  	if protoimpl.UnsafeEnabled && x != nil {
    64  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    65  		if ms.LoadMessageInfo() == nil {
    66  			ms.StoreMessageInfo(mi)
    67  		}
    68  		return ms
    69  	}
    70  	return mi.MessageOf(x)
    71  }
    72  
    73  // Deprecated: Use KeepalivePing.ProtoReflect.Descriptor instead.
    74  func (*KeepalivePing) Descriptor() ([]byte, []int) {
    75  	return file_rpc_keepalive_proto_rawDescGZIP(), []int{0}
    76  }
    77  
    78  func (x *KeepalivePing) GetTimestamp() int64 {
    79  	if x != nil {
    80  		return x.Timestamp
    81  	}
    82  	return 0
    83  }
    84  
    85  var File_rpc_keepalive_proto protoreflect.FileDescriptor
    86  
    87  var file_rpc_keepalive_proto_rawDesc = []byte{
    88  	0x0a, 0x13, 0x72, 0x70, 0x63, 0x2f, 0x6b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x2e,
    89  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x72, 0x70, 0x63, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69,
    90  	0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x0d, 0x4b, 0x65, 0x65,
    91  	0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69,
    92  	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74,
    93  	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0x53, 0x0a, 0x09, 0x4b, 0x65, 0x65, 0x70,
    94  	0x61, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x46, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x2e,
    95  	0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x50, 0x69, 0x6e,
    96  	0x67, 0x1a, 0x12, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76,
    97  	0x65, 0x50, 0x69, 0x6e, 0x67, 0x22, 0x16, 0xb2, 0x89, 0x01, 0x12, 0x08, 0x01, 0x10, 0x01, 0x1a,
    98  	0x0a, 0x12, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x18, 0x01, 0x28, 0x01, 0x42, 0x21, 0x5a,
    99  	0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65,
   100  	0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63,
   101  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   102  }
   103  
   104  var (
   105  	file_rpc_keepalive_proto_rawDescOnce sync.Once
   106  	file_rpc_keepalive_proto_rawDescData = file_rpc_keepalive_proto_rawDesc
   107  )
   108  
   109  func file_rpc_keepalive_proto_rawDescGZIP() []byte {
   110  	file_rpc_keepalive_proto_rawDescOnce.Do(func() {
   111  		file_rpc_keepalive_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_keepalive_proto_rawDescData)
   112  	})
   113  	return file_rpc_keepalive_proto_rawDescData
   114  }
   115  
   116  var file_rpc_keepalive_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   117  var file_rpc_keepalive_proto_goTypes = []interface{}{
   118  	(*KeepalivePing)(nil), // 0: rpc.KeepalivePing
   119  }
   120  var file_rpc_keepalive_proto_depIdxs = []int32{
   121  	0, // 0: rpc.Keepalive.Ping:input_type -> rpc.KeepalivePing
   122  	0, // 1: rpc.Keepalive.Ping:output_type -> rpc.KeepalivePing
   123  	1, // [1:2] is the sub-list for method output_type
   124  	0, // [0:1] 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_rpc_keepalive_proto_init() }
   131  func file_rpc_keepalive_proto_init() {
   132  	if File_rpc_keepalive_proto != nil {
   133  		return
   134  	}
   135  	if !protoimpl.UnsafeEnabled {
   136  		file_rpc_keepalive_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   137  			switch v := v.(*KeepalivePing); 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_rpc_keepalive_proto_rawDesc,
   154  			NumEnums:      0,
   155  			NumMessages:   1,
   156  			NumExtensions: 0,
   157  			NumServices:   1,
   158  		},
   159  		GoTypes:           file_rpc_keepalive_proto_goTypes,
   160  		DependencyIndexes: file_rpc_keepalive_proto_depIdxs,
   161  		MessageInfos:      file_rpc_keepalive_proto_msgTypes,
   162  	}.Build()
   163  	File_rpc_keepalive_proto = out.File
   164  	file_rpc_keepalive_proto_rawDesc = nil
   165  	file_rpc_keepalive_proto_goTypes = nil
   166  	file_rpc_keepalive_proto_depIdxs = nil
   167  }