# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/managedidentities/v1/resource.proto

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/protobuf/timestamp_pb'


descriptor_data = "\n0google/cloud/managedidentities/v1/resource.proto\x12!google.cloud.managedidentities.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9e\x06\n\x06\x44omain\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12J\n\x06labels\x18\x02 \x03(\x0b\x32\x35.google.cloud.managedidentities.v1.Domain.LabelsEntryB\x03\xe0\x41\x01\x12 \n\x13\x61uthorized_networks\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x1e\n\x11reserved_ip_range\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tlocations\x18\x05 \x03(\tB\x03\xe0\x41\x02\x12\x12\n\x05\x61\x64min\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x66qdn\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x05state\x18\r \x01(\x0e\x32/.google.cloud.managedidentities.v1.Domain.StateB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x0e \x01(\tB\x03\xe0\x41\x03\x12=\n\x06trusts\x18\x0f \x03(\x0b\x32(.google.cloud.managedidentities.v1.TrustB\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\"\x8f\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\r\n\tREPAIRING\x10\x05\x12\x1a\n\x16PERFORMING_MAINTENANCE\x10\x06\x12\x0f\n\x0bUNAVAILABLE\x10\x07:f\xea\x41\x63\n\'managedidentities.googleapis.com/Domain\x12\x38projects/{project}/locations/{location}/domains/{domain}\"\xe1\x06\n\x05Trust\x12\x1f\n\x12target_domain_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12K\n\ntrust_type\x18\x02 \x01(\x0e\x32\x32.google.cloud.managedidentities.v1.Trust.TrustTypeB\x03\xe0\x41\x02\x12U\n\x0ftrust_direction\x18\x03 \x01(\x0e\x32\x37.google.cloud.managedidentities.v1.Trust.TrustDirectionB\x03\xe0\x41\x02\x12%\n\x18selective_authentication\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12$\n\x17target_dns_ip_addresses\x18\x05 \x03(\tB\x03\xe0\x41\x02\x12#\n\x16trust_handshake_secret\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x05state\x18\t \x01(\x0e\x32..google.cloud.managedidentities.v1.Trust.StateB\x03\xe0\x41\x03\x12\x1e\n\x11state_description\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x19last_trust_heartbeat_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"i\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08UPDATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\r\n\tCONNECTED\x10\x04\x12\x10\n\x0c\x44ISCONNECTED\x10\x05\"A\n\tTrustType\x12\x1a\n\x16TRUST_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x46OREST\x10\x01\x12\x0c\n\x08\x45XTERNAL\x10\x02\"_\n\x0eTrustDirection\x12\x1f\n\x1bTRUST_DIRECTION_UNSPECIFIED\x10\x00\x12\x0b\n\x07INBOUND\x10\x01\x12\x0c\n\x08OUTBOUND\x10\x02\x12\x11\n\rBIDIRECTIONAL\x10\x03\x42\xfc\x01\n%com.google.cloud.managedidentities.v1B\rResourceProtoP\x01ZScloud.google.com/go/managedidentities/apiv1/managedidentitiespb;managedidentitiespb\xaa\x02!Google.Cloud.ManagedIdentities.V1\xca\x02!Google\\Cloud\\ManagedIdentities\\V1\xea\x02$Google::Cloud::ManagedIdentities::V1b\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"],
  ]
  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 ManagedIdentities
      module V1
        Domain = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedidentities.v1.Domain").msgclass
        Domain::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedidentities.v1.Domain.State").enummodule
        Trust = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedidentities.v1.Trust").msgclass
        Trust::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedidentities.v1.Trust.State").enummodule
        Trust::TrustType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedidentities.v1.Trust.TrustType").enummodule
        Trust::TrustDirection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedidentities.v1.Trust.TrustDirection").enummodule
      end
    end
  end
end
