Sha256: b81ce3e5b3e267fa172ca201292d9246110f4f2c87be80a9ce08058b0ba01b89

Contents?: true

Size: 1.73 KB

Versions: 9

Compression:

Stored size: 1.73 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/spanner/v1/type.proto

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/annotations_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/spanner/v1/type.proto", :syntax => :proto3) do
    add_message "google.spanner.v1.Type" do
      optional :code, :enum, 1, "google.spanner.v1.TypeCode"
      optional :array_element_type, :message, 2, "google.spanner.v1.Type"
      optional :struct_type, :message, 3, "google.spanner.v1.StructType"
    end
    add_message "google.spanner.v1.StructType" do
      repeated :fields, :message, 1, "google.spanner.v1.StructType.Field"
    end
    add_message "google.spanner.v1.StructType.Field" do
      optional :name, :string, 1
      optional :type, :message, 2, "google.spanner.v1.Type"
    end
    add_enum "google.spanner.v1.TypeCode" do
      value :TYPE_CODE_UNSPECIFIED, 0
      value :BOOL, 1
      value :INT64, 2
      value :FLOAT64, 3
      value :TIMESTAMP, 4
      value :DATE, 5
      value :STRING, 6
      value :BYTES, 7
      value :ARRAY, 8
      value :STRUCT, 9
      value :NUMERIC, 10
    end
  end
end

module Google
  module Cloud
    module Spanner
      module V1
        Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.v1.Type").msgclass
        StructType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.v1.StructType").msgclass
        StructType::Field = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.v1.StructType.Field").msgclass
        TypeCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.spanner.v1.TypeCode").enummodule
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
google-cloud-spanner-v1-0.6.1 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-v1-0.6.0 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-v1-0.5.0 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-v1-0.4.0 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-v1-0.3.0 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-v1-0.2.3 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-v1-0.2.2 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-v1-0.2.1 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-v1-0.2.0 lib/google/spanner/v1/type_pb.rb