# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: services/verifiable-credentials/v1/verifiable-credentials.proto for package 'services.verifiablecredentials.v1'

require 'grpc'
require 'services/verifiable-credentials/v1/verifiable-credentials_pb'

module Services
  module Verifiablecredentials
    module V1
      module VerifiableCredential
        class Service

          include ::GRPC::GenericService

          self.marshal_class_method = :encode
          self.unmarshal_class_method = :decode
          self.service_name = 'services.verifiablecredentials.v1.VerifiableCredential'

          rpc :Issue, ::Services::Verifiablecredentials::V1::IssueRequest, ::Services::Verifiablecredentials::V1::IssueResponse
          rpc :IssueFromTemplate, ::Services::Verifiablecredentials::V1::IssueFromTemplateRequest, ::Services::Verifiablecredentials::V1::IssueFromTemplateResponse
          # Check credential status by setting the revocation value
          rpc :CheckStatus, ::Services::Verifiablecredentials::V1::CheckStatusRequest, ::Services::Verifiablecredentials::V1::CheckStatusResponse
          # Update credential status by setting the revocation value
          rpc :UpdateStatus, ::Services::Verifiablecredentials::V1::UpdateStatusRequest, ::Services::Verifiablecredentials::V1::UpdateStatusResponse
          rpc :CreateProof, ::Services::Verifiablecredentials::V1::CreateProofRequest, ::Services::Verifiablecredentials::V1::CreateProofResponse
          rpc :VerifyProof, ::Services::Verifiablecredentials::V1::VerifyProofRequest, ::Services::Verifiablecredentials::V1::VerifyProofResponse
          rpc :Send, ::Services::Verifiablecredentials::V1::SendRequest, ::Services::Verifiablecredentials::V1::SendResponse
        end

        Stub = Service.rpc_stub_class
      end
    end
  end
end
