# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/dataflow/v1beta3/templates.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/dataflow/v1beta3/environment_pb' require 'google/dataflow/v1beta3/jobs_pb' require 'google/rpc/status_pb' descriptor_data = "\n\'google/dataflow/v1beta3/templates.proto\x12\x17google.dataflow.v1beta3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a)google/dataflow/v1beta3/environment.proto\x1a\"google/dataflow/v1beta3/jobs.proto\x1a\x17google/rpc/status.proto\"G\n\x1aLaunchFlexTemplateResponse\x12)\n\x03job\x18\x01 \x01(\x0b\x32\x1c.google.dataflow.v1beta3.Job\"\xe5\x01\n\rContainerSpec\x12\r\n\x05image\x18\x01 \x01(\t\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32).google.dataflow.v1beta3.TemplateMetadata\x12\x32\n\x08sdk_info\x18\x03 \x01(\x0b\x32 .google.dataflow.v1beta3.SDKInfo\x12T\n\x13\x64\x65\x66\x61ult_environment\x18\x04 \x01(\x0b\x32\x37.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment\"\xd2\x05\n\x1bLaunchFlexTemplateParameter\x12\x10\n\x08job_name\x18\x01 \x01(\t\x12@\n\x0e\x63ontainer_spec\x18\x04 \x01(\x0b\x32&.google.dataflow.v1beta3.ContainerSpecH\x00\x12!\n\x17\x63ontainer_spec_gcs_path\x18\x05 \x01(\tH\x00\x12X\n\nparameters\x18\x02 \x03(\x0b\x32\x44.google.dataflow.v1beta3.LaunchFlexTemplateParameter.ParametersEntry\x12_\n\x0elaunch_options\x18\x06 \x03(\x0b\x32G.google.dataflow.v1beta3.LaunchFlexTemplateParameter.LaunchOptionsEntry\x12L\n\x0b\x65nvironment\x18\x07 \x01(\x0b\x32\x37.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment\x12\x0e\n\x06update\x18\x08 \x01(\x08\x12p\n\x17transform_name_mappings\x18\t \x03(\x0b\x32O.google.dataflow.v1beta3.LaunchFlexTemplateParameter.TransformNameMappingsEntry\x1a\x31\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12LaunchOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a<\n\x1aTransformNameMappingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08template\"\x90\x07\n\x1e\x46lexTemplateRuntimeEnvironment\x12\x13\n\x0bnum_workers\x18\x01 \x01(\x05\x12\x13\n\x0bmax_workers\x18\x02 \x01(\x05\x12\x0c\n\x04zone\x18\x03 \x01(\t\x12\x1d\n\x15service_account_email\x18\x04 \x01(\t\x12\x15\n\rtemp_location\x18\x05 \x01(\t\x12\x14\n\x0cmachine_type\x18\x06 \x01(\t\x12\x1e\n\x16\x61\x64\x64itional_experiments\x18\x07 \x03(\t\x12\x0f\n\x07network\x18\x08 \x01(\t\x12\x12\n\nsubnetwork\x18\t \x01(\t\x12q\n\x16\x61\x64\x64itional_user_labels\x18\n \x03(\x0b\x32Q.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment.AdditionalUserLabelsEntry\x12\x14\n\x0ckms_key_name\x18\x0b \x01(\t\x12O\n\x10ip_configuration\x18\x0c \x01(\x0e\x32\x35.google.dataflow.v1beta3.WorkerIPAddressConfiguration\x12\x15\n\rworker_region\x18\r \x01(\t\x12\x13\n\x0bworker_zone\x18\x0e \x01(\t\x12\x1f\n\x17\x65nable_streaming_engine\x18\x0f \x01(\x08\x12H\n\x0b\x66lexrs_goal\x18\x10 \x01(\x0e\x32\x33.google.dataflow.v1beta3.FlexResourceSchedulingGoal\x12\x18\n\x10staging_location\x18\x11 \x01(\t\x12\x1b\n\x13sdk_container_image\x18\x12 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x14 \x01(\x05\x12L\n\x15\x61utoscaling_algorithm\x18\x15 \x01(\x0e\x32-.google.dataflow.v1beta3.AutoscalingAlgorithm\x12\x18\n\x10\x64ump_heap_on_oom\x18\x16 \x01(\x08\x12#\n\x1bsave_heap_dumps_to_gcs_path\x18\x17 \x01(\t\x12\x1d\n\x15launcher_machine_type\x18\x18 \x01(\t\x1a;\n\x19\x41\x64\x64itionalUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa8\x01\n\x19LaunchFlexTemplateRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12N\n\x10launch_parameter\x18\x02 \x01(\x0b\x32\x34.google.dataflow.v1beta3.LaunchFlexTemplateParameter\x12\x10\n\x08location\x18\x03 \x01(\t\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xd9\x04\n\x12RuntimeEnvironment\x12\x13\n\x0bnum_workers\x18\x0b \x01(\x05\x12\x13\n\x0bmax_workers\x18\x01 \x01(\x05\x12\x0c\n\x04zone\x18\x02 \x01(\t\x12\x1d\n\x15service_account_email\x18\x03 \x01(\t\x12\x15\n\rtemp_location\x18\x04 \x01(\t\x12\"\n\x1a\x62ypass_temp_dir_validation\x18\x05 \x01(\x08\x12\x14\n\x0cmachine_type\x18\x06 \x01(\t\x12\x1e\n\x16\x61\x64\x64itional_experiments\x18\x07 \x03(\t\x12\x0f\n\x07network\x18\x08 \x01(\t\x12\x12\n\nsubnetwork\x18\t \x01(\t\x12\x65\n\x16\x61\x64\x64itional_user_labels\x18\n \x03(\x0b\x32\x45.google.dataflow.v1beta3.RuntimeEnvironment.AdditionalUserLabelsEntry\x12\x14\n\x0ckms_key_name\x18\x0c \x01(\t\x12O\n\x10ip_configuration\x18\x0e \x01(\x0e\x32\x35.google.dataflow.v1beta3.WorkerIPAddressConfiguration\x12\x15\n\rworker_region\x18\x0f \x01(\t\x12\x13\n\x0bworker_zone\x18\x10 \x01(\t\x12\x1f\n\x17\x65nable_streaming_engine\x18\x11 \x01(\x08\x1a;\n\x19\x41\x64\x64itionalUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb5\x02\n\x11ParameterMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x11\n\thelp_text\x18\x03 \x01(\t\x12\x13\n\x0bis_optional\x18\x04 \x01(\x08\x12\x0f\n\x07regexes\x18\x05 \x03(\t\x12:\n\nparam_type\x18\x06 \x01(\x0e\x32&.google.dataflow.v1beta3.ParameterType\x12W\n\x0f\x63ustom_metadata\x18\x07 \x03(\x0b\x32>.google.dataflow.v1beta3.ParameterMetadata.CustomMetadataEntry\x1a\x35\n\x13\x43ustomMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x10TemplateMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12>\n\nparameters\x18\x03 \x03(\x0b\x32*.google.dataflow.v1beta3.ParameterMetadata\"\x86\x01\n\x07SDKInfo\x12;\n\x08language\x18\x01 \x01(\x0e\x32).google.dataflow.v1beta3.SDKInfo.Language\x12\x0f\n\x07version\x18\x02 \x01(\t\"-\n\x08Language\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04JAVA\x10\x01\x12\n\n\x06PYTHON\x10\x02\"\x85\x01\n\x0fRuntimeMetadata\x12\x32\n\x08sdk_info\x18\x01 \x01(\x0b\x32 .google.dataflow.v1beta3.SDKInfo\x12>\n\nparameters\x18\x02 \x03(\x0b\x32*.google.dataflow.v1beta3.ParameterMetadata\"\xc6\x02\n\x1c\x43reateJobFromTemplateRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x10\n\x08job_name\x18\x04 \x01(\t\x12\x12\n\x08gcs_path\x18\x02 \x01(\tH\x00\x12Y\n\nparameters\x18\x03 \x03(\x0b\x32\x45.google.dataflow.v1beta3.CreateJobFromTemplateRequest.ParametersEntry\x12@\n\x0b\x65nvironment\x18\x05 \x01(\x0b\x32+.google.dataflow.v1beta3.RuntimeEnvironment\x12\x10\n\x08location\x18\x06 \x01(\t\x1a\x31\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08template\"\xc5\x01\n\x12GetTemplateRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x12\n\x08gcs_path\x18\x02 \x01(\tH\x00\x12\x46\n\x04view\x18\x03 \x01(\x0e\x32\x38.google.dataflow.v1beta3.GetTemplateRequest.TemplateView\x12\x10\n\x08location\x18\x04 \x01(\t\"!\n\x0cTemplateView\x12\x11\n\rMETADATA_ONLY\x10\x00\x42\n\n\x08template\"\xbf\x02\n\x13GetTemplateResponse\x12\"\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\x12;\n\x08metadata\x18\x02 \x01(\x0b\x32).google.dataflow.v1beta3.TemplateMetadata\x12P\n\rtemplate_type\x18\x03 \x01(\x0e\x32\x39.google.dataflow.v1beta3.GetTemplateResponse.TemplateType\x12\x42\n\x10runtime_metadata\x18\x04 \x01(\x0b\x32(.google.dataflow.v1beta3.RuntimeMetadata\"1\n\x0cTemplateType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x08\n\x04\x46LEX\x10\x02\"\xb2\x03\n\x18LaunchTemplateParameters\x12\x10\n\x08job_name\x18\x01 \x01(\t\x12U\n\nparameters\x18\x02 \x03(\x0b\x32\x41.google.dataflow.v1beta3.LaunchTemplateParameters.ParametersEntry\x12@\n\x0b\x65nvironment\x18\x03 \x01(\x0b\x32+.google.dataflow.v1beta3.RuntimeEnvironment\x12\x0e\n\x06update\x18\x04 \x01(\x08\x12k\n\x16transform_name_mapping\x18\x05 \x03(\x0b\x32K.google.dataflow.v1beta3.LaunchTemplateParameters.TransformNameMappingEntry\x1a\x31\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19TransformNameMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x94\x02\n\x15LaunchTemplateRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x12\n\x08gcs_path\x18\x03 \x01(\tH\x00\x12P\n\x10\x64ynamic_template\x18\x06 \x01(\x0b\x32\x34.google.dataflow.v1beta3.DynamicTemplateLaunchParamsH\x00\x12L\n\x11launch_parameters\x18\x04 \x01(\x0b\x32\x31.google.dataflow.v1beta3.LaunchTemplateParameters\x12\x10\n\x08location\x18\x05 \x01(\tB\n\n\x08template\"C\n\x16LaunchTemplateResponse\x12)\n\x03job\x18\x01 \x01(\x0b\x32\x1c.google.dataflow.v1beta3.Job\"\xbe\x01\n\x19InvalidTemplateParameters\x12\x63\n\x14parameter_violations\x18\x01 \x03(\x0b\x32\x45.google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation\x1a<\n\x12ParameterViolation\x12\x11\n\tparameter\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"I\n\x1b\x44ynamicTemplateLaunchParams\x12\x10\n\x08gcs_path\x18\x01 \x01(\t\x12\x18\n\x10staging_location\x18\x02 \x01(\t*\xce\x01\n\rParameterType\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x08\n\x04TEXT\x10\x01\x12\x13\n\x0fGCS_READ_BUCKET\x10\x02\x12\x14\n\x10GCS_WRITE_BUCKET\x10\x03\x12\x11\n\rGCS_READ_FILE\x10\x04\x12\x12\n\x0eGCS_WRITE_FILE\x10\x05\x12\x13\n\x0fGCS_READ_FOLDER\x10\x06\x12\x14\n\x10GCS_WRITE_FOLDER\x10\x07\x12\x10\n\x0cPUBSUB_TOPIC\x10\x08\x12\x17\n\x13PUBSUB_SUBSCRIPTION\x10\t2\xc2\x07\n\x10TemplatesService\x12\xdf\x01\n\x15\x43reateJobFromTemplate\x12\x35.google.dataflow.v1beta3.CreateJobFromTemplateRequest\x1a\x1c.google.dataflow.v1beta3.Job\"q\x82\xd3\xe4\x93\x02k\":/v1b3/projects/{project_id}/locations/{location}/templates:\x01*Z*\"%/v1b3/projects/{project_id}/templates:\x01*\x12\x94\x02\n\x0eLaunchTemplate\x12..google.dataflow.v1beta3.LaunchTemplateRequest\x1a/.google.dataflow.v1beta3.LaunchTemplateResponse\"\xa0\x01\x82\xd3\xe4\x93\x02\x99\x01\"A/v1b3/projects/{project_id}/locations/{location}/templates:launch:\x11launch_parametersZA\",/v1b3/projects/{project_id}/templates:launch:\x11launch_parameters\x12\xdd\x01\n\x0bGetTemplate\x12+.google.dataflow.v1beta3.GetTemplateRequest\x1a,.google.dataflow.v1beta3.GetTemplateResponse\"s\x82\xd3\xe4\x93\x02m\x12>/v1b3/projects/{project_id}/locations/{location}/templates:getZ+\x12)/v1b3/projects/{project_id}/templates:get\x1a\xd4\x01\xca\x41\x17\x64\x61taflow.googleapis.com\xd2\x41\xb6\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/compute,https://www.googleapis.com/auth/compute.readonly,https://www.googleapis.com/auth/userinfo.email2\xbf\x03\n\x14\x46lexTemplatesService\x12\xcf\x01\n\x12LaunchFlexTemplate\x12\x32.google.dataflow.v1beta3.LaunchFlexTemplateRequest\x1a\x33.google.dataflow.v1beta3.LaunchFlexTemplateResponse\"P\x82\xd3\xe4\x93\x02J\"E/v1b3/projects/{project_id}/locations/{location}/flexTemplates:launch:\x01*\x1a\xd4\x01\xca\x41\x17\x64\x61taflow.googleapis.com\xd2\x41\xb6\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/compute,https://www.googleapis.com/auth/compute.readonly,https://www.googleapis.com/auth/userinfo.emailB\xd1\x01\n\x1b\x63om.google.dataflow.v1beta3B\x0eTemplatesProtoP\x01Z=cloud.google.com/go/dataflow/apiv1beta3/dataflowpb;dataflowpb\xaa\x02\x1dGoogle.Cloud.Dataflow.V1Beta3\xca\x02\x1dGoogle\\Cloud\\Dataflow\\V1beta3\xea\x02 Google::Cloud::Dataflow::V1beta3b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError => e # 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.dataflow.v1beta3.Job", "google/dataflow/v1beta3/jobs.proto"], ["google.rpc.Status", "google/rpc/status.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 Dataflow module V1beta3 LaunchFlexTemplateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.LaunchFlexTemplateResponse").msgclass ContainerSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.ContainerSpec").msgclass LaunchFlexTemplateParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.LaunchFlexTemplateParameter").msgclass FlexTemplateRuntimeEnvironment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment").msgclass LaunchFlexTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.LaunchFlexTemplateRequest").msgclass RuntimeEnvironment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.RuntimeEnvironment").msgclass ParameterMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.ParameterMetadata").msgclass TemplateMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.TemplateMetadata").msgclass SDKInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.SDKInfo").msgclass SDKInfo::Language = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.SDKInfo.Language").enummodule RuntimeMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.RuntimeMetadata").msgclass CreateJobFromTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.CreateJobFromTemplateRequest").msgclass GetTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.GetTemplateRequest").msgclass GetTemplateRequest::TemplateView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.GetTemplateRequest.TemplateView").enummodule GetTemplateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.GetTemplateResponse").msgclass GetTemplateResponse::TemplateType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.GetTemplateResponse.TemplateType").enummodule LaunchTemplateParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.LaunchTemplateParameters").msgclass LaunchTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.LaunchTemplateRequest").msgclass LaunchTemplateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.LaunchTemplateResponse").msgclass InvalidTemplateParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.InvalidTemplateParameters").msgclass InvalidTemplateParameters::ParameterViolation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.InvalidTemplateParameters.ParameterViolation").msgclass DynamicTemplateLaunchParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.DynamicTemplateLaunchParams").msgclass ParameterType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.ParameterType").enummodule end end end end