# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/dataflow/v1beta3/messages.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/protobuf/struct_pb' require 'google/protobuf/timestamp_pb' descriptor_data = "\n&google/dataflow/v1beta3/messages.proto\x12\x17google.dataflow.v1beta3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa3\x01\n\nJobMessage\x12\n\n\x02id\x18\x01 \x01(\t\x12(\n\x04time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cmessage_text\x18\x03 \x01(\t\x12I\n\x12message_importance\x18\x04 \x01(\x0e\x32-.google.dataflow.v1beta3.JobMessageImportance\"\xc9\x01\n\x11StructuredMessage\x12\x14\n\x0cmessage_text\x18\x01 \x01(\t\x12\x13\n\x0bmessage_key\x18\x02 \x01(\t\x12H\n\nparameters\x18\x03 \x03(\x0b\x32\x34.google.dataflow.v1beta3.StructuredMessage.Parameter\x1a?\n\tParameter\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value\"\xb1\x03\n\x10\x41utoscalingEvent\x12\x1b\n\x13\x63urrent_num_workers\x18\x01 \x01(\x03\x12\x1a\n\x12target_num_workers\x18\x02 \x01(\x03\x12R\n\nevent_type\x18\x03 \x01(\x0e\x32>.google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType\x12?\n\x0b\x64\x65scription\x18\x04 \x01(\x0b\x32*.google.dataflow.v1beta3.StructuredMessage\x12(\n\x04time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bworker_pool\x18\x07 \x01(\t\"\x8f\x01\n\x14\x41utoscalingEventType\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\x1e\n\x1aTARGET_NUM_WORKERS_CHANGED\x10\x01\x12\x1f\n\x1b\x43URRENT_NUM_WORKERS_CHANGED\x10\x02\x12\x15\n\x11\x41\x43TUATION_FAILURE\x10\x03\x12\r\n\tNO_CHANGE\x10\x04\"\x9e\x02\n\x16ListJobMessagesRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0e\n\x06job_id\x18\x02 \x01(\t\x12I\n\x12minimum_importance\x18\x03 \x01(\x0e\x32-.google.dataflow.v1beta3.JobMessageImportance\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\x12.\n\nstart_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08location\x18\x08 \x01(\t\"\xb4\x01\n\x17ListJobMessagesResponse\x12\x39\n\x0cjob_messages\x18\x01 \x03(\x0b\x32#.google.dataflow.v1beta3.JobMessage\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x45\n\x12\x61utoscaling_events\x18\x03 \x03(\x0b\x32).google.dataflow.v1beta3.AutoscalingEvent*\xb2\x01\n\x14JobMessageImportance\x12\"\n\x1eJOB_MESSAGE_IMPORTANCE_UNKNOWN\x10\x00\x12\x15\n\x11JOB_MESSAGE_DEBUG\x10\x01\x12\x18\n\x14JOB_MESSAGE_DETAILED\x10\x02\x12\x15\n\x11JOB_MESSAGE_BASIC\x10\x05\x12\x17\n\x13JOB_MESSAGE_WARNING\x10\x03\x12\x15\n\x11JOB_MESSAGE_ERROR\x10\x04\x32\xe7\x03\n\x0fMessagesV1Beta3\x12\xfc\x01\n\x0fListJobMessages\x12/.google.dataflow.v1beta3.ListJobMessagesRequest\x1a\x30.google.dataflow.v1beta3.ListJobMessagesResponse\"\x85\x01\x82\xd3\xe4\x93\x02\x7f\x12G/v1b3/projects/{project_id}/locations/{location}/jobs/{job_id}/messagesZ4\x12\x32/v1b3/projects/{project_id}/jobs/{job_id}/messages\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\xd0\x01\n\x1b\x63om.google.dataflow.v1beta3B\rMessagesProtoP\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 # 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.protobuf.Value", "google/protobuf/struct.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 JobMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.JobMessage").msgclass StructuredMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.StructuredMessage").msgclass StructuredMessage::Parameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.StructuredMessage.Parameter").msgclass AutoscalingEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.AutoscalingEvent").msgclass AutoscalingEvent::AutoscalingEventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.AutoscalingEvent.AutoscalingEventType").enummodule ListJobMessagesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.ListJobMessagesRequest").msgclass ListJobMessagesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.ListJobMessagesResponse").msgclass JobMessageImportance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.dataflow.v1beta3.JobMessageImportance").enummodule end end end end