Sha256: 7b894a9189c33922a42d5d56d4f65852dc8a62dedf57ce7befcee68519f6b2d2

Contents?: true

Size: 1.51 KB

Versions: 14

Compression:

Stored size: 1.51 KB

Contents

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

require 'google/protobuf'

require 'google/api/annotations_pb'
Google::Protobuf::DescriptorPool.generated_pool.build 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
  end
end

module Google
  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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
google-cloud-spanner-1.6.1 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-1.6.0 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-1.5.0 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-1.4.0 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-1.3.1 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-1.2.0 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-1.1.1 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-1.1.0 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-1.0.0 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-0.23.2 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-0.23.1 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-0.23.0 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-0.22.0 lib/google/spanner/v1/type_pb.rb
google-cloud-spanner-0.21.0 lib/google/spanner/v1/type_pb.rb