Sha256: b8c479ae359bce38f4348c1cf3a1b7a9ba60bbbb75b337f631d699dfa63702b4

Contents?: true

Size: 1.09 KB

Versions: 6

Compression:

Stored size: 1.09 KB

Contents

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

require 'google/protobuf'

require 'google/protobuf/duration_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/type/datetime.proto", :syntax => :proto3) do
    add_message "google.type.DateTime" do
      optional :year, :int32, 1
      optional :month, :int32, 2
      optional :day, :int32, 3
      optional :hours, :int32, 4
      optional :minutes, :int32, 5
      optional :seconds, :int32, 6
      optional :nanos, :int32, 7
      oneof :time_offset do
        optional :utc_offset, :message, 8, "google.protobuf.Duration"
        optional :time_zone, :message, 9, "google.type.TimeZone"
      end
    end
    add_message "google.type.TimeZone" do
      optional :id, :string, 1
      optional :version, :string, 2
    end
  end
end

module Google
  module Type
    DateTime = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.DateTime").msgclass
    TimeZone = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.type.TimeZone").msgclass
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
googleapis-common-protos-types-1.3.2 lib/google/type/datetime_pb.rb
googleapis-common-protos-types-1.3.0 lib/google/type/datetime_pb.rb
googleapis-common-protos-types-1.2.0 lib/google/type/datetime_pb.rb
googleapis-common-protos-types-1.1.0 lib/google/type/datetime_pb.rb
googleapis-common-protos-types-1.0.6 lib/google/type/datetime_pb.rb
googleapis-common-protos-types-1.0.5 lib/google/type/datetime_pb.rb