# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.proto

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/field_info_pb'
require 'google/api/resource_pb'
require 'google/cloud/saasplatform/saasservicemgmt/v1beta1/common_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\nJgoogle/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.proto\x12\x31google.cloud.saasplatform.saasservicemgmt.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/saasplatform/saasservicemgmt/v1beta1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd1\r\n\x07Rollout\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x42\n\x07release\x18\x03 \x01(\tB1\xe0\x41\x01\xe0\x41\x05\xfa\x41(\n&saasservicemgmt.googleapis.com/Release\x12\x36\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x01\xe0\x41\x03\x12\x34\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x01\xe0\x41\x03\x12[\n\x05state\x18\n \x01(\x0e\x32G.google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout.RolloutStateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x15state_transition_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x01\xe0\x41\x03\x12G\n\x0croot_rollout\x18\x10 \x01(\tB1\xe0\x41\x03\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Rollout\x12I\n\x0eparent_rollout\x18\x11 \x01(\tB1\xe0\x41\x03\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Rollout\x12+\n\x1erollout_orchestration_strategy\x18\x13 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bunit_filter\x18\x15 \x01(\tB\x03\xe0\x41\x01\x12K\n\x0crollout_kind\x18\x16 \x01(\tB5\xe0\x41\x01\xe0\x41\x05\xfa\x41,\n*saasservicemgmt.googleapis.com/RolloutKind\x12V\n\x05stats\x18\x18 \x01(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutStatsB\x06\xe0\x41\x03\xe0\x41\x01\x12W\n\x07\x63ontrol\x18\x19 \x01(\x0b\x32\x41.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControlB\x03\xe0\x41\x01\x12\\\n\x06labels\x18\xa1Q \x03(\x0b\x32\x46.google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout.LabelsEntryB\x03\xe0\x41\x01\x12\x66\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32K.google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\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\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x02\n\x0cRolloutState\x12\x1d\n\x19ROLLOUT_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15ROLLOUT_STATE_RUNNING\x10\x01\x12\x18\n\x14ROLLOUT_STATE_PAUSED\x10\x02\x12\x1b\n\x17ROLLOUT_STATE_SUCCEEDED\x10\x03\x12\x18\n\x14ROLLOUT_STATE_FAILED\x10\x04\x12\x1b\n\x17ROLLOUT_STATE_CANCELLED\x10\x05\x12\x19\n\x15ROLLOUT_STATE_WAITING\x10\x06\x12\x1c\n\x18ROLLOUT_STATE_CANCELLING\x10\x07\x12\x1a\n\x16ROLLOUT_STATE_RESUMING\x10\x08\x12\x19\n\x15ROLLOUT_STATE_PAUSING\x10\t:}\xea\x41z\n&saasservicemgmt.googleapis.com/Rollout\x12=projects/{project}/locations/{location}/rollouts/{rollout_id}*\x08rollouts2\x07rollout\"\x95\t\n\x0bRolloutKind\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x45\n\tunit_kind\x18\x02 \x01(\tB2\xe0\x41\x02\xe0\x41\x05\xfa\x41)\n\'saasservicemgmt.googleapis.com/UnitKind\x12+\n\x1erollout_orchestration_strategy\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bunit_filter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12}\n\x19update_unit_kind_strategy\x18\x06 \x01(\x0e\x32U.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.UpdateUnitKindStrategyB\x03\xe0\x41\x01\x12^\n\x0c\x65rror_budget\x18\x07 \x01(\x0b\x32>.google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudgetB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12`\n\x06labels\x18\xa1Q \x03(\x0b\x32J.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.LabelsEntryB\x03\xe0\x41\x01\x12j\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32O.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\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\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x90\x01\n\x16UpdateUnitKindStrategy\x12)\n%UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED\x10\x00\x12&\n\"UPDATE_UNIT_KIND_STRATEGY_ON_START\x10\x01\x12#\n\x1fUPDATE_UNIT_KIND_STRATEGY_NEVER\x10\x02:\x93\x01\xea\x41\x8f\x01\n*saasservicemgmt.googleapis.com/RolloutKind\x12\x46projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}*\x0crolloutKinds2\x0brolloutKindB\x0f\n\r_error_budget\"J\n\x0b\x45rrorBudget\x12\x1a\n\rallowed_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1f\n\x12\x61llowed_percentage\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\"n\n\x0cRolloutStats\x12^\n\x13operations_by_state\x18\x02 \x03(\x0b\x32<.google.cloud.saasplatform.saasservicemgmt.v1beta1.AggregateB\x03\xe0\x41\x03\"\xad\x02\n\x0eRolloutControl\x12s\n\nrun_params\x18\x02 \x01(\x0b\x32X.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.RunRolloutActionParamsB\x03\xe0\x41\x01H\x00\x12U\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32@.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutActionB\x03\xe0\x41\x02\x1a>\n\x16RunRolloutActionParams\x12$\n\x17retry_failed_operations\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x42\x0f\n\raction_params*|\n\rRolloutAction\x12\x1e\n\x1aROLLOUT_ACTION_UNSPECIFIED\x10\x00\x12\x16\n\x12ROLLOUT_ACTION_RUN\x10\x01\x12\x18\n\x14ROLLOUT_ACTION_PAUSE\x10\x02\x12\x19\n\x15ROLLOUT_ACTION_CANCEL\x10\x03\x42\xd6\x02\n5com.google.cloud.saasplatform.saasservicemgmt.v1beta1B\x1aSaasRolloutsResourcesProtoP\x01Z_cloud.google.com/go/saasplatform/saasservicemgmt/apiv1beta1/saasservicemgmtpb;saasservicemgmtpb\xaa\x02\x31Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1\xca\x02\x31Google\\Cloud\\SaasPlatform\\SaasServiceMgmt\\V1beta1\xea\x02\x35Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1b\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.saasplatform.saasservicemgmt.v1beta1.Aggregate", "google/cloud/saasplatform/saasservicemgmt/v1beta1/common.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 SaasPlatform
      module SaasServiceMgmt
        module V1beta1
          Rollout = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout").msgclass
          Rollout::RolloutState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout.RolloutState").enummodule
          RolloutKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind").msgclass
          RolloutKind::UpdateUnitKindStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.UpdateUnitKindStrategy").enummodule
          ErrorBudget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudget").msgclass
          RolloutStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutStats").msgclass
          RolloutControl = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl").msgclass
          RolloutControl::RunRolloutActionParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.RunRolloutActionParams").msgclass
          RolloutAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutAction").enummodule
        end
      end
    end
  end
end
