github.com/ungtb10d/cli/v2@v2.0.0-20221110210412-98537dd9d6a1/internal/codespaces/grpc/jupyter/JupyterServerHostService.v1.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.1
     4  // 	protoc        v3.12.4
     5  // source: jupyter/JupyterServerHostService.v1.proto
     6  
     7  package jupyter
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type GetRunningServerRequest struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  }
    28  
    29  func (x *GetRunningServerRequest) Reset() {
    30  	*x = GetRunningServerRequest{}
    31  	if protoimpl.UnsafeEnabled {
    32  		mi := &file_jupyter_JupyterServerHostService_v1_proto_msgTypes[0]
    33  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    34  		ms.StoreMessageInfo(mi)
    35  	}
    36  }
    37  
    38  func (x *GetRunningServerRequest) String() string {
    39  	return protoimpl.X.MessageStringOf(x)
    40  }
    41  
    42  func (*GetRunningServerRequest) ProtoMessage() {}
    43  
    44  func (x *GetRunningServerRequest) ProtoReflect() protoreflect.Message {
    45  	mi := &file_jupyter_JupyterServerHostService_v1_proto_msgTypes[0]
    46  	if protoimpl.UnsafeEnabled && x != nil {
    47  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    48  		if ms.LoadMessageInfo() == nil {
    49  			ms.StoreMessageInfo(mi)
    50  		}
    51  		return ms
    52  	}
    53  	return mi.MessageOf(x)
    54  }
    55  
    56  // Deprecated: Use GetRunningServerRequest.ProtoReflect.Descriptor instead.
    57  func (*GetRunningServerRequest) Descriptor() ([]byte, []int) {
    58  	return file_jupyter_JupyterServerHostService_v1_proto_rawDescGZIP(), []int{0}
    59  }
    60  
    61  type GetRunningServerResponse struct {
    62  	state         protoimpl.MessageState
    63  	sizeCache     protoimpl.SizeCache
    64  	unknownFields protoimpl.UnknownFields
    65  
    66  	Result    bool   `protobuf:"varint,1,opt,name=Result,proto3" json:"Result,omitempty"`
    67  	Message   string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"`
    68  	Port      string `protobuf:"bytes,3,opt,name=Port,proto3" json:"Port,omitempty"`
    69  	ServerUrl string `protobuf:"bytes,4,opt,name=ServerUrl,proto3" json:"ServerUrl,omitempty"`
    70  }
    71  
    72  func (x *GetRunningServerResponse) Reset() {
    73  	*x = GetRunningServerResponse{}
    74  	if protoimpl.UnsafeEnabled {
    75  		mi := &file_jupyter_JupyterServerHostService_v1_proto_msgTypes[1]
    76  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    77  		ms.StoreMessageInfo(mi)
    78  	}
    79  }
    80  
    81  func (x *GetRunningServerResponse) String() string {
    82  	return protoimpl.X.MessageStringOf(x)
    83  }
    84  
    85  func (*GetRunningServerResponse) ProtoMessage() {}
    86  
    87  func (x *GetRunningServerResponse) ProtoReflect() protoreflect.Message {
    88  	mi := &file_jupyter_JupyterServerHostService_v1_proto_msgTypes[1]
    89  	if protoimpl.UnsafeEnabled && x != nil {
    90  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    91  		if ms.LoadMessageInfo() == nil {
    92  			ms.StoreMessageInfo(mi)
    93  		}
    94  		return ms
    95  	}
    96  	return mi.MessageOf(x)
    97  }
    98  
    99  // Deprecated: Use GetRunningServerResponse.ProtoReflect.Descriptor instead.
   100  func (*GetRunningServerResponse) Descriptor() ([]byte, []int) {
   101  	return file_jupyter_JupyterServerHostService_v1_proto_rawDescGZIP(), []int{1}
   102  }
   103  
   104  func (x *GetRunningServerResponse) GetResult() bool {
   105  	if x != nil {
   106  		return x.Result
   107  	}
   108  	return false
   109  }
   110  
   111  func (x *GetRunningServerResponse) GetMessage() string {
   112  	if x != nil {
   113  		return x.Message
   114  	}
   115  	return ""
   116  }
   117  
   118  func (x *GetRunningServerResponse) GetPort() string {
   119  	if x != nil {
   120  		return x.Port
   121  	}
   122  	return ""
   123  }
   124  
   125  func (x *GetRunningServerResponse) GetServerUrl() string {
   126  	if x != nil {
   127  		return x.ServerUrl
   128  	}
   129  	return ""
   130  }
   131  
   132  var File_jupyter_JupyterServerHostService_v1_proto protoreflect.FileDescriptor
   133  
   134  var file_jupyter_JupyterServerHostService_v1_proto_rawDesc = []byte{
   135  	0x0a, 0x29, 0x6a, 0x75, 0x70, 0x79, 0x74, 0x65, 0x72, 0x2f, 0x4a, 0x75, 0x70, 0x79, 0x74, 0x65,
   136  	0x72, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,
   137  	0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x43, 0x6f, 0x64,
   138  	0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x2e, 0x4a, 0x75, 0x70,
   139  	0x79, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x53, 0x65,
   140  	0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x22, 0x19, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52,
   141  	0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
   142  	0x65, 0x73, 0x74, 0x22, 0x7e, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e,
   143  	0x67, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
   144  	0x16, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
   145  	0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61,
   146  	0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
   147  	0x65, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
   148  	0x04, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55,
   149  	0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
   150  	0x55, 0x72, 0x6c, 0x32, 0xb5, 0x01, 0x0a, 0x11, 0x4a, 0x75, 0x70, 0x79, 0x74, 0x65, 0x72, 0x53,
   151  	0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x9f, 0x01, 0x0a, 0x10, 0x47, 0x65,
   152  	0x74, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x44,
   153  	0x2e, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x47, 0x72, 0x70, 0x63,
   154  	0x2e, 0x4a, 0x75, 0x70, 0x79, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x48, 0x6f,
   155  	0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
   156  	0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71,
   157  	0x75, 0x65, 0x73, 0x74, 0x1a, 0x45, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
   158  	0x73, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x2e, 0x4a, 0x75, 0x70, 0x79, 0x74, 0x65, 0x72, 0x53, 0x65,
   159  	0x72, 0x76, 0x65, 0x72, 0x48, 0x6f, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
   160  	0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72,
   161  	0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x0b, 0x5a, 0x09, 0x2e,
   162  	0x2f, 0x6a, 0x75, 0x70, 0x79, 0x74, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   163  }
   164  
   165  var (
   166  	file_jupyter_JupyterServerHostService_v1_proto_rawDescOnce sync.Once
   167  	file_jupyter_JupyterServerHostService_v1_proto_rawDescData = file_jupyter_JupyterServerHostService_v1_proto_rawDesc
   168  )
   169  
   170  func file_jupyter_JupyterServerHostService_v1_proto_rawDescGZIP() []byte {
   171  	file_jupyter_JupyterServerHostService_v1_proto_rawDescOnce.Do(func() {
   172  		file_jupyter_JupyterServerHostService_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_jupyter_JupyterServerHostService_v1_proto_rawDescData)
   173  	})
   174  	return file_jupyter_JupyterServerHostService_v1_proto_rawDescData
   175  }
   176  
   177  var file_jupyter_JupyterServerHostService_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   178  var file_jupyter_JupyterServerHostService_v1_proto_goTypes = []interface{}{
   179  	(*GetRunningServerRequest)(nil),  // 0: Codespaces.Grpc.JupyterServerHostService.v1.GetRunningServerRequest
   180  	(*GetRunningServerResponse)(nil), // 1: Codespaces.Grpc.JupyterServerHostService.v1.GetRunningServerResponse
   181  }
   182  var file_jupyter_JupyterServerHostService_v1_proto_depIdxs = []int32{
   183  	0, // 0: Codespaces.Grpc.JupyterServerHostService.v1.JupyterServerHost.GetRunningServer:input_type -> Codespaces.Grpc.JupyterServerHostService.v1.GetRunningServerRequest
   184  	1, // 1: Codespaces.Grpc.JupyterServerHostService.v1.JupyterServerHost.GetRunningServer:output_type -> Codespaces.Grpc.JupyterServerHostService.v1.GetRunningServerResponse
   185  	1, // [1:2] is the sub-list for method output_type
   186  	0, // [0:1] is the sub-list for method input_type
   187  	0, // [0:0] is the sub-list for extension type_name
   188  	0, // [0:0] is the sub-list for extension extendee
   189  	0, // [0:0] is the sub-list for field type_name
   190  }
   191  
   192  func init() { file_jupyter_JupyterServerHostService_v1_proto_init() }
   193  func file_jupyter_JupyterServerHostService_v1_proto_init() {
   194  	if File_jupyter_JupyterServerHostService_v1_proto != nil {
   195  		return
   196  	}
   197  	if !protoimpl.UnsafeEnabled {
   198  		file_jupyter_JupyterServerHostService_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   199  			switch v := v.(*GetRunningServerRequest); i {
   200  			case 0:
   201  				return &v.state
   202  			case 1:
   203  				return &v.sizeCache
   204  			case 2:
   205  				return &v.unknownFields
   206  			default:
   207  				return nil
   208  			}
   209  		}
   210  		file_jupyter_JupyterServerHostService_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   211  			switch v := v.(*GetRunningServerResponse); i {
   212  			case 0:
   213  				return &v.state
   214  			case 1:
   215  				return &v.sizeCache
   216  			case 2:
   217  				return &v.unknownFields
   218  			default:
   219  				return nil
   220  			}
   221  		}
   222  	}
   223  	type x struct{}
   224  	out := protoimpl.TypeBuilder{
   225  		File: protoimpl.DescBuilder{
   226  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   227  			RawDescriptor: file_jupyter_JupyterServerHostService_v1_proto_rawDesc,
   228  			NumEnums:      0,
   229  			NumMessages:   2,
   230  			NumExtensions: 0,
   231  			NumServices:   1,
   232  		},
   233  		GoTypes:           file_jupyter_JupyterServerHostService_v1_proto_goTypes,
   234  		DependencyIndexes: file_jupyter_JupyterServerHostService_v1_proto_depIdxs,
   235  		MessageInfos:      file_jupyter_JupyterServerHostService_v1_proto_msgTypes,
   236  	}.Build()
   237  	File_jupyter_JupyterServerHostService_v1_proto = out.File
   238  	file_jupyter_JupyterServerHostService_v1_proto_rawDesc = nil
   239  	file_jupyter_JupyterServerHostService_v1_proto_goTypes = nil
   240  	file_jupyter_JupyterServerHostService_v1_proto_depIdxs = nil
   241  }