# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/gaming/v1/common.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' descriptor_data = "\n#google/cloud/gaming/v1/common.proto\x12\x16google.cloud.gaming.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xda\x03\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0bunreachable\x18\x08 \x03(\tB\x03\xe0\x41\x03\x12]\n\x10operation_status\x18\t \x03(\x0b\x32>.google.cloud.gaming.v1.OperationMetadata.OperationStatusEntryB\x03\xe0\x41\x03\x1a_\n\x14OperationStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.gaming.v1.OperationStatus:\x02\x38\x01\"\xee\x01\n\x0fOperationStatus\x12\x11\n\x04\x64one\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03\x12\x45\n\nerror_code\x18\x02 \x01(\x0e\x32\x31.google.cloud.gaming.v1.OperationStatus.ErrorCode\x12\x15\n\rerror_message\x18\x03 \x01(\t\"j\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eINTERNAL_ERROR\x10\x01\x12\x15\n\x11PERMISSION_DENIED\x10\x02\x12\x16\n\x12\x43LUSTER_CONNECTION\x10\x03\"\x81\x01\n\rLabelSelector\x12\x41\n\x06labels\x18\x01 \x03(\x0b\x32\x31.google.cloud.gaming.v1.LabelSelector.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x1f\n\rRealmSelector\x12\x0e\n\x06realms\x18\x01 \x03(\t\"\xb1\x01\n\x08Schedule\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11\x63ron_job_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x11\n\tcron_spec\x18\x04 \x01(\t\";\n\nSpecSource\x12\x1f\n\x17game_server_config_name\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"\xad\x04\n\rTargetDetails\x12 \n\x18game_server_cluster_name\x18\x01 \x01(\t\x12#\n\x1bgame_server_deployment_name\x18\x02 \x01(\t\x12O\n\rfleet_details\x18\x03 \x03(\x0b\x32\x38.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails\x1a\x83\x03\n\x12TargetFleetDetails\x12S\n\x05\x66leet\x18\x01 \x01(\x0b\x32\x44.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet\x12\x62\n\nautoscaler\x18\x02 \x01(\x0b\x32N.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler\x1aT\n\x0bTargetFleet\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x37\n\x0bspec_source\x18\x02 \x01(\x0b\x32\".google.cloud.gaming.v1.SpecSource\x1a^\n\x15TargetFleetAutoscaler\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x37\n\x0bspec_source\x18\x02 \x01(\x0b\x32\".google.cloud.gaming.v1.SpecSource\"E\n\x0bTargetState\x12\x36\n\x07\x64\x65tails\x18\x01 \x03(\x0b\x32%.google.cloud.gaming.v1.TargetDetails\"\x9b\x05\n\x14\x44\x65ployedFleetDetails\x12R\n\x0e\x64\x65ployed_fleet\x18\x01 \x01(\x0b\x32:.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet\x12\x61\n\x13\x64\x65ployed_autoscaler\x18\x02 \x01(\x0b\x32\x44.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler\x1a\xc3\x02\n\rDeployedFleet\x12\r\n\x05\x66leet\x18\x01 \x01(\t\x12\x12\n\nfleet_spec\x18\x02 \x01(\t\x12\x37\n\x0bspec_source\x18\x03 \x01(\x0b\x32\".google.cloud.gaming.v1.SpecSource\x12^\n\x06status\x18\x05 \x01(\x0b\x32N.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus\x1av\n\x13\x44\x65ployedFleetStatus\x12\x16\n\x0eready_replicas\x18\x01 \x01(\x03\x12\x1a\n\x12\x61llocated_replicas\x18\x02 \x01(\x03\x12\x19\n\x11reserved_replicas\x18\x03 \x01(\x03\x12\x10\n\x08replicas\x18\x04 \x01(\x03\x1a\x85\x01\n\x17\x44\x65ployedFleetAutoscaler\x12\x12\n\nautoscaler\x18\x01 \x01(\t\x12\x37\n\x0bspec_source\x18\x04 \x01(\x0b\x32\".google.cloud.gaming.v1.SpecSource\x12\x1d\n\x15\x66leet_autoscaler_spec\x18\x03 \x01(\tBR\n\x1a\x63om.google.cloud.gaming.v1P\x01Z2cloud.google.com/go/gaming/apiv1/gamingpb;gamingpbb\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.protobuf.Timestamp", "google/protobuf/timestamp.proto"], ["google.protobuf.Duration", "google/protobuf/duration.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 Gaming module V1 OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.OperationMetadata").msgclass OperationStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.OperationStatus").msgclass OperationStatus::ErrorCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.OperationStatus.ErrorCode").enummodule LabelSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.LabelSelector").msgclass RealmSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.RealmSelector").msgclass Schedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.Schedule").msgclass SpecSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.SpecSource").msgclass TargetDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.TargetDetails").msgclass TargetDetails::TargetFleetDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.TargetDetails.TargetFleetDetails").msgclass TargetDetails::TargetFleetDetails::TargetFleet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet").msgclass TargetDetails::TargetFleetDetails::TargetFleetAutoscaler = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler").msgclass TargetState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.TargetState").msgclass DeployedFleetDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.DeployedFleetDetails").msgclass DeployedFleetDetails::DeployedFleet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet").msgclass DeployedFleetDetails::DeployedFleet::DeployedFleetStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus").msgclass DeployedFleetDetails::DeployedFleetAutoscaler = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler").msgclass end end end end