# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dataproc/v1/session_templates.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/dataproc/v1/sessions_pb'
require 'google/cloud/dataproc/v1/shared_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n0google/cloud/dataproc/v1/session_templates.proto\x12\x18google.cloud.dataproc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/dataproc/v1/sessions.proto\x1a%google/cloud/dataproc/v1/shared.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa9\x01\n\x1c\x43reateSessionTemplateRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'dataproc.googleapis.com/SessionTemplate\x12H\n\x10session_template\x18\x03 \x01(\x0b\x32).google.cloud.dataproc.v1.SessionTemplateB\x03\xe0\x41\x02\"h\n\x1cUpdateSessionTemplateRequest\x12H\n\x10session_template\x18\x01 \x01(\x0b\x32).google.cloud.dataproc.v1.SessionTemplateB\x03\xe0\x41\x02\"Z\n\x19GetSessionTemplateRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'dataproc.googleapis.com/SessionTemplate\"\xa4\x01\n\x1bListSessionTemplatesRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'dataproc.googleapis.com/SessionTemplate\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x82\x01\n\x1cListSessionTemplatesResponse\x12I\n\x11session_templates\x18\x01 \x03(\x0b\x32).google.cloud.dataproc.v1.SessionTemplateB\x03\xe0\x41\x03\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x1c\x44\x65leteSessionTemplateRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'dataproc.googleapis.com/SessionTemplate\"\x84\x06\n\x0fSessionTemplate\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x0fjupyter_session\x18\x03 \x01(\x0b\x32\'.google.cloud.dataproc.v1.JupyterConfigB\x03\xe0\x41\x01H\x00\x12R\n\x15spark_connect_session\x18\x0b \x01(\x0b\x32,.google.cloud.dataproc.v1.SparkConnectConfigB\x03\xe0\x41\x01H\x00\x12\x14\n\x07\x63reator\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12J\n\x06labels\x18\x06 \x03(\x0b\x32\x35.google.cloud.dataproc.v1.SessionTemplate.LabelsEntryB\x03\xe0\x41\x01\x12\x44\n\x0eruntime_config\x18\x07 \x01(\x0b\x32\'.google.cloud.dataproc.v1.RuntimeConfigB\x03\xe0\x41\x01\x12L\n\x12\x65nvironment_config\x18\x08 \x01(\x0b\x32+.google.cloud.dataproc.v1.EnvironmentConfigB\x03\xe0\x41\x01\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04uuid\x18\x0c \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:q\xea\x41n\n\'dataproc.googleapis.com/SessionTemplate\x12\x43projects/{project}/locations/{location}/sessionTemplates/{template}B\x10\n\x0esession_config2\xfa\x08\n\x19SessionTemplateController\x12\xe4\x01\n\x15\x43reateSessionTemplate\x12\x36.google.cloud.dataproc.v1.CreateSessionTemplateRequest\x1a).google.cloud.dataproc.v1.SessionTemplate\"h\xda\x41\x17parent,session_template\x82\xd3\xe4\x93\x02H\"4/v1/{parent=projects/*/locations/*}/sessionTemplates:\x10session_template\x12\xee\x01\n\x15UpdateSessionTemplate\x12\x36.google.cloud.dataproc.v1.UpdateSessionTemplateRequest\x1a).google.cloud.dataproc.v1.SessionTemplate\"r\xda\x41\x10session_template\x82\xd3\xe4\x93\x02Y2E/v1/{session_template.name=projects/*/locations/*/sessionTemplates/*}:\x10session_template\x12\xb9\x01\n\x12GetSessionTemplate\x12\x33.google.cloud.dataproc.v1.GetSessionTemplateRequest\x1a).google.cloud.dataproc.v1.SessionTemplate\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/sessionTemplates/*}\x12\xcc\x01\n\x14ListSessionTemplates\x12\x35.google.cloud.dataproc.v1.ListSessionTemplatesRequest\x1a\x36.google.cloud.dataproc.v1.ListSessionTemplatesResponse\"E\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*}/sessionTemplates\x12\xac\x01\n\x15\x44\x65leteSessionTemplate\x12\x36.google.cloud.dataproc.v1.DeleteSessionTemplateRequest\x1a\x16.google.protobuf.Empty\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/sessionTemplates/*}\x1aK\xca\x41\x17\x64\x61taproc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBt\n\x1c\x63om.google.cloud.dataproc.v1B\x15SessionTemplatesProtoP\x01Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpbb\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.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["google.cloud.dataproc.v1.JupyterConfig", "google/cloud/dataproc/v1/sessions.proto"],
    ["google.cloud.dataproc.v1.RuntimeConfig", "google/cloud/dataproc/v1/shared.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 Dataproc
      module V1
        CreateSessionTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.CreateSessionTemplateRequest").msgclass
        UpdateSessionTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.UpdateSessionTemplateRequest").msgclass
        GetSessionTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.GetSessionTemplateRequest").msgclass
        ListSessionTemplatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.ListSessionTemplatesRequest").msgclass
        ListSessionTemplatesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.ListSessionTemplatesResponse").msgclass
        DeleteSessionTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.DeleteSessionTemplateRequest").msgclass
        SessionTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.SessionTemplate").msgclass
      end
    end
  end
end
