Sha256: 2f047bb5d7bed6653273cbeed49cbc03adb7dac81e286e3105180c20ad0bc364

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

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

require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/api/resource.proto", :syntax => :proto3) do
    add_message "google.api.ResourceDescriptor" do
      optional :type, :string, 1
      repeated :pattern, :string, 2
      optional :name_field, :string, 3
      optional :history, :enum, 4, "google.api.ResourceDescriptor.History"
      optional :plural, :string, 5
      optional :singular, :string, 6
    end
    add_enum "google.api.ResourceDescriptor.History" do
      value :HISTORY_UNSPECIFIED, 0
      value :ORIGINALLY_SINGLE_PATTERN, 1
      value :FUTURE_MULTI_PATTERN, 2
    end
    add_message "google.api.ResourceReference" do
      optional :type, :string, 1
      optional :child_type, :string, 2
    end
  end
end

module Google
  module Api
    ResourceDescriptor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceDescriptor").msgclass
    ResourceDescriptor::History = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceDescriptor.History").enummodule
    ResourceReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.ResourceReference").msgclass
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
googleapis-common-protos-types-1.0.5 lib/google/api/resource_pb.rb