# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/notebooks/v1/managed_service.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/cloud/notebooks/v1/diagnostic_config_pb'
require 'google/cloud/notebooks/v1/event_pb'
require 'google/cloud/notebooks/v1/runtime_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/field_mask_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n/google/cloud/notebooks/v1/managed_service.proto\x12\x19google.cloud.notebooks.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/notebooks/v1/diagnostic_config.proto\x1a%google/cloud/notebooks/v1/event.proto\x1a\'google/cloud/notebooks/v1/runtime.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"v\n\x13ListRuntimesRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 notebooks.googleapis.com/Runtime\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"z\n\x14ListRuntimesResponse\x12\x34\n\x08runtimes\x18\x01 \x03(\x0b\x32\".google.cloud.notebooks.v1.Runtime\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"K\n\x11GetRuntimeRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n notebooks.googleapis.com/Runtime\"\xb7\x01\n\x14\x43reateRuntimeRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n notebooks.googleapis.com/Runtime\x12\x17\n\nruntime_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\x07runtime\x18\x03 \x01(\x0b\x32\".google.cloud.notebooks.v1.RuntimeB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"b\n\x14\x44\x65leteRuntimeRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n notebooks.googleapis.com/Runtime\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"<\n\x13StartRuntimeRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x02 \x01(\t\";\n\x12StopRuntimeRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\xa4\x01\n\x14SwitchRuntimeRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0cmachine_type\x18\x02 \x01(\t\x12O\n\x12\x61\x63\x63\x65lerator_config\x18\x03 \x01(\x0b\x32\x33.google.cloud.notebooks.v1.RuntimeAcceleratorConfig\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"<\n\x13ResetRuntimeRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x02 \x01(\t\">\n\x15UpgradeRuntimeRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\x9d\x01\n\x19ReportRuntimeEventRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n notebooks.googleapis.com/Runtime\x12\x12\n\x05vm_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x05\x65vent\x18\x03 \x01(\x0b\x32 .google.cloud.notebooks.v1.EventB\x03\xe0\x41\x02\"\x9a\x01\n\x14UpdateRuntimeRequest\x12\x38\n\x07runtime\x18\x01 \x01(\x0b\x32\".google.cloud.notebooks.v1.RuntimeB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"p\n\"RefreshRuntimeTokenInternalRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n notebooks.googleapis.com/Runtime\x12\x12\n\x05vm_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"q\n#RefreshRuntimeTokenInternalResponse\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\t\x12\x34\n\x0b\x65xpire_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\x9d\x01\n\x16\x44iagnoseRuntimeRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n notebooks.googleapis.com/Runtime\x12K\n\x11\x64iagnostic_config\x18\x02 \x01(\x0b\x32+.google.cloud.notebooks.v1.DiagnosticConfigB\x03\xe0\x41\x02\x32\xd2\x15\n\x16ManagedNotebookService\x12\xae\x01\n\x0cListRuntimes\x12..google.cloud.notebooks.v1.ListRuntimesRequest\x1a/.google.cloud.notebooks.v1.ListRuntimesResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/runtimes\x12\x9b\x01\n\nGetRuntime\x12,.google.cloud.notebooks.v1.GetRuntimeRequest\x1a\".google.cloud.notebooks.v1.Runtime\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/runtimes/*}\x12\xd9\x01\n\rCreateRuntime\x12/.google.cloud.notebooks.v1.CreateRuntimeRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x19parent,runtime_id,runtime\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/runtimes:\x07runtime\x12\xdb\x01\n\rUpdateRuntime\x12/.google.cloud.notebooks.v1.UpdateRuntimeRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x13runtime,update_mask\x82\xd3\xe4\x93\x02?24/v1/{runtime.name=projects/*/locations/*/runtimes/*}:\x07runtime\x12\xc9\x01\n\rDeleteRuntime\x12/.google.cloud.notebooks.v1.DeleteRuntimeRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/runtimes/*}\x12\xc2\x01\n\x0cStartRuntime\x12..google.cloud.notebooks.v1.StartRuntimeRequest\x1a\x1d.google.longrunning.Operation\"c\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/runtimes/*}:start:\x01*\x12\xbf\x01\n\x0bStopRuntime\x12-.google.cloud.notebooks.v1.StopRuntimeRequest\x1a\x1d.google.longrunning.Operation\"b\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\"1/v1/{name=projects/*/locations/*/runtimes/*}:stop:\x01*\x12\xc5\x01\n\rSwitchRuntime\x12/.google.cloud.notebooks.v1.SwitchRuntimeRequest\x1a\x1d.google.longrunning.Operation\"d\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/runtimes/*}:switch:\x01*\x12\xc2\x01\n\x0cResetRuntime\x12..google.cloud.notebooks.v1.ResetRuntimeRequest\x1a\x1d.google.longrunning.Operation\"c\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/runtimes/*}:reset:\x01*\x12\xc8\x01\n\x0eUpgradeRuntime\x12\x30.google.cloud.notebooks.v1.UpgradeRuntimeRequest\x1a\x1d.google.longrunning.Operation\"e\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/runtimes/*}:upgrade:\x01*\x12\xd4\x01\n\x12ReportRuntimeEvent\x12\x34.google.cloud.notebooks.v1.ReportRuntimeEventRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=\"8/v1/{name=projects/*/locations/*/runtimes/*}:reportEvent:\x01*\x12\xfe\x01\n\x1bRefreshRuntimeTokenInternal\x12=.google.cloud.notebooks.v1.RefreshRuntimeTokenInternalRequest\x1a>.google.cloud.notebooks.v1.RefreshRuntimeTokenInternalResponse\"`\xda\x41\nname,vm_id\x82\xd3\xe4\x93\x02M\"H/v1/{name=projects/*/locations/*/runtimes/*}:refreshRuntimeTokenInternal:\x01*\x12\xdd\x01\n\x0f\x44iagnoseRuntime\x12\x31.google.cloud.notebooks.v1.DiagnoseRuntimeRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x16name,diagnostic_config\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/runtimes/*}:diagnose:\x01*\x1aL\xca\x41\x18notebooks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xcc\x01\n\x1d\x63om.google.cloud.notebooks.v1B\x15ManagedNotebooksProtoP\x01Z;cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V1\xca\x02\x19Google\\Cloud\\Notebooks\\V1\xea\x02\x1cGoogle::Cloud::Notebooks::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.cloud.notebooks.v1.Runtime", "google/cloud/notebooks/v1/runtime.proto"],
    ["google.cloud.notebooks.v1.Event", "google/cloud/notebooks/v1/event.proto"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["google.cloud.notebooks.v1.DiagnosticConfig", "google/cloud/notebooks/v1/diagnostic_config.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Cloud
    module Notebooks
      module V1
        ListRuntimesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ListRuntimesRequest").msgclass
        ListRuntimesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ListRuntimesResponse").msgclass
        GetRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.GetRuntimeRequest").msgclass
        CreateRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.CreateRuntimeRequest").msgclass
        DeleteRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.DeleteRuntimeRequest").msgclass
        StartRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.StartRuntimeRequest").msgclass
        StopRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.StopRuntimeRequest").msgclass
        SwitchRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.SwitchRuntimeRequest").msgclass
        ResetRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ResetRuntimeRequest").msgclass
        UpgradeRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.UpgradeRuntimeRequest").msgclass
        ReportRuntimeEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ReportRuntimeEventRequest").msgclass
        UpdateRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.UpdateRuntimeRequest").msgclass
        RefreshRuntimeTokenInternalRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.RefreshRuntimeTokenInternalRequest").msgclass
        RefreshRuntimeTokenInternalResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.RefreshRuntimeTokenInternalResponse").msgclass
        DiagnoseRuntimeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.DiagnoseRuntimeRequest").msgclass
      end
    end
  end
end
