# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/monitoring/dashboard/v1/text.proto

require 'google/protobuf'


descriptor_data = "\n)google/monitoring/dashboard/v1/text.proto\x12\x1egoogle.monitoring.dashboard.v1\"\xf8\n\n\x04Text\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\x12;\n\x06\x66ormat\x18\x02 \x01(\x0e\x32+.google.monitoring.dashboard.v1.Text.Format\x12=\n\x05style\x18\x03 \x01(\x0b\x32..google.monitoring.dashboard.v1.Text.TextStyle\x1a\xa9\t\n\tTextStyle\x12\x18\n\x10\x62\x61\x63kground_color\x18\x01 \x01(\t\x12\x12\n\ntext_color\x18\x02 \x01(\t\x12`\n\x14horizontal_alignment\x18\x03 \x01(\x0e\x32\x42.google.monitoring.dashboard.v1.Text.TextStyle.HorizontalAlignment\x12\\\n\x12vertical_alignment\x18\x04 \x01(\x0e\x32@.google.monitoring.dashboard.v1.Text.TextStyle.VerticalAlignment\x12K\n\x07padding\x18\x05 \x01(\x0e\x32:.google.monitoring.dashboard.v1.Text.TextStyle.PaddingSize\x12J\n\tfont_size\x18\x06 \x01(\x0e\x32\x37.google.monitoring.dashboard.v1.Text.TextStyle.FontSize\x12X\n\x10pointer_location\x18\x07 \x01(\x0e\x32>.google.monitoring.dashboard.v1.Text.TextStyle.PointerLocation\"b\n\x13HorizontalAlignment\x12$\n HORIZONTAL_ALIGNMENT_UNSPECIFIED\x10\x00\x12\n\n\x06H_LEFT\x10\x01\x12\x0c\n\x08H_CENTER\x10\x02\x12\x0b\n\x07H_RIGHT\x10\x03\"^\n\x11VerticalAlignment\x12\"\n\x1eVERTICAL_ALIGNMENT_UNSPECIFIED\x10\x00\x12\t\n\x05V_TOP\x10\x01\x12\x0c\n\x08V_CENTER\x10\x02\x12\x0c\n\x08V_BOTTOM\x10\x03\"y\n\x0bPaddingSize\x12\x1c\n\x18PADDING_SIZE_UNSPECIFIED\x10\x00\x12\x11\n\rP_EXTRA_SMALL\x10\x01\x12\x0b\n\x07P_SMALL\x10\x02\x12\x0c\n\x08P_MEDIUM\x10\x03\x12\x0b\n\x07P_LARGE\x10\x04\x12\x11\n\rP_EXTRA_LARGE\x10\x05\"x\n\x08\x46ontSize\x12\x19\n\x15\x46ONT_SIZE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x46S_EXTRA_SMALL\x10\x01\x12\x0c\n\x08\x46S_SMALL\x10\x02\x12\r\n\tFS_MEDIUM\x10\x03\x12\x0c\n\x08\x46S_LARGE\x10\x04\x12\x12\n\x0e\x46S_EXTRA_LARGE\x10\x05\"\x81\x02\n\x0fPointerLocation\x12 \n\x1cPOINTER_LOCATION_UNSPECIFIED\x10\x00\x12\n\n\x06PL_TOP\x10\x01\x12\x0c\n\x08PL_RIGHT\x10\x02\x12\r\n\tPL_BOTTOM\x10\x03\x12\x0b\n\x07PL_LEFT\x10\x04\x12\x0f\n\x0bPL_TOP_LEFT\x10\x05\x12\x10\n\x0cPL_TOP_RIGHT\x10\x06\x12\x10\n\x0cPL_RIGHT_TOP\x10\x07\x12\x13\n\x0fPL_RIGHT_BOTTOM\x10\x08\x12\x13\n\x0fPL_BOTTOM_RIGHT\x10\t\x12\x12\n\x0ePL_BOTTOM_LEFT\x10\n\x12\x12\n\x0ePL_LEFT_BOTTOM\x10\x0b\x12\x0f\n\x0bPL_LEFT_TOP\x10\x0c\"7\n\x06\x46ormat\x12\x16\n\x12\x46ORMAT_UNSPECIFIED\x10\x00\x12\x0c\n\x08MARKDOWN\x10\x01\x12\x07\n\x03RAW\x10\x02\x42\xf2\x01\n\"com.google.monitoring.dashboard.v1B\tTextProtoP\x01ZFcloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb\xaa\x02$Google.Cloud.Monitoring.Dashboard.V1\xca\x02$Google\\Cloud\\Monitoring\\Dashboard\\V1\xea\x02(Google::Cloud::Monitoring::Dashboard::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 = [
  ]
  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 Monitoring
      module Dashboard
        module V1
          Text = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text").msgclass
          Text::TextStyle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.TextStyle").msgclass
          Text::TextStyle::HorizontalAlignment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.TextStyle.HorizontalAlignment").enummodule
          Text::TextStyle::VerticalAlignment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.TextStyle.VerticalAlignment").enummodule
          Text::TextStyle::PaddingSize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.TextStyle.PaddingSize").enummodule
          Text::TextStyle::FontSize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.TextStyle.FontSize").enummodule
          Text::TextStyle::PointerLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.TextStyle.PointerLocation").enummodule
          Text::Format = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.monitoring.dashboard.v1.Text.Format").enummodule
        end
      end
    end
  end
end
