module SDM::Plumbing

Constants

CA_cert_path

Public Class Methods

convert_account_attachment_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 280
def self.convert_account_attachment_create_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountAttachmentCreateResponse.new()
    plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.account_attachment = convert_account_attachment_to_plumbing(porcelain.account_attachment) unless porcelain.account_attachment == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_account_attachment_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 269
def self.convert_account_attachment_create_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountAttachmentCreateResponse.new()
    porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
    porcelain.account_attachment = convert_account_attachment_to_porcelain(plumbing.account_attachment)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_account_attachment_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 355
def self.convert_account_attachment_delete_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountAttachmentDeleteResponse.new()
    plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_account_attachment_delete_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 345
def self.convert_account_attachment_delete_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountAttachmentDeleteResponse.new()
    porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_account_attachment_get_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 318
def self.convert_account_attachment_get_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountAttachmentGetResponse.new()
    plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.account_attachment = convert_account_attachment_to_plumbing(porcelain.account_attachment) unless porcelain.account_attachment == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_account_attachment_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 307
def self.convert_account_attachment_get_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountAttachmentGetResponse.new()
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    porcelain.account_attachment = convert_account_attachment_to_porcelain(plumbing.account_attachment)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_account_attachment_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 392
def self.convert_account_attachment_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountAttachment.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.account_id = (porcelain.account_id) unless porcelain.account_id == nil
    plumbing.role_id = (porcelain.role_id) unless porcelain.role_id == nil
    plumbing
end
convert_account_attachment_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 381
def self.convert_account_attachment_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountAttachment.new()
    porcelain.id = (plumbing.id)
    porcelain.account_id = (plumbing.account_id)
    porcelain.role_id = (plumbing.role_id)
    porcelain
end
convert_account_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 585
def self.convert_account_create_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountCreateResponse.new()
    plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.account = convert_account_to_plumbing(porcelain.account) unless porcelain.account == nil
    plumbing.token = (porcelain.token) unless porcelain.token == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_account_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 573
def self.convert_account_create_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountCreateResponse.new()
    porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
    porcelain.account = convert_account_to_porcelain(plumbing.account)
    porcelain.token = (plumbing.token)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_account_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 699
def self.convert_account_delete_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountDeleteResponse.new()
    plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_account_delete_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 689
def self.convert_account_delete_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountDeleteResponse.new()
    porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_account_get_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 624
def self.convert_account_get_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountGetResponse.new()
    plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.account = convert_account_to_plumbing(porcelain.account) unless porcelain.account == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_account_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 613
def self.convert_account_get_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountGetResponse.new()
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    porcelain.account = convert_account_to_porcelain(plumbing.account)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_account_grant_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 430
def self.convert_account_grant_create_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountGrantCreateResponse.new()
    plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.account_grant = convert_account_grant_to_plumbing(porcelain.account_grant) unless porcelain.account_grant == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_account_grant_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 419
def self.convert_account_grant_create_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountGrantCreateResponse.new()
    porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
    porcelain.account_grant = convert_account_grant_to_porcelain(plumbing.account_grant)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_account_grant_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 505
def self.convert_account_grant_delete_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountGrantDeleteResponse.new()
    plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_account_grant_delete_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 495
def self.convert_account_grant_delete_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountGrantDeleteResponse.new()
    porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_account_grant_get_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 468
def self.convert_account_grant_get_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountGrantGetResponse.new()
    plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.account_grant = convert_account_grant_to_plumbing(porcelain.account_grant) unless porcelain.account_grant == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_account_grant_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 457
def self.convert_account_grant_get_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountGrantGetResponse.new()
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    porcelain.account_grant = convert_account_grant_to_porcelain(plumbing.account_grant)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_account_grant_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 544
def self.convert_account_grant_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountGrant.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.resource_id = (porcelain.resource_id) unless porcelain.resource_id == nil
    plumbing.account_id = (porcelain.account_id) unless porcelain.account_id == nil
    plumbing.start_from = convert_timestamp_to_plumbing(porcelain.start_from) unless porcelain.start_from == nil
    plumbing.valid_until = convert_timestamp_to_plumbing(porcelain.valid_until) unless porcelain.valid_until == nil
    plumbing
end
convert_account_grant_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 531
def self.convert_account_grant_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountGrant.new()
    porcelain.id = (plumbing.id)
    porcelain.resource_id = (plumbing.resource_id)
    porcelain.account_id = (plumbing.account_id)
    porcelain.start_from = convert_timestamp_to_porcelain(plumbing.start_from)
    porcelain.valid_until = convert_timestamp_to_porcelain(plumbing.valid_until)
    porcelain
end
convert_account_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 725
def self.convert_account_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Account.new()
    if porcelain .instance_of? User
        plumbing.user = convert_user_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Service
        plumbing.service = convert_service_to_plumbing(porcelain)
    end
    plumbing
end
convert_account_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 739
def self.convert_account_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    if plumbing.user != nil
        return convert_user_to_porcelain(plumbing.user)
    end
    if plumbing.service != nil
        return convert_service_to_porcelain(plumbing.service)
    end
end
convert_account_update_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 662
def self.convert_account_update_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountUpdateResponse.new()
    plumbing.meta = convert_update_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.account = convert_account_to_plumbing(porcelain.account) unless porcelain.account == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_account_update_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 651
def self.convert_account_update_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountUpdateResponse.new()
    porcelain.meta = convert_update_response_metadata_to_porcelain(plumbing.meta)
    porcelain.account = convert_account_to_porcelain(plumbing.account)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_aks_basic_auth_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2237
def self.convert_aks_basic_auth_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AKSBasicAuth.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing
end
convert_aks_basic_auth_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2219
def self.convert_aks_basic_auth_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AKSBasicAuth.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.port = (plumbing.port)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain
end
convert_aks_service_account_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2288
def self.convert_aks_service_account_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AKSServiceAccount.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.token = (porcelain.token) unless porcelain.token == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing
end
convert_aks_service_account_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2271
def self.convert_aks_service_account_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AKSServiceAccount.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.port = (plumbing.port)
    porcelain.token = (plumbing.token)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain
end
convert_aks_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2184
def self.convert_aks_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AKS.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
    plumbing.client_certificate = (porcelain.client_certificate) unless porcelain.client_certificate == nil
    plumbing.client_key = (porcelain.client_key) unless porcelain.client_key == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing
end
convert_aks_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2165
def self.convert_aks_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AKS.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.port = (plumbing.port)
    porcelain.certificate_authority = (plumbing.certificate_authority)
    porcelain.client_certificate = (plumbing.client_certificate)
    porcelain.client_key = (plumbing.client_key)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain
end
convert_amazon_eks_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2078
def self.convert_amazon_eks_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AmazonEKS.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
    plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
    plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
    plumbing.region = (porcelain.region) unless porcelain.region == nil
    plumbing.cluster_name = (porcelain.cluster_name) unless porcelain.cluster_name == nil
    plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing
end
convert_amazon_eks_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2057
def self.convert_amazon_eks_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AmazonEKS.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.access_key = (plumbing.access_key)
    porcelain.secret_access_key = (plumbing.secret_access_key)
    porcelain.certificate_authority = (plumbing.certificate_authority)
    porcelain.region = (plumbing.region)
    porcelain.cluster_name = (plumbing.cluster_name)
    porcelain.role_arn = (plumbing.role_arn)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain
end
convert_amazon_es_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1651
def self.convert_amazon_es_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AmazonES.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.region = (porcelain.region) unless porcelain.region == nil
    plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing
end
convert_amazon_es_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1633
def self.convert_amazon_es_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AmazonES.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.region = (plumbing.region)
    porcelain.secret_access_key = (plumbing.secret_access_key)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.access_key = (plumbing.access_key)
    porcelain.port_override = (plumbing.port_override)
    porcelain
end
convert_athena_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1231
def self.convert_athena_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Athena.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
    plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
    plumbing.output = (porcelain.output) unless porcelain.output == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.region = (porcelain.region) unless porcelain.region == nil
    plumbing
end
convert_athena_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1213
def self.convert_athena_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Athena.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.access_key = (plumbing.access_key)
    porcelain.secret_access_key = (plumbing.secret_access_key)
    porcelain.output = (plumbing.output)
    porcelain.port_override = (plumbing.port_override)
    porcelain.region = (plumbing.region)
    porcelain
end
convert_aurora_mysql_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2676
def self.convert_aurora_mysql_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AuroraMysql.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing
end
convert_aurora_mysql_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2657
def self.convert_aurora_mysql_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AuroraMysql.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain
end
convert_aurora_postgres_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3005
def self.convert_aurora_postgres_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AuroraPostgres.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing
end
convert_aurora_postgres_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2985
def self.convert_aurora_postgres_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AuroraPostgres.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain.override_database = (plumbing.override_database)
    porcelain
end
convert_aws_store_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4827
def self.convert_aws_store_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AWSStore.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.region = (porcelain.region) unless porcelain.region == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_aws_store_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4815
def self.convert_aws_store_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AWSStore.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.region = (plumbing.region)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_aws_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1282
def self.convert_aws_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AWS.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
    plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
    plumbing.healthcheck_region = (porcelain.healthcheck_region) unless porcelain.healthcheck_region == nil
    plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
    plumbing
end
convert_aws_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1265
def self.convert_aws_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AWS.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.access_key = (plumbing.access_key)
    porcelain.secret_access_key = (plumbing.secret_access_key)
    porcelain.healthcheck_region = (plumbing.healthcheck_region)
    porcelain.role_arn = (plumbing.role_arn)
    porcelain
end
convert_big_query_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1333
def self.convert_big_query_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::BigQuery.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.private_key = (porcelain.private_key) unless porcelain.private_key == nil
    plumbing.project = (porcelain.project) unless porcelain.project == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_big_query_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1315
def self.convert_big_query_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = BigQuery.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.private_key = (plumbing.private_key)
    porcelain.project = (plumbing.project)
    porcelain.port_override = (plumbing.port_override)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_cassandra_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1386
def self.convert_cassandra_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Cassandra.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing
end
convert_cassandra_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1367
def self.convert_cassandra_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Cassandra.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain
end
convert_citus_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3229
def self.convert_citus_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Citus.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing
end
convert_citus_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3209
def self.convert_citus_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Citus.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain.override_database = (plumbing.override_database)
    porcelain
end
convert_clustrix_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2730
def self.convert_clustrix_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Clustrix.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing
end
convert_clustrix_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2711
def self.convert_clustrix_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Clustrix.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain
end
convert_cockroach_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3117
def self.convert_cockroach_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Cockroach.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing
end
convert_cockroach_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3097
def self.convert_cockroach_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Cockroach.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain.override_database = (plumbing.override_database)
    porcelain
end
convert_control_panel_get_sshca_public_key_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 862
def self.convert_control_panel_get_sshca_public_key_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::ControlPanelGetSSHCAPublicKeyResponse.new()
    plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.public_key = (porcelain.public_key) unless porcelain.public_key == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_control_panel_get_sshca_public_key_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 851
def self.convert_control_panel_get_sshca_public_key_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = ControlPanelGetSSHCAPublicKeyResponse.new()
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    porcelain.public_key = (plumbing.public_key)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_create_response_metadata_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 109
def self.convert_create_response_metadata_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::CreateResponseMetadata.new()
    plumbing
end
convert_create_response_metadata_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 101
def self.convert_create_response_metadata_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = CreateResponseMetadata.new()
    porcelain
end
convert_db_2_i_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1440
def self.convert_db_2_i_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::DB2I.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing
end
convert_db_2_i_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1421
def self.convert_db_2_i_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = DB2I.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain
end
convert_db_2_luw_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1494
def self.convert_db_2_luw_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::DB2LUW.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing
end
convert_db_2_luw_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1475
def self.convert_db_2_luw_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = DB2LUW.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain
end
convert_delete_response_metadata_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 205
def self.convert_delete_response_metadata_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::DeleteResponseMetadata.new()
    plumbing
end
convert_delete_response_metadata_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 197
def self.convert_delete_response_metadata_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = DeleteResponseMetadata.new()
    porcelain
end
convert_druid_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1547
def self.convert_druid_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Druid.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing
end
convert_druid_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1529
def self.convert_druid_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Druid.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.port_override = (plumbing.port_override)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain
end
convert_dynamo_db_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1599
def self.convert_dynamo_db_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::DynamoDB.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
    plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
    plumbing.region = (porcelain.region) unless porcelain.region == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing
end
convert_dynamo_db_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1581
def self.convert_dynamo_db_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = DynamoDB.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.access_key = (plumbing.access_key)
    porcelain.secret_access_key = (plumbing.secret_access_key)
    porcelain.region = (plumbing.region)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.port_override = (plumbing.port_override)
    porcelain
end
convert_elastic_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1704
def self.convert_elastic_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Elastic.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing
end
convert_elastic_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1685
def self.convert_elastic_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Elastic.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain
end
convert_elasticache_redis_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3441
def self.convert_elasticache_redis_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::ElasticacheRedis.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing
end
convert_elasticache_redis_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3423
def self.convert_elasticache_redis_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = ElasticacheRedis.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.port_override = (plumbing.port_override)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain
end
convert_error_to_porcelain(err) click to toggle source
# File lib/grpc/plumbing.rb, line 5091
def self.convert_error_to_porcelain(err)
    if not err .is_a? GRPC::BadStatus
        return RPCError.new(err, 2) # Unknown
    end

    if err.code == 4
        return DeadlineExceededError.new(err.message)
    end

    status = err.to_rpc_status
    if status == nil
        return RPCError.new(err.message, err.code)
    end
    case err.code
        when 3
            return BadRequestError.new(err.message)
        when 5
            return NotFoundError.new(err.message)
        when 6
            return AlreadyExistsError.new(err.message)
        when 7
            return PermissionError.new(err.message)
        when 8
            status.details.each do |detail|
                if detail.type_url == "type.googleapis.com/v1.RateLimitMetadata"
                    rate_limit = detail.unpack V1::RateLimitMetadata
                    return RateLimitError.new(err.message, convert_rate_limit_metadata_to_porcelain(rate_limit))
                end
            end
        when 13
            return InternalError.new(err.message)
        when 16
            return AuthenticationError.new(err.message)
    end
    return RPCError.new(err.message, err.code)
end
convert_gateway_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4097
def self.convert_gateway_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Gateway.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.state = (porcelain.state) unless porcelain.state == nil
    plumbing.listen_address = (porcelain.listen_address) unless porcelain.listen_address == nil
    plumbing.bind_address = (porcelain.bind_address) unless porcelain.bind_address == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_gateway_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4083
def self.convert_gateway_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Gateway.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.state = (plumbing.state)
    porcelain.listen_address = (plumbing.listen_address)
    porcelain.bind_address = (plumbing.bind_address)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_get_response_metadata_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 141
def self.convert_get_response_metadata_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::GetResponseMetadata.new()
    plumbing
end
convert_get_response_metadata_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 133
def self.convert_get_response_metadata_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = GetResponseMetadata.new()
    porcelain
end
convert_google_gke_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2132
def self.convert_google_gke_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::GoogleGKE.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
    plumbing.service_account_key = (porcelain.service_account_key) unless porcelain.service_account_key == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing
end
convert_google_gke_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2115
def self.convert_google_gke_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = GoogleGKE.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.certificate_authority = (plumbing.certificate_authority)
    porcelain.service_account_key = (plumbing.service_account_key)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain
end
convert_greenplum_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3061
def self.convert_greenplum_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Greenplum.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing
end
convert_greenplum_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3041
def self.convert_greenplum_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Greenplum.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain.override_database = (plumbing.override_database)
    porcelain
end
convert_http_auth_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1866
def self.convert_http_auth_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::HTTPAuth.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.url = (porcelain.url) unless porcelain.url == nil
    plumbing.healthcheck_path = (porcelain.healthcheck_path) unless porcelain.healthcheck_path == nil
    plumbing.auth_header = (porcelain.auth_header) unless porcelain.auth_header == nil
    plumbing.headers_blacklist = (porcelain.headers_blacklist) unless porcelain.headers_blacklist == nil
    plumbing.default_path = (porcelain.default_path) unless porcelain.default_path == nil
    plumbing.subdomain = (porcelain.subdomain) unless porcelain.subdomain == nil
    plumbing
end
convert_http_auth_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1847
def self.convert_http_auth_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = HTTPAuth.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.url = (plumbing.url)
    porcelain.healthcheck_path = (plumbing.healthcheck_path)
    porcelain.auth_header = (plumbing.auth_header)
    porcelain.headers_blacklist = (plumbing.headers_blacklist)
    porcelain.default_path = (plumbing.default_path)
    porcelain.subdomain = (plumbing.subdomain)
    porcelain
end
convert_http_basic_auth_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1759
def self.convert_http_basic_auth_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::HTTPBasicAuth.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.url = (porcelain.url) unless porcelain.url == nil
    plumbing.healthcheck_path = (porcelain.healthcheck_path) unless porcelain.healthcheck_path == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.headers_blacklist = (porcelain.headers_blacklist) unless porcelain.headers_blacklist == nil
    plumbing.default_path = (porcelain.default_path) unless porcelain.default_path == nil
    plumbing.subdomain = (porcelain.subdomain) unless porcelain.subdomain == nil
    plumbing
end
convert_http_basic_auth_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1739
def self.convert_http_basic_auth_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = HTTPBasicAuth.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.url = (plumbing.url)
    porcelain.healthcheck_path = (plumbing.healthcheck_path)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.headers_blacklist = (plumbing.headers_blacklist)
    porcelain.default_path = (plumbing.default_path)
    porcelain.subdomain = (plumbing.subdomain)
    porcelain
end
convert_http_no_auth_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1813
def self.convert_http_no_auth_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::HTTPNoAuth.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.url = (porcelain.url) unless porcelain.url == nil
    plumbing.healthcheck_path = (porcelain.healthcheck_path) unless porcelain.healthcheck_path == nil
    plumbing.headers_blacklist = (porcelain.headers_blacklist) unless porcelain.headers_blacklist == nil
    plumbing.default_path = (porcelain.default_path) unless porcelain.default_path == nil
    plumbing.subdomain = (porcelain.subdomain) unless porcelain.subdomain == nil
    plumbing
end
convert_http_no_auth_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1795
def self.convert_http_no_auth_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = HTTPNoAuth.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.url = (plumbing.url)
    porcelain.healthcheck_path = (plumbing.healthcheck_path)
    porcelain.headers_blacklist = (plumbing.headers_blacklist)
    porcelain.default_path = (plumbing.default_path)
    porcelain.subdomain = (plumbing.subdomain)
    porcelain
end
convert_kubernetes_basic_auth_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1973
def self.convert_kubernetes_basic_auth_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::KubernetesBasicAuth.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing
end
convert_kubernetes_basic_auth_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1955
def self.convert_kubernetes_basic_auth_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = KubernetesBasicAuth.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.port = (plumbing.port)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain
end
convert_kubernetes_service_account_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2024
def self.convert_kubernetes_service_account_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::KubernetesServiceAccount.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.token = (porcelain.token) unless porcelain.token == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing
end
convert_kubernetes_service_account_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2007
def self.convert_kubernetes_service_account_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = KubernetesServiceAccount.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.port = (plumbing.port)
    porcelain.token = (plumbing.token)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain
end
convert_kubernetes_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1920
def self.convert_kubernetes_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Kubernetes.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
    plumbing.client_certificate = (porcelain.client_certificate) unless porcelain.client_certificate == nil
    plumbing.client_key = (porcelain.client_key) unless porcelain.client_key == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing
end
convert_kubernetes_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1901
def self.convert_kubernetes_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Kubernetes.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.port = (plumbing.port)
    porcelain.certificate_authority = (plumbing.certificate_authority)
    porcelain.client_certificate = (plumbing.client_certificate)
    porcelain.client_key = (plumbing.client_key)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain
end
convert_maria_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2784
def self.convert_maria_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Maria.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing
end
convert_maria_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2765
def self.convert_maria_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Maria.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain
end
convert_memcached_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2337
def self.convert_memcached_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Memcached.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing
end
convert_memcached_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2321
def self.convert_memcached_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Memcached.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain
end
convert_memsql_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2838
def self.convert_memsql_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Memsql.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing
end
convert_memsql_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2819
def self.convert_memsql_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Memsql.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain
end
convert_mongo_host_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2507
def self.convert_mongo_host_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::MongoHost.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing
end
convert_mongo_host_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2487
def self.convert_mongo_host_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = MongoHost.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.auth_database = (plumbing.auth_database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain
end
convert_mongo_legacy_host_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2390
def self.convert_mongo_legacy_host_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::MongoLegacyHost.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.replica_set = (porcelain.replica_set) unless porcelain.replica_set == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing
end
convert_mongo_legacy_host_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2369
def self.convert_mongo_legacy_host_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = MongoLegacyHost.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.auth_database = (plumbing.auth_database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.replica_set = (plumbing.replica_set)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain
end
convert_mongo_legacy_replicaset_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2449
def self.convert_mongo_legacy_replicaset_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::MongoLegacyReplicaset.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.replica_set = (porcelain.replica_set) unless porcelain.replica_set == nil
    plumbing.connect_to_replica = (porcelain.connect_to_replica) unless porcelain.connect_to_replica == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing
end
convert_mongo_legacy_replicaset_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2427
def self.convert_mongo_legacy_replicaset_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = MongoLegacyReplicaset.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.auth_database = (plumbing.auth_database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.replica_set = (plumbing.replica_set)
    porcelain.connect_to_replica = (plumbing.connect_to_replica)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain
end
convert_mongo_replica_set_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2565
def self.convert_mongo_replica_set_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::MongoReplicaSet.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.replica_set = (porcelain.replica_set) unless porcelain.replica_set == nil
    plumbing.connect_to_replica = (porcelain.connect_to_replica) unless porcelain.connect_to_replica == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing
end
convert_mongo_replica_set_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2543
def self.convert_mongo_replica_set_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = MongoReplicaSet.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.auth_database = (plumbing.auth_database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.replica_set = (plumbing.replica_set)
    porcelain.connect_to_replica = (plumbing.connect_to_replica)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain
end
convert_mysql_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2622
def self.convert_mysql_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Mysql.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing
end
convert_mysql_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2603
def self.convert_mysql_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Mysql.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain
end
convert_node_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3861
def self.convert_node_create_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::NodeCreateResponse.new()
    plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.node = convert_node_to_plumbing(porcelain.node) unless porcelain.node == nil
    plumbing.token = (porcelain.token) unless porcelain.token == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_node_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3849
def self.convert_node_create_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = NodeCreateResponse.new()
    porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
    porcelain.node = convert_node_to_porcelain(plumbing.node)
    porcelain.token = (plumbing.token)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_node_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3975
def self.convert_node_delete_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::NodeDeleteResponse.new()
    plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_node_delete_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3965
def self.convert_node_delete_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = NodeDeleteResponse.new()
    porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_node_get_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3900
def self.convert_node_get_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::NodeGetResponse.new()
    plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.node = convert_node_to_plumbing(porcelain.node) unless porcelain.node == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_node_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3889
def self.convert_node_get_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = NodeGetResponse.new()
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    porcelain.node = convert_node_to_porcelain(plumbing.node)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_node_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4001
def self.convert_node_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Node.new()
    if porcelain .instance_of? Relay
        plumbing.relay = convert_relay_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Gateway
        plumbing.gateway = convert_gateway_to_plumbing(porcelain)
    end
    plumbing
end
convert_node_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4015
def self.convert_node_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    if plumbing.relay != nil
        return convert_relay_to_porcelain(plumbing.relay)
    end
    if plumbing.gateway != nil
        return convert_gateway_to_porcelain(plumbing.gateway)
    end
end
convert_node_update_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3938
def self.convert_node_update_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::NodeUpdateResponse.new()
    plumbing.meta = convert_update_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.node = convert_node_to_plumbing(porcelain.node) unless porcelain.node == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_node_update_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3927
def self.convert_node_update_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = NodeUpdateResponse.new()
    porcelain.meta = convert_update_response_metadata_to_porcelain(plumbing.meta)
    porcelain.node = convert_node_to_porcelain(plumbing.node)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_oracle_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2893
def self.convert_oracle_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Oracle.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing
end
convert_oracle_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2873
def self.convert_oracle_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Oracle.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain
end
convert_postgres_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2949
def self.convert_postgres_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Postgres.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing
end
convert_postgres_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2929
def self.convert_postgres_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Postgres.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain.override_database = (plumbing.override_database)
    porcelain
end
convert_presto_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3285
def self.convert_presto_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Presto.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing
end
convert_presto_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3265
def self.convert_presto_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Presto.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain.username = (plumbing.username)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain
end
convert_rate_limit_metadata_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 241
def self.convert_rate_limit_metadata_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RateLimitMetadata.new()
    plumbing.limit = (porcelain.limit) unless porcelain.limit == nil
    plumbing.remaining = (porcelain.remaining) unless porcelain.remaining == nil
    plumbing.reset_at = convert_timestamp_to_plumbing(porcelain.reset_at) unless porcelain.reset_at == nil
    plumbing.bucket = (porcelain.bucket) unless porcelain.bucket == nil
    plumbing
end
convert_rate_limit_metadata_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 229
def self.convert_rate_limit_metadata_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RateLimitMetadata.new()
    porcelain.limit = (plumbing.limit)
    porcelain.remaining = (plumbing.remaining)
    porcelain.reset_at = convert_timestamp_to_porcelain(plumbing.reset_at)
    porcelain.bucket = (plumbing.bucket)
    porcelain
end
convert_rdp_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3339
def self.convert_rdp_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RDP.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing
end
convert_rdp_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3321
def self.convert_rdp_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RDP.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain
end
convert_redis_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3390
def self.convert_redis_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Redis.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing
end
convert_redis_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3373
def self.convert_redis_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Redis.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.port_override = (plumbing.port_override)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain
end
convert_redshift_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3173
def self.convert_redshift_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Redshift.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing
end
convert_redshift_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3153
def self.convert_redshift_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Redshift.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain.override_database = (plumbing.override_database)
    porcelain
end
convert_relay_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4055
def self.convert_relay_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Relay.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.state = (porcelain.state) unless porcelain.state == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_relay_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4043
def self.convert_relay_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Relay.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.state = (plumbing.state)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_repeated_account_attachment_create_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 290
def self.convert_repeated_account_attachment_create_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_account_attachment_create_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_account_attachment_create_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 299
def self.convert_repeated_account_attachment_create_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_account_attachment_create_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_account_attachment_delete_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 364
def self.convert_repeated_account_attachment_delete_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_account_attachment_delete_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_account_attachment_delete_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 373
def self.convert_repeated_account_attachment_delete_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_account_attachment_delete_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_account_attachment_get_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 328
def self.convert_repeated_account_attachment_get_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_account_attachment_get_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_account_attachment_get_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 337
def self.convert_repeated_account_attachment_get_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_account_attachment_get_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_account_attachment_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 402
def self.convert_repeated_account_attachment_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_account_attachment_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_account_attachment_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 411
def self.convert_repeated_account_attachment_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_account_attachment_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_account_create_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 596
def self.convert_repeated_account_create_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_account_create_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_account_create_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 605
def self.convert_repeated_account_create_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_account_create_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_account_delete_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 708
def self.convert_repeated_account_delete_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_account_delete_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_account_delete_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 717
def self.convert_repeated_account_delete_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_account_delete_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_account_get_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 634
def self.convert_repeated_account_get_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_account_get_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_account_get_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 643
def self.convert_repeated_account_get_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_account_get_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_account_grant_create_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 440
def self.convert_repeated_account_grant_create_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_account_grant_create_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_account_grant_create_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 449
def self.convert_repeated_account_grant_create_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_account_grant_create_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_account_grant_delete_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 514
def self.convert_repeated_account_grant_delete_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_account_grant_delete_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_account_grant_delete_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 523
def self.convert_repeated_account_grant_delete_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_account_grant_delete_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_account_grant_get_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 478
def self.convert_repeated_account_grant_get_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_account_grant_get_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_account_grant_get_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 487
def self.convert_repeated_account_grant_get_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_account_grant_get_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_account_grant_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 556
def self.convert_repeated_account_grant_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_account_grant_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_account_grant_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 565
def self.convert_repeated_account_grant_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_account_grant_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_account_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 750
def self.convert_repeated_account_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_account_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_account_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 759
def self.convert_repeated_account_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_account_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_account_update_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 672
def self.convert_repeated_account_update_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_account_update_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_account_update_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 681
def self.convert_repeated_account_update_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_account_update_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_aks_basic_auth_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2254
def self.convert_repeated_aks_basic_auth_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_aks_basic_auth_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_aks_basic_auth_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2263
def self.convert_repeated_aks_basic_auth_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_aks_basic_auth_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_aks_service_account_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2304
def self.convert_repeated_aks_service_account_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_aks_service_account_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_aks_service_account_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2313
def self.convert_repeated_aks_service_account_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_aks_service_account_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_aks_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2202
def self.convert_repeated_aks_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_aks_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_aks_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2211
def self.convert_repeated_aks_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_aks_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_amazon_eks_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2098
def self.convert_repeated_amazon_eks_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_amazon_eks_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_amazon_eks_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2107
def self.convert_repeated_amazon_eks_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_amazon_eks_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_amazon_es_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1668
def self.convert_repeated_amazon_es_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_amazon_es_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_amazon_es_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1677
def self.convert_repeated_amazon_es_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_amazon_es_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_athena_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1248
def self.convert_repeated_athena_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_athena_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_athena_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1257
def self.convert_repeated_athena_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_athena_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_aurora_mysql_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2694
def self.convert_repeated_aurora_mysql_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_aurora_mysql_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_aurora_mysql_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2703
def self.convert_repeated_aurora_mysql_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_aurora_mysql_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_aurora_postgres_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3024
def self.convert_repeated_aurora_postgres_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_aurora_postgres_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_aurora_postgres_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3033
def self.convert_repeated_aurora_postgres_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_aurora_postgres_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_aws_store_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4838
def self.convert_repeated_aws_store_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_aws_store_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_aws_store_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4847
def self.convert_repeated_aws_store_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_aws_store_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_aws_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1298
def self.convert_repeated_aws_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_aws_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_aws_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1307
def self.convert_repeated_aws_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_aws_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_big_query_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1350
def self.convert_repeated_big_query_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_big_query_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_big_query_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1359
def self.convert_repeated_big_query_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_big_query_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_cassandra_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1404
def self.convert_repeated_cassandra_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_cassandra_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_cassandra_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1413
def self.convert_repeated_cassandra_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_cassandra_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_citus_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3248
def self.convert_repeated_citus_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_citus_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_citus_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3257
def self.convert_repeated_citus_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_citus_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_clustrix_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2748
def self.convert_repeated_clustrix_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_clustrix_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_clustrix_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2757
def self.convert_repeated_clustrix_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_clustrix_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_cockroach_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3136
def self.convert_repeated_cockroach_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_cockroach_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_cockroach_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3145
def self.convert_repeated_cockroach_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_cockroach_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_control_panel_get_sshca_public_key_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 872
def self.convert_repeated_control_panel_get_sshca_public_key_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_control_panel_get_sshca_public_key_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_control_panel_get_sshca_public_key_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 881
def self.convert_repeated_control_panel_get_sshca_public_key_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_control_panel_get_sshca_public_key_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_create_response_metadata_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 116
def self.convert_repeated_create_response_metadata_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_create_response_metadata_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_create_response_metadata_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 125
def self.convert_repeated_create_response_metadata_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_create_response_metadata_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_db_2_i_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1458
def self.convert_repeated_db_2_i_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_db_2_i_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_db_2_i_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1467
def self.convert_repeated_db_2_i_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_db_2_i_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_db_2_luw_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1512
def self.convert_repeated_db_2_luw_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_db_2_luw_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_db_2_luw_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1521
def self.convert_repeated_db_2_luw_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_db_2_luw_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_delete_response_metadata_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 212
def self.convert_repeated_delete_response_metadata_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_delete_response_metadata_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_delete_response_metadata_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 221
def self.convert_repeated_delete_response_metadata_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_delete_response_metadata_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_druid_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1564
def self.convert_repeated_druid_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_druid_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_druid_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1573
def self.convert_repeated_druid_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_druid_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_dynamo_db_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1616
def self.convert_repeated_dynamo_db_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_dynamo_db_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_dynamo_db_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1625
def self.convert_repeated_dynamo_db_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_dynamo_db_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_elastic_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1722
def self.convert_repeated_elastic_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_elastic_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_elastic_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1731
def self.convert_repeated_elastic_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_elastic_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_elasticache_redis_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3458
def self.convert_repeated_elasticache_redis_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_elasticache_redis_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_elasticache_redis_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3467
def self.convert_repeated_elasticache_redis_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_elasticache_redis_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_gateway_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4110
def self.convert_repeated_gateway_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_gateway_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_gateway_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4119
def self.convert_repeated_gateway_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_gateway_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_get_response_metadata_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 148
def self.convert_repeated_get_response_metadata_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_get_response_metadata_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_get_response_metadata_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 157
def self.convert_repeated_get_response_metadata_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_get_response_metadata_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_google_gke_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2148
def self.convert_repeated_google_gke_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_google_gke_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_google_gke_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2157
def self.convert_repeated_google_gke_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_google_gke_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_greenplum_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3080
def self.convert_repeated_greenplum_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_greenplum_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_greenplum_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3089
def self.convert_repeated_greenplum_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_greenplum_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_http_auth_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1884
def self.convert_repeated_http_auth_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_http_auth_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_http_auth_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1893
def self.convert_repeated_http_auth_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_http_auth_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_http_basic_auth_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1778
def self.convert_repeated_http_basic_auth_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_http_basic_auth_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_http_basic_auth_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1787
def self.convert_repeated_http_basic_auth_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_http_basic_auth_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_http_no_auth_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1830
def self.convert_repeated_http_no_auth_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_http_no_auth_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_http_no_auth_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1839
def self.convert_repeated_http_no_auth_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_http_no_auth_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_kubernetes_basic_auth_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1990
def self.convert_repeated_kubernetes_basic_auth_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_kubernetes_basic_auth_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_kubernetes_basic_auth_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1999
def self.convert_repeated_kubernetes_basic_auth_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_kubernetes_basic_auth_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_kubernetes_service_account_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2040
def self.convert_repeated_kubernetes_service_account_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_kubernetes_service_account_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_kubernetes_service_account_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2049
def self.convert_repeated_kubernetes_service_account_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_kubernetes_service_account_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_kubernetes_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1938
def self.convert_repeated_kubernetes_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_kubernetes_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_kubernetes_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1947
def self.convert_repeated_kubernetes_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_kubernetes_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_maria_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2802
def self.convert_repeated_maria_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_maria_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_maria_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2811
def self.convert_repeated_maria_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_maria_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_memcached_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2352
def self.convert_repeated_memcached_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_memcached_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_memcached_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2361
def self.convert_repeated_memcached_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_memcached_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_memsql_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2856
def self.convert_repeated_memsql_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_memsql_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_memsql_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2865
def self.convert_repeated_memsql_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_memsql_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_mongo_host_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2526
def self.convert_repeated_mongo_host_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_mongo_host_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_mongo_host_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2535
def self.convert_repeated_mongo_host_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_mongo_host_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_mongo_legacy_host_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2410
def self.convert_repeated_mongo_legacy_host_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_mongo_legacy_host_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_mongo_legacy_host_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2419
def self.convert_repeated_mongo_legacy_host_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_mongo_legacy_host_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_mongo_legacy_replicaset_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2470
def self.convert_repeated_mongo_legacy_replicaset_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_mongo_legacy_replicaset_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_mongo_legacy_replicaset_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2479
def self.convert_repeated_mongo_legacy_replicaset_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_mongo_legacy_replicaset_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_mongo_replica_set_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2586
def self.convert_repeated_mongo_replica_set_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_mongo_replica_set_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_mongo_replica_set_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2595
def self.convert_repeated_mongo_replica_set_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_mongo_replica_set_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_mysql_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2640
def self.convert_repeated_mysql_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_mysql_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_mysql_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2649
def self.convert_repeated_mysql_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_mysql_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_node_create_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3872
def self.convert_repeated_node_create_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_node_create_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_node_create_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3881
def self.convert_repeated_node_create_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_node_create_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_node_delete_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3984
def self.convert_repeated_node_delete_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_node_delete_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_node_delete_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3993
def self.convert_repeated_node_delete_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_node_delete_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_node_get_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3910
def self.convert_repeated_node_get_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_node_get_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_node_get_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3919
def self.convert_repeated_node_get_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_node_get_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_node_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4026
def self.convert_repeated_node_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_node_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_node_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4035
def self.convert_repeated_node_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_node_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_node_update_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3948
def self.convert_repeated_node_update_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_node_update_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_node_update_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3957
def self.convert_repeated_node_update_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_node_update_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_oracle_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2912
def self.convert_repeated_oracle_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_oracle_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_oracle_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2921
def self.convert_repeated_oracle_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_oracle_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_postgres_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2968
def self.convert_repeated_postgres_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_postgres_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_postgres_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2977
def self.convert_repeated_postgres_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_postgres_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_presto_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3304
def self.convert_repeated_presto_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_presto_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_presto_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3313
def self.convert_repeated_presto_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_presto_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_rate_limit_metadata_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 252
def self.convert_repeated_rate_limit_metadata_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_rate_limit_metadata_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_rate_limit_metadata_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 261
def self.convert_repeated_rate_limit_metadata_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_rate_limit_metadata_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_rdp_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3356
def self.convert_repeated_rdp_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_rdp_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_rdp_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3365
def self.convert_repeated_rdp_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_rdp_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_redis_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3406
def self.convert_repeated_redis_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_redis_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_redis_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3415
def self.convert_repeated_redis_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_redis_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_redshift_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3192
def self.convert_repeated_redshift_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_redshift_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_redshift_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3201
def self.convert_repeated_redshift_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_redshift_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_relay_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4066
def self.convert_repeated_relay_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_relay_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_relay_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4075
def self.convert_repeated_relay_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_relay_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_resource_create_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4148
def self.convert_repeated_resource_create_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_resource_create_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_resource_create_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4157
def self.convert_repeated_resource_create_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_resource_create_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_resource_delete_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4260
def self.convert_repeated_resource_delete_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_resource_delete_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_resource_delete_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4269
def self.convert_repeated_resource_delete_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_resource_delete_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_resource_get_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4186
def self.convert_repeated_resource_get_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_resource_get_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_resource_get_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4195
def self.convert_repeated_resource_get_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_resource_get_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_resource_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1196
def self.convert_repeated_resource_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_resource_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_resource_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1205
def self.convert_repeated_resource_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_resource_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_resource_update_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4224
def self.convert_repeated_resource_update_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_resource_update_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_resource_update_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4233
def self.convert_repeated_resource_update_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_resource_update_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_role_attachment_create_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4298
def self.convert_repeated_role_attachment_create_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_role_attachment_create_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_role_attachment_create_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4307
def self.convert_repeated_role_attachment_create_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_role_attachment_create_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_role_attachment_delete_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4372
def self.convert_repeated_role_attachment_delete_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_role_attachment_delete_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_role_attachment_delete_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4381
def self.convert_repeated_role_attachment_delete_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_role_attachment_delete_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_role_attachment_get_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4336
def self.convert_repeated_role_attachment_get_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_role_attachment_get_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_role_attachment_get_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4345
def self.convert_repeated_role_attachment_get_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_role_attachment_get_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_role_attachment_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4410
def self.convert_repeated_role_attachment_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_role_attachment_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_role_attachment_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4419
def self.convert_repeated_role_attachment_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_role_attachment_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_role_create_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4598
def self.convert_repeated_role_create_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_role_create_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_role_create_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4607
def self.convert_repeated_role_create_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_role_create_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_role_delete_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4710
def self.convert_repeated_role_delete_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_role_delete_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_role_delete_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4719
def self.convert_repeated_role_delete_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_role_delete_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_role_get_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4636
def self.convert_repeated_role_get_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_role_get_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_role_get_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4645
def self.convert_repeated_role_get_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_role_get_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_role_grant_create_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4448
def self.convert_repeated_role_grant_create_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_role_grant_create_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_role_grant_create_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4457
def self.convert_repeated_role_grant_create_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_role_grant_create_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_role_grant_delete_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4522
def self.convert_repeated_role_grant_delete_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_role_grant_delete_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_role_grant_delete_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4531
def self.convert_repeated_role_grant_delete_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_role_grant_delete_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_role_grant_get_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4486
def self.convert_repeated_role_grant_get_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_role_grant_get_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_role_grant_get_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4495
def self.convert_repeated_role_grant_get_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_role_grant_get_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_role_grant_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4560
def self.convert_repeated_role_grant_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_role_grant_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_role_grant_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4569
def self.convert_repeated_role_grant_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_role_grant_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_role_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4750
def self.convert_repeated_role_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_role_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_role_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4759
def self.convert_repeated_role_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_role_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_role_update_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4674
def self.convert_repeated_role_update_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_role_update_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_role_update_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4683
def self.convert_repeated_role_update_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_role_update_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_secret_store_create_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4962
def self.convert_repeated_secret_store_create_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_secret_store_create_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_secret_store_create_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4971
def self.convert_repeated_secret_store_create_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_secret_store_create_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_secret_store_delete_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 5074
def self.convert_repeated_secret_store_delete_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_secret_store_delete_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_secret_store_delete_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 5083
def self.convert_repeated_secret_store_delete_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_secret_store_delete_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_secret_store_get_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 5000
def self.convert_repeated_secret_store_get_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_secret_store_get_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_secret_store_get_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 5009
def self.convert_repeated_secret_store_get_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_secret_store_get_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_secret_store_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4798
def self.convert_repeated_secret_store_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_secret_store_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_secret_store_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4807
def self.convert_repeated_secret_store_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_secret_store_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_secret_store_update_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 5038
def self.convert_repeated_secret_store_update_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_secret_store_update_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_secret_store_update_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 5047
def self.convert_repeated_secret_store_update_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_secret_store_update_response_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_service_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 834
def self.convert_repeated_service_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_service_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_service_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 843
def self.convert_repeated_service_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_service_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_snowflake_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3512
def self.convert_repeated_snowflake_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_snowflake_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_snowflake_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3521
def self.convert_repeated_snowflake_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_snowflake_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_sql_server_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3570
def self.convert_repeated_sql_server_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_sql_server_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_sql_server_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3579
def self.convert_repeated_sql_server_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_sql_server_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_ssh_cert_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3676
def self.convert_repeated_ssh_cert_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_ssh_cert_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_ssh_cert_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3685
def self.convert_repeated_ssh_cert_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_ssh_cert_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_ssh_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3624
def self.convert_repeated_ssh_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_ssh_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_ssh_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3633
def self.convert_repeated_ssh_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_ssh_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_sybase_iq_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3780
def self.convert_repeated_sybase_iq_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_sybase_iq_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_sybase_iq_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3789
def self.convert_repeated_sybase_iq_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_sybase_iq_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_sybase_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3728
def self.convert_repeated_sybase_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_sybase_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_sybase_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3737
def self.convert_repeated_sybase_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_sybase_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_teradata_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3832
def self.convert_repeated_teradata_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_teradata_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_teradata_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3841
def self.convert_repeated_teradata_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_teradata_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_update_response_metadata_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 180
def self.convert_repeated_update_response_metadata_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_update_response_metadata_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_update_response_metadata_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 189
def self.convert_repeated_update_response_metadata_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_update_response_metadata_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_user_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 794
def self.convert_repeated_user_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_user_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_user_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 803
def self.convert_repeated_user_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_user_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_vault_tls_store_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4884
def self.convert_repeated_vault_tls_store_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_vault_tls_store_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_vault_tls_store_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4893
def self.convert_repeated_vault_tls_store_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_vault_tls_store_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_vault_token_store_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4924
def self.convert_repeated_vault_token_store_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_vault_token_store_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_vault_token_store_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4933
def self.convert_repeated_vault_token_store_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_vault_token_store_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_resource_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4138
def self.convert_resource_create_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::ResourceCreateResponse.new()
    plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.resource = convert_resource_to_plumbing(porcelain.resource) unless porcelain.resource == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_resource_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4127
def self.convert_resource_create_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = ResourceCreateResponse.new()
    porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
    porcelain.resource = convert_resource_to_porcelain(plumbing.resource)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_resource_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4251
def self.convert_resource_delete_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::ResourceDeleteResponse.new()
    plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_resource_delete_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4241
def self.convert_resource_delete_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = ResourceDeleteResponse.new()
    porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_resource_get_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4176
def self.convert_resource_get_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::ResourceGetResponse.new()
    plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.resource = convert_resource_to_plumbing(porcelain.resource) unless porcelain.resource == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_resource_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4165
def self.convert_resource_get_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = ResourceGetResponse.new()
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    porcelain.resource = convert_resource_to_porcelain(plumbing.resource)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_resource_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 889
def self.convert_resource_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Resource.new()
    if porcelain .instance_of? Athena
        plumbing.athena = convert_athena_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AWS
        plumbing.aws = convert_aws_to_plumbing(porcelain)
    end
    if porcelain .instance_of? BigQuery
        plumbing.big_query = convert_big_query_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Cassandra
        plumbing.cassandra = convert_cassandra_to_plumbing(porcelain)
    end
    if porcelain .instance_of? DB2I
        plumbing.db_2_i = convert_db_2_i_to_plumbing(porcelain)
    end
    if porcelain .instance_of? DB2LUW
        plumbing.db_2_luw = convert_db_2_luw_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Druid
        plumbing.druid = convert_druid_to_plumbing(porcelain)
    end
    if porcelain .instance_of? DynamoDB
        plumbing.dynamo_db = convert_dynamo_db_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AmazonES
        plumbing.amazon_es = convert_amazon_es_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Elastic
        plumbing.elastic = convert_elastic_to_plumbing(porcelain)
    end
    if porcelain .instance_of? HTTPBasicAuth
        plumbing.http_basic_auth = convert_http_basic_auth_to_plumbing(porcelain)
    end
    if porcelain .instance_of? HTTPNoAuth
        plumbing.http_no_auth = convert_http_no_auth_to_plumbing(porcelain)
    end
    if porcelain .instance_of? HTTPAuth
        plumbing.http_auth = convert_http_auth_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Kubernetes
        plumbing.kubernetes = convert_kubernetes_to_plumbing(porcelain)
    end
    if porcelain .instance_of? KubernetesBasicAuth
        plumbing.kubernetes_basic_auth = convert_kubernetes_basic_auth_to_plumbing(porcelain)
    end
    if porcelain .instance_of? KubernetesServiceAccount
        plumbing.kubernetes_service_account = convert_kubernetes_service_account_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AmazonEKS
        plumbing.amazon_eks = convert_amazon_eks_to_plumbing(porcelain)
    end
    if porcelain .instance_of? GoogleGKE
        plumbing.google_gke = convert_google_gke_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AKS
        plumbing.aks = convert_aks_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AKSBasicAuth
        plumbing.aks_basic_auth = convert_aks_basic_auth_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AKSServiceAccount
        plumbing.aks_service_account = convert_aks_service_account_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Memcached
        plumbing.memcached = convert_memcached_to_plumbing(porcelain)
    end
    if porcelain .instance_of? MongoLegacyHost
        plumbing.mongo_legacy_host = convert_mongo_legacy_host_to_plumbing(porcelain)
    end
    if porcelain .instance_of? MongoLegacyReplicaset
        plumbing.mongo_legacy_replicaset = convert_mongo_legacy_replicaset_to_plumbing(porcelain)
    end
    if porcelain .instance_of? MongoHost
        plumbing.mongo_host = convert_mongo_host_to_plumbing(porcelain)
    end
    if porcelain .instance_of? MongoReplicaSet
        plumbing.mongo_replica_set = convert_mongo_replica_set_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Mysql
        plumbing.mysql = convert_mysql_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AuroraMysql
        plumbing.aurora_mysql = convert_aurora_mysql_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Clustrix
        plumbing.clustrix = convert_clustrix_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Maria
        plumbing.maria = convert_maria_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Memsql
        plumbing.memsql = convert_memsql_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Oracle
        plumbing.oracle = convert_oracle_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Postgres
        plumbing.postgres = convert_postgres_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AuroraPostgres
        plumbing.aurora_postgres = convert_aurora_postgres_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Greenplum
        plumbing.greenplum = convert_greenplum_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Cockroach
        plumbing.cockroach = convert_cockroach_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Redshift
        plumbing.redshift = convert_redshift_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Citus
        plumbing.citus = convert_citus_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Presto
        plumbing.presto = convert_presto_to_plumbing(porcelain)
    end
    if porcelain .instance_of? RDP
        plumbing.rdp = convert_rdp_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Redis
        plumbing.redis = convert_redis_to_plumbing(porcelain)
    end
    if porcelain .instance_of? ElasticacheRedis
        plumbing.elasticache_redis = convert_elasticache_redis_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Snowflake
        plumbing.snowflake = convert_snowflake_to_plumbing(porcelain)
    end
    if porcelain .instance_of? SQLServer
        plumbing.sql_server = convert_sql_server_to_plumbing(porcelain)
    end
    if porcelain .instance_of? SSH
        plumbing.ssh = convert_ssh_to_plumbing(porcelain)
    end
    if porcelain .instance_of? SSHCert
        plumbing.ssh_cert = convert_ssh_cert_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Sybase
        plumbing.sybase = convert_sybase_to_plumbing(porcelain)
    end
    if porcelain .instance_of? SybaseIQ
        plumbing.sybase_iq = convert_sybase_iq_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Teradata
        plumbing.teradata = convert_teradata_to_plumbing(porcelain)
    end
    plumbing
end
convert_resource_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1044
def self.convert_resource_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    if plumbing.athena != nil
        return convert_athena_to_porcelain(plumbing.athena)
    end
    if plumbing.aws != nil
        return convert_aws_to_porcelain(plumbing.aws)
    end
    if plumbing.big_query != nil
        return convert_big_query_to_porcelain(plumbing.big_query)
    end
    if plumbing.cassandra != nil
        return convert_cassandra_to_porcelain(plumbing.cassandra)
    end
    if plumbing.db_2_i != nil
        return convert_db_2_i_to_porcelain(plumbing.db_2_i)
    end
    if plumbing.db_2_luw != nil
        return convert_db_2_luw_to_porcelain(plumbing.db_2_luw)
    end
    if plumbing.druid != nil
        return convert_druid_to_porcelain(plumbing.druid)
    end
    if plumbing.dynamo_db != nil
        return convert_dynamo_db_to_porcelain(plumbing.dynamo_db)
    end
    if plumbing.amazon_es != nil
        return convert_amazon_es_to_porcelain(plumbing.amazon_es)
    end
    if plumbing.elastic != nil
        return convert_elastic_to_porcelain(plumbing.elastic)
    end
    if plumbing.http_basic_auth != nil
        return convert_http_basic_auth_to_porcelain(plumbing.http_basic_auth)
    end
    if plumbing.http_no_auth != nil
        return convert_http_no_auth_to_porcelain(plumbing.http_no_auth)
    end
    if plumbing.http_auth != nil
        return convert_http_auth_to_porcelain(plumbing.http_auth)
    end
    if plumbing.kubernetes != nil
        return convert_kubernetes_to_porcelain(plumbing.kubernetes)
    end
    if plumbing.kubernetes_basic_auth != nil
        return convert_kubernetes_basic_auth_to_porcelain(plumbing.kubernetes_basic_auth)
    end
    if plumbing.kubernetes_service_account != nil
        return convert_kubernetes_service_account_to_porcelain(plumbing.kubernetes_service_account)
    end
    if plumbing.amazon_eks != nil
        return convert_amazon_eks_to_porcelain(plumbing.amazon_eks)
    end
    if plumbing.google_gke != nil
        return convert_google_gke_to_porcelain(plumbing.google_gke)
    end
    if plumbing.aks != nil
        return convert_aks_to_porcelain(plumbing.aks)
    end
    if plumbing.aks_basic_auth != nil
        return convert_aks_basic_auth_to_porcelain(plumbing.aks_basic_auth)
    end
    if plumbing.aks_service_account != nil
        return convert_aks_service_account_to_porcelain(plumbing.aks_service_account)
    end
    if plumbing.memcached != nil
        return convert_memcached_to_porcelain(plumbing.memcached)
    end
    if plumbing.mongo_legacy_host != nil
        return convert_mongo_legacy_host_to_porcelain(plumbing.mongo_legacy_host)
    end
    if plumbing.mongo_legacy_replicaset != nil
        return convert_mongo_legacy_replicaset_to_porcelain(plumbing.mongo_legacy_replicaset)
    end
    if plumbing.mongo_host != nil
        return convert_mongo_host_to_porcelain(plumbing.mongo_host)
    end
    if plumbing.mongo_replica_set != nil
        return convert_mongo_replica_set_to_porcelain(plumbing.mongo_replica_set)
    end
    if plumbing.mysql != nil
        return convert_mysql_to_porcelain(plumbing.mysql)
    end
    if plumbing.aurora_mysql != nil
        return convert_aurora_mysql_to_porcelain(plumbing.aurora_mysql)
    end
    if plumbing.clustrix != nil
        return convert_clustrix_to_porcelain(plumbing.clustrix)
    end
    if plumbing.maria != nil
        return convert_maria_to_porcelain(plumbing.maria)
    end
    if plumbing.memsql != nil
        return convert_memsql_to_porcelain(plumbing.memsql)
    end
    if plumbing.oracle != nil
        return convert_oracle_to_porcelain(plumbing.oracle)
    end
    if plumbing.postgres != nil
        return convert_postgres_to_porcelain(plumbing.postgres)
    end
    if plumbing.aurora_postgres != nil
        return convert_aurora_postgres_to_porcelain(plumbing.aurora_postgres)
    end
    if plumbing.greenplum != nil
        return convert_greenplum_to_porcelain(plumbing.greenplum)
    end
    if plumbing.cockroach != nil
        return convert_cockroach_to_porcelain(plumbing.cockroach)
    end
    if plumbing.redshift != nil
        return convert_redshift_to_porcelain(plumbing.redshift)
    end
    if plumbing.citus != nil
        return convert_citus_to_porcelain(plumbing.citus)
    end
    if plumbing.presto != nil
        return convert_presto_to_porcelain(plumbing.presto)
    end
    if plumbing.rdp != nil
        return convert_rdp_to_porcelain(plumbing.rdp)
    end
    if plumbing.redis != nil
        return convert_redis_to_porcelain(plumbing.redis)
    end
    if plumbing.elasticache_redis != nil
        return convert_elasticache_redis_to_porcelain(plumbing.elasticache_redis)
    end
    if plumbing.snowflake != nil
        return convert_snowflake_to_porcelain(plumbing.snowflake)
    end
    if plumbing.sql_server != nil
        return convert_sql_server_to_porcelain(plumbing.sql_server)
    end
    if plumbing.ssh != nil
        return convert_ssh_to_porcelain(plumbing.ssh)
    end
    if plumbing.ssh_cert != nil
        return convert_ssh_cert_to_porcelain(plumbing.ssh_cert)
    end
    if plumbing.sybase != nil
        return convert_sybase_to_porcelain(plumbing.sybase)
    end
    if plumbing.sybase_iq != nil
        return convert_sybase_iq_to_porcelain(plumbing.sybase_iq)
    end
    if plumbing.teradata != nil
        return convert_teradata_to_porcelain(plumbing.teradata)
    end
end
convert_resource_update_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4214
def self.convert_resource_update_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::ResourceUpdateResponse.new()
    plumbing.meta = convert_update_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.resource = convert_resource_to_plumbing(porcelain.resource) unless porcelain.resource == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_resource_update_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4203
def self.convert_resource_update_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = ResourceUpdateResponse.new()
    porcelain.meta = convert_update_response_metadata_to_porcelain(plumbing.meta)
    porcelain.resource = convert_resource_to_porcelain(plumbing.resource)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_role_attachment_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4288
def self.convert_role_attachment_create_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RoleAttachmentCreateResponse.new()
    plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.role_attachment = convert_role_attachment_to_plumbing(porcelain.role_attachment) unless porcelain.role_attachment == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_role_attachment_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4277
def self.convert_role_attachment_create_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RoleAttachmentCreateResponse.new()
    porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
    porcelain.role_attachment = convert_role_attachment_to_porcelain(plumbing.role_attachment)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_role_attachment_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4363
def self.convert_role_attachment_delete_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RoleAttachmentDeleteResponse.new()
    plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_role_attachment_delete_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4353
def self.convert_role_attachment_delete_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RoleAttachmentDeleteResponse.new()
    porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_role_attachment_get_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4326
def self.convert_role_attachment_get_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RoleAttachmentGetResponse.new()
    plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.role_attachment = convert_role_attachment_to_plumbing(porcelain.role_attachment) unless porcelain.role_attachment == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_role_attachment_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4315
def self.convert_role_attachment_get_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RoleAttachmentGetResponse.new()
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    porcelain.role_attachment = convert_role_attachment_to_porcelain(plumbing.role_attachment)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_role_attachment_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4400
def self.convert_role_attachment_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RoleAttachment.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.composite_role_id = (porcelain.composite_role_id) unless porcelain.composite_role_id == nil
    plumbing.attached_role_id = (porcelain.attached_role_id) unless porcelain.attached_role_id == nil
    plumbing
end
convert_role_attachment_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4389
def self.convert_role_attachment_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RoleAttachment.new()
    porcelain.id = (plumbing.id)
    porcelain.composite_role_id = (plumbing.composite_role_id)
    porcelain.attached_role_id = (plumbing.attached_role_id)
    porcelain
end
convert_role_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4588
def self.convert_role_create_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RoleCreateResponse.new()
    plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.role = convert_role_to_plumbing(porcelain.role) unless porcelain.role == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_role_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4577
def self.convert_role_create_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RoleCreateResponse.new()
    porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
    porcelain.role = convert_role_to_porcelain(plumbing.role)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_role_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4701
def self.convert_role_delete_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RoleDeleteResponse.new()
    plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_role_delete_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4691
def self.convert_role_delete_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RoleDeleteResponse.new()
    porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_role_get_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4626
def self.convert_role_get_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RoleGetResponse.new()
    plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.role = convert_role_to_plumbing(porcelain.role) unless porcelain.role == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_role_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4615
def self.convert_role_get_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RoleGetResponse.new()
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    porcelain.role = convert_role_to_porcelain(plumbing.role)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_role_grant_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4438
def self.convert_role_grant_create_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RoleGrantCreateResponse.new()
    plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.role_grant = convert_role_grant_to_plumbing(porcelain.role_grant) unless porcelain.role_grant == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_role_grant_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4427
def self.convert_role_grant_create_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RoleGrantCreateResponse.new()
    porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
    porcelain.role_grant = convert_role_grant_to_porcelain(plumbing.role_grant)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_role_grant_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4513
def self.convert_role_grant_delete_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RoleGrantDeleteResponse.new()
    plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_role_grant_delete_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4503
def self.convert_role_grant_delete_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RoleGrantDeleteResponse.new()
    porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_role_grant_get_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4476
def self.convert_role_grant_get_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RoleGrantGetResponse.new()
    plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.role_grant = convert_role_grant_to_plumbing(porcelain.role_grant) unless porcelain.role_grant == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_role_grant_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4465
def self.convert_role_grant_get_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RoleGrantGetResponse.new()
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    porcelain.role_grant = convert_role_grant_to_porcelain(plumbing.role_grant)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_role_grant_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4550
def self.convert_role_grant_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RoleGrant.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.resource_id = (porcelain.resource_id) unless porcelain.resource_id == nil
    plumbing.role_id = (porcelain.role_id) unless porcelain.role_id == nil
    plumbing
end
convert_role_grant_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4539
def self.convert_role_grant_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RoleGrant.new()
    porcelain.id = (plumbing.id)
    porcelain.resource_id = (plumbing.resource_id)
    porcelain.role_id = (plumbing.role_id)
    porcelain
end
convert_role_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4739
def self.convert_role_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Role.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.composite = (porcelain.composite) unless porcelain.composite == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_role_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4727
def self.convert_role_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Role.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.composite = (plumbing.composite)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_role_update_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4664
def self.convert_role_update_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RoleUpdateResponse.new()
    plumbing.meta = convert_update_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.role = convert_role_to_plumbing(porcelain.role) unless porcelain.role == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_role_update_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4653
def self.convert_role_update_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RoleUpdateResponse.new()
    porcelain.meta = convert_update_response_metadata_to_porcelain(plumbing.meta)
    porcelain.role = convert_role_to_porcelain(plumbing.role)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_secret_store_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4952
def self.convert_secret_store_create_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SecretStoreCreateResponse.new()
    plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.secret_store = convert_secret_store_to_plumbing(porcelain.secret_store) unless porcelain.secret_store == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_secret_store_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4941
def self.convert_secret_store_create_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SecretStoreCreateResponse.new()
    porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
    porcelain.secret_store = convert_secret_store_to_porcelain(plumbing.secret_store)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_secret_store_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5065
def self.convert_secret_store_delete_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SecretStoreDeleteResponse.new()
    plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_secret_store_delete_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5055
def self.convert_secret_store_delete_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SecretStoreDeleteResponse.new()
    porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_secret_store_get_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4990
def self.convert_secret_store_get_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SecretStoreGetResponse.new()
    plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.secret_store = convert_secret_store_to_plumbing(porcelain.secret_store) unless porcelain.secret_store == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_secret_store_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4979
def self.convert_secret_store_get_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SecretStoreGetResponse.new()
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    porcelain.secret_store = convert_secret_store_to_porcelain(plumbing.secret_store)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_secret_store_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4767
def self.convert_secret_store_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SecretStore.new()
    if porcelain .instance_of? AWSStore
        plumbing.aws = convert_aws_store_to_plumbing(porcelain)
    end
    if porcelain .instance_of? VaultTLSStore
        plumbing.vault_tls = convert_vault_tls_store_to_plumbing(porcelain)
    end
    if porcelain .instance_of? VaultTokenStore
        plumbing.vault_token = convert_vault_token_store_to_plumbing(porcelain)
    end
    plumbing
end
convert_secret_store_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4784
def self.convert_secret_store_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    if plumbing.aws != nil
        return convert_aws_store_to_porcelain(plumbing.aws)
    end
    if plumbing.vault_tls != nil
        return convert_vault_tls_store_to_porcelain(plumbing.vault_tls)
    end
    if plumbing.vault_token != nil
        return convert_vault_token_store_to_porcelain(plumbing.vault_token)
    end
end
convert_secret_store_update_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5028
def self.convert_secret_store_update_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SecretStoreUpdateResponse.new()
    plumbing.meta = convert_update_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
    plumbing.secret_store = convert_secret_store_to_plumbing(porcelain.secret_store) unless porcelain.secret_store == nil
    plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing
end
convert_secret_store_update_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5017
def self.convert_secret_store_update_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SecretStoreUpdateResponse.new()
    porcelain.meta = convert_update_response_metadata_to_porcelain(plumbing.meta)
    porcelain.secret_store = convert_secret_store_to_porcelain(plumbing.secret_store)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain
end
convert_service_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 823
def self.convert_service_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Service.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.suspended = (porcelain.suspended) unless porcelain.suspended == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_service_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 811
def self.convert_service_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Service.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.suspended = (plumbing.suspended)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_snowflake_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3494
def self.convert_snowflake_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Snowflake.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.schema = (porcelain.schema) unless porcelain.schema == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing
end
convert_snowflake_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3475
def self.convert_snowflake_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Snowflake.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.schema = (plumbing.schema)
    porcelain.port_override = (plumbing.port_override)
    porcelain
end
convert_sql_server_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3550
def self.convert_sql_server_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SQLServer.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.schema = (porcelain.schema) unless porcelain.schema == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing
end
convert_sql_server_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3529
def self.convert_sql_server_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SQLServer.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.database = (plumbing.database)
    porcelain.port_override = (plumbing.port_override)
    porcelain.schema = (plumbing.schema)
    porcelain.port = (plumbing.port)
    porcelain.override_database = (plumbing.override_database)
    porcelain
end
convert_ssh_cert_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3659
def self.convert_ssh_cert_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SSHCert.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_forwarding = (porcelain.port_forwarding) unless porcelain.port_forwarding == nil
    plumbing.allow_deprecated_key_exchanges = (porcelain.allow_deprecated_key_exchanges) unless porcelain.allow_deprecated_key_exchanges == nil
    plumbing
end
convert_ssh_cert_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3641
def self.convert_ssh_cert_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SSHCert.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.port = (plumbing.port)
    porcelain.port_forwarding = (plumbing.port_forwarding)
    porcelain.allow_deprecated_key_exchanges = (plumbing.allow_deprecated_key_exchanges)
    porcelain
end
convert_ssh_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3606
def self.convert_ssh_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SSH.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.public_key = (porcelain.public_key) unless porcelain.public_key == nil
    plumbing.port_forwarding = (porcelain.port_forwarding) unless porcelain.port_forwarding == nil
    plumbing.allow_deprecated_key_exchanges = (porcelain.allow_deprecated_key_exchanges) unless porcelain.allow_deprecated_key_exchanges == nil
    plumbing
end
convert_ssh_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3587
def self.convert_ssh_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SSH.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.port = (plumbing.port)
    porcelain.public_key = (plumbing.public_key)
    porcelain.port_forwarding = (plumbing.port_forwarding)
    porcelain.allow_deprecated_key_exchanges = (plumbing.allow_deprecated_key_exchanges)
    porcelain
end
convert_sybase_iq_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3763
def self.convert_sybase_iq_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SybaseIQ.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing
end
convert_sybase_iq_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3745
def self.convert_sybase_iq_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SybaseIQ.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain.password = (plumbing.password)
    porcelain
end
convert_sybase_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3711
def self.convert_sybase_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Sybase.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing
end
convert_sybase_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3693
def self.convert_sybase_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Sybase.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain.password = (plumbing.password)
    porcelain
end
convert_tags_to_plumbing(t) click to toggle source
# File lib/grpc/plumbing.rb, line 88
def self.convert_tags_to_plumbing(t)
    if t == nil
        return nil
    end
    tags = V1::Tags.new()
    t.each do |key, value|
        pair = V1::Tags::Pair.new()
        pair.name = key
        pair.value = value
        tags.pairs.push(pair)
    end
    tags
end
convert_tags_to_porcelain(t) click to toggle source
# File lib/grpc/plumbing.rb, line 77
def self.convert_tags_to_porcelain(t)
    if t == nil
        return nil
    end
    res = {}
    t.pairs.each do |pair|
        res[pair.name] = pair.value
    end
    res
end
convert_teradata_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3815
def self.convert_teradata_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Teradata.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing
end
convert_teradata_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3797
def self.convert_teradata_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Teradata.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.healthy = (plumbing.healthy)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.hostname = (plumbing.hostname)
    porcelain.username = (plumbing.username)
    porcelain.password = (plumbing.password)
    porcelain.port_override = (plumbing.port_override)
    porcelain.port = (plumbing.port)
    porcelain
end
convert_timestamp_to_plumbing(t) click to toggle source
# File lib/grpc/plumbing.rb, line 70
def self.convert_timestamp_to_plumbing(t)
    if t == nil
        return nil
    end
    return Google::Protobuf::Timestamp.new(seconds: t.to_i, nanos: t.nsec)
end
convert_timestamp_to_porcelain(t) click to toggle source
# File lib/grpc/plumbing.rb, line 63
def self.convert_timestamp_to_porcelain(t)
    if t == nil
        return nil
    end
    return Time.at(t.seconds + t.nanos * (10**-9))
end
convert_update_response_metadata_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 173
def self.convert_update_response_metadata_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::UpdateResponseMetadata.new()
    plumbing
end
convert_update_response_metadata_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 165
def self.convert_update_response_metadata_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = UpdateResponseMetadata.new()
    porcelain
end
convert_user_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 781
def self.convert_user_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::User.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.email = (porcelain.email) unless porcelain.email == nil
    plumbing.first_name = (porcelain.first_name) unless porcelain.first_name == nil
    plumbing.last_name = (porcelain.last_name) unless porcelain.last_name == nil
    plumbing.suspended = (porcelain.suspended) unless porcelain.suspended == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_user_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 767
def self.convert_user_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = User.new()
    porcelain.id = (plumbing.id)
    porcelain.email = (plumbing.email)
    porcelain.first_name = (plumbing.first_name)
    porcelain.last_name = (plumbing.last_name)
    porcelain.suspended = (plumbing.suspended)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_vault_tls_store_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4870
def self.convert_vault_tls_store_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::VaultTLSStore.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.server_address = (porcelain.server_address) unless porcelain.server_address == nil
    plumbing.CA_cert_path = (porcelain.ca_cert_path) unless porcelain.ca_cert_path == nil
    plumbing.client_cert_path = (porcelain.client_cert_path) unless porcelain.client_cert_path == nil
    plumbing.client_key_path = (porcelain.client_key_path) unless porcelain.client_key_path == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_vault_tls_store_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4855
def self.convert_vault_tls_store_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = VaultTLSStore.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.server_address = (plumbing.server_address)
    porcelain.ca_cert_path = (plumbing.CA_cert_path)
    porcelain.client_cert_path = (plumbing.client_cert_path)
    porcelain.client_key_path = (plumbing.client_key_path)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_vault_token_store_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4913
def self.convert_vault_token_store_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::VaultTokenStore.new()
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.server_address = (porcelain.server_address) unless porcelain.server_address == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_vault_token_store_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4901
def self.convert_vault_token_store_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = VaultTokenStore.new()
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.server_address = (plumbing.server_address)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
quote_filter_args(filter, *args) click to toggle source
# File lib/grpc/plumbing.rb, line 46
def self.quote_filter_args(filter, *args)
    parts = (filter + " ").split("?")
    if parts.length() != args.length() + 1
        raise BadRequestError.new("incorrect number of replacements")
    end
    b = ""
    parts.each_with_index do |v,i|
        b += v
        if i < args.length()
            s = args[i].to_s()
            s = JSON.dump(s)
            b += s
        end
    end
    return b
end