# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/redis/v1beta1/cloud_redis.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/field_mask_pb'
require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.cloud.redis.v1beta1.Instance" do
    optional :name, :string, 1
    optional :display_name, :string, 2
    map :labels, :string, :string, 3
    optional :location_id, :string, 4
    optional :alternative_location_id, :string, 5
    optional :redis_version, :string, 7
    optional :reserved_ip_range, :string, 9
    optional :host, :string, 10
    optional :port, :int32, 11
    optional :current_location_id, :string, 12
    optional :create_time, :message, 13, "google.protobuf.Timestamp"
    optional :state, :enum, 14, "google.cloud.redis.v1beta1.Instance.State"
    optional :status_message, :string, 15
    map :redis_configs, :string, :string, 16
    optional :tier, :enum, 17, "google.cloud.redis.v1beta1.Instance.Tier"
    optional :memory_size_gb, :int32, 18
    optional :authorized_network, :string, 20
  end
  add_enum "google.cloud.redis.v1beta1.Instance.State" do
    value :STATE_UNSPECIFIED, 0
    value :CREATING, 1
    value :READY, 2
    value :UPDATING, 3
    value :DELETING, 4
    value :REPAIRING, 5
    value :MAINTENANCE, 6
  end
  add_enum "google.cloud.redis.v1beta1.Instance.Tier" do
    value :TIER_UNSPECIFIED, 0
    value :BASIC, 1
    value :STANDARD_HA, 3
  end
  add_message "google.cloud.redis.v1beta1.ListInstancesRequest" do
    optional :parent, :string, 1
    optional :page_size, :int32, 2
    optional :page_token, :string, 3
  end
  add_message "google.cloud.redis.v1beta1.ListInstancesResponse" do
    repeated :instances, :message, 1, "google.cloud.redis.v1beta1.Instance"
    optional :next_page_token, :string, 2
  end
  add_message "google.cloud.redis.v1beta1.GetInstanceRequest" do
    optional :name, :string, 1
  end
  add_message "google.cloud.redis.v1beta1.CreateInstanceRequest" do
    optional :parent, :string, 1
    optional :instance_id, :string, 2
    optional :instance, :message, 3, "google.cloud.redis.v1beta1.Instance"
  end
  add_message "google.cloud.redis.v1beta1.UpdateInstanceRequest" do
    optional :update_mask, :message, 1, "google.protobuf.FieldMask"
    optional :instance, :message, 2, "google.cloud.redis.v1beta1.Instance"
  end
  add_message "google.cloud.redis.v1beta1.DeleteInstanceRequest" do
    optional :name, :string, 1
  end
  add_message "google.cloud.redis.v1beta1.LocationMetadata" do
    map :available_zones, :string, :message, 1, "google.cloud.redis.v1beta1.ZoneMetadata"
  end
  add_message "google.cloud.redis.v1beta1.ZoneMetadata" do
  end
end

module Google
  module Cloud
    module Redis
      module V1beta1
        Instance = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.Instance").msgclass
        Instance::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.Instance.State").enummodule
        Instance::Tier = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.Instance.Tier").enummodule
        ListInstancesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.ListInstancesRequest").msgclass
        ListInstancesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.ListInstancesResponse").msgclass
        GetInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.GetInstanceRequest").msgclass
        CreateInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.CreateInstanceRequest").msgclass
        UpdateInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.UpdateInstanceRequest").msgclass
        DeleteInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.DeleteInstanceRequest").msgclass
        LocationMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.LocationMetadata").msgclass
        ZoneMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1beta1.ZoneMetadata").msgclass
      end
    end
  end
end
