Sha256: f82a02001526161adfc616db34f523c9097bd682a9d8b2ec36f40cd0287a1579

Contents?: true

Size: 1.28 KB

Versions: 11

Compression:

Stored size: 1.28 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/example/library/v1/library.proto for package 'google.example.library.v1'

require 'grpc'
require 'google/example/library/v1/library'

module Google
  module Example
    module Library
      module V1
        module LibraryService

          # TODO: add proto service documentation here
          class Service

            include GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.example.library.v1.LibraryService'

            rpc :CreateShelf, CreateShelfRequest, Shelf
            rpc :GetShelf, GetShelfRequest, Shelf
            rpc :ListShelves, ListShelvesRequest, ListShelvesResponse
            rpc :DeleteShelf, DeleteShelfRequest, Empty
            rpc :MergeShelves, MergeShelvesRequest, Shelf
            rpc :CreateBook, CreateBookRequest, Book
            rpc :GetBook, GetBookRequest, Book
            rpc :ListBooks, ListBooksRequest, ListBooksResponse
            rpc :DeleteBook, DeleteBookRequest, Empty
            rpc :UpdateBook, UpdateBookRequest, Book
            rpc :MoveBook, MoveBookRequest, Book
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
gcloud-0.12.2 lib/google/example/library/v1/library_services.rb
gcloud-0.12.1 lib/google/example/library/v1/library_services.rb
gcloud-0.12.0 lib/google/example/library/v1/library_services.rb
gcloud-0.11.0 lib/google/example/library/v1/library_services.rb
gcloud-0.10.0 lib/google/example/library/v1/library_services.rb
gcloud-0.9.0 lib/google/example/library/v1/library_services.rb
gcloud-0.8.2 lib/google/example/library/v1/library_services.rb
gcloud-0.8.0 lib/google/example/library/v1/library_services.rb
gcloud-0.7.2 lib/google/example/library/v1/library_services.rb
gcloud-0.7.1 lib/google/example/library/v1/library_services.rb
gcloud-0.7.0 lib/google/example/library/v1/library_services.rb