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 552
def self.convert_account_attachment_create_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountAttachmentCreateResponse.new()
    plumbing.account_attachment = convert_account_attachment_to_plumbing(porcelain.account_attachment) unless porcelain.account_attachment == nil
    plumbing.meta = convert_create_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_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 541
def self.convert_account_attachment_create_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountAttachmentCreateResponse.new()
    porcelain.account_attachment = convert_account_attachment_to_porcelain(plumbing.account_attachment)
    porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
    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 589
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 579
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 626
def self.convert_account_attachment_get_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountAttachmentGetResponse.new()
    plumbing.account_attachment = convert_account_attachment_to_plumbing(porcelain.account_attachment) unless porcelain.account_attachment == nil
    plumbing.meta = convert_get_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_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 615
def self.convert_account_attachment_get_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountAttachmentGetResponse.new()
    porcelain.account_attachment = convert_account_attachment_to_porcelain(plumbing.account_attachment)
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    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 514
def self.convert_account_attachment_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountAttachment.new()
    plumbing.account_id = (porcelain.account_id) unless porcelain.account_id == nil
    plumbing.id = (porcelain.id) unless porcelain.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 503
def self.convert_account_attachment_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountAttachment.new()
    porcelain.account_id = (plumbing.account_id)
    porcelain.id = (plumbing.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 665
def self.convert_account_create_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountCreateResponse.new()
    plumbing.account = convert_account_to_plumbing(porcelain.account) unless porcelain.account == nil
    plumbing.meta = convert_create_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.token = (porcelain.token) unless porcelain.token == nil
    plumbing
end
convert_account_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 653
def self.convert_account_create_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountCreateResponse.new()
    porcelain.account = convert_account_to_porcelain(plumbing.account)
    porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.token = (plumbing.token)
    porcelain
end
convert_account_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 703
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 693
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 740
def self.convert_account_get_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountGetResponse.new()
    plumbing.account = convert_account_to_plumbing(porcelain.account) unless porcelain.account == nil
    plumbing.meta = convert_get_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_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 729
def self.convert_account_get_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountGetResponse.new()
    porcelain.account = convert_account_to_porcelain(plumbing.account)
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    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 820
def self.convert_account_grant_create_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountGrantCreateResponse.new()
    plumbing.account_grant = convert_account_grant_to_plumbing(porcelain.account_grant) unless porcelain.account_grant == nil
    plumbing.meta = convert_create_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_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 809
def self.convert_account_grant_create_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountGrantCreateResponse.new()
    porcelain.account_grant = convert_account_grant_to_porcelain(plumbing.account_grant)
    porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
    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 857
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 847
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 894
def self.convert_account_grant_get_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountGrantGetResponse.new()
    plumbing.account_grant = convert_account_grant_to_plumbing(porcelain.account_grant) unless porcelain.account_grant == nil
    plumbing.meta = convert_get_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_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 883
def self.convert_account_grant_get_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountGrantGetResponse.new()
    porcelain.account_grant = convert_account_grant_to_porcelain(plumbing.account_grant)
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    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 780
def self.convert_account_grant_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountGrant.new()
    plumbing.account_id = (porcelain.account_id) unless porcelain.account_id == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.resource_id = (porcelain.resource_id) unless porcelain.resource_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 767
def self.convert_account_grant_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountGrant.new()
    porcelain.account_id = (plumbing.account_id)
    porcelain.id = (plumbing.id)
    porcelain.resource_id = (plumbing.resource_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 461
def self.convert_account_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Account.new()
    if porcelain .instance_of? Service
        plumbing.service = convert_service_to_plumbing(porcelain)
    end
    if porcelain .instance_of? User
        plumbing.user = convert_user_to_plumbing(porcelain)
    end
    plumbing
end
convert_account_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 475
def self.convert_account_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    if plumbing.service != nil
        return convert_service_to_porcelain(plumbing.service)
    end
    if plumbing.user != nil
        return convert_user_to_porcelain(plumbing.user)
    end
end
convert_account_update_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 932
def self.convert_account_update_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AccountUpdateResponse.new()
    plumbing.account = convert_account_to_plumbing(porcelain.account) unless porcelain.account == nil
    plumbing.meta = convert_update_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_update_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 921
def self.convert_account_update_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AccountUpdateResponse.new()
    porcelain.account = convert_account_to_porcelain(plumbing.account)
    porcelain.meta = convert_update_response_metadata_to_porcelain(plumbing.meta)
    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 172
def self.convert_aks_basic_auth_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AKSBasicAuth.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_aks_basic_auth_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 153
def self.convert_aks_basic_auth_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AKSBasicAuth.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_aks_service_account_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 225
def self.convert_aks_service_account_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AKSServiceAccount.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.token = (porcelain.token) unless porcelain.token == nil
    plumbing
end
convert_aks_service_account_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 207
def self.convert_aks_service_account_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AKSServiceAccount.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.token = (plumbing.token)
    porcelain
end
convert_aks_service_account_user_impersonation_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 277
def self.convert_aks_service_account_user_impersonation_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AKSServiceAccountUserImpersonation.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.token = (porcelain.token) unless porcelain.token == nil
    plumbing
end
convert_aks_service_account_user_impersonation_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 259
def self.convert_aks_service_account_user_impersonation_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AKSServiceAccountUserImpersonation.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.token = (plumbing.token)
    porcelain
end
convert_aks_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 117
def self.convert_aks_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AKS.new()
    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.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_aks_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 97
def self.convert_aks_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AKS.new()
    porcelain.certificate_authority = (plumbing.certificate_authority)
    porcelain.client_certificate = (plumbing.client_certificate)
    porcelain.client_key = (plumbing.client_key)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_aks_user_impersonation_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 331
def self.convert_aks_user_impersonation_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AKSUserImpersonation.new()
    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.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_aks_user_impersonation_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 311
def self.convert_aks_user_impersonation_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AKSUserImpersonation.new()
    porcelain.certificate_authority = (plumbing.certificate_authority)
    porcelain.client_certificate = (plumbing.client_certificate)
    porcelain.client_key = (plumbing.client_key)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_amazon_eks_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 982
def self.convert_amazon_eks_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AmazonEKS.new()
    plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
    plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
    plumbing.cluster_name = (porcelain.cluster_name) unless porcelain.cluster_name == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    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.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
    plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
    plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_amazon_eks_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 959
def self.convert_amazon_eks_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AmazonEKS.new()
    porcelain.access_key = (plumbing.access_key)
    porcelain.certificate_authority = (plumbing.certificate_authority)
    porcelain.cluster_name = (plumbing.cluster_name)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.region = (plumbing.region)
    porcelain.role_arn = (plumbing.role_arn)
    porcelain.role_external_id = (plumbing.role_external_id)
    porcelain.secret_access_key = (plumbing.secret_access_key)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_amazon_eks_user_impersonation_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1044
def self.convert_amazon_eks_user_impersonation_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AmazonEKSUserImpersonation.new()
    plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
    plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
    plumbing.cluster_name = (porcelain.cluster_name) unless porcelain.cluster_name == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    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.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
    plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
    plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_amazon_eks_user_impersonation_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1021
def self.convert_amazon_eks_user_impersonation_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AmazonEKSUserImpersonation.new()
    porcelain.access_key = (plumbing.access_key)
    porcelain.certificate_authority = (plumbing.certificate_authority)
    porcelain.cluster_name = (plumbing.cluster_name)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.region = (plumbing.region)
    porcelain.role_arn = (plumbing.role_arn)
    porcelain.role_external_id = (plumbing.role_external_id)
    porcelain.secret_access_key = (plumbing.secret_access_key)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_amazon_es_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1104
def self.convert_amazon_es_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AmazonES.new()
    plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.region = (porcelain.region) unless porcelain.region == nil
    plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
    plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
    plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_amazon_es_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1083
def self.convert_amazon_es_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AmazonES.new()
    porcelain.access_key = (plumbing.access_key)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port_override = (plumbing.port_override)
    porcelain.region = (plumbing.region)
    porcelain.role_arn = (plumbing.role_arn)
    porcelain.role_external_id = (plumbing.role_external_id)
    porcelain.secret_access_key = (plumbing.secret_access_key)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_amazon_mqamqp_091_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1161
def self.convert_amazon_mqamqp_091_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AmazonMQAMQP091.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_amazon_mqamqp_091_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1141
def self.convert_amazon_mqamqp_091_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AmazonMQAMQP091.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_athena_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1218
def self.convert_athena_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Athena.new()
    plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == 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.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
    plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
    plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_athena_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1197
def self.convert_athena_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Athena.new()
    porcelain.access_key = (plumbing.access_key)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.output = (plumbing.output)
    porcelain.port_override = (plumbing.port_override)
    porcelain.region = (plumbing.region)
    porcelain.role_arn = (plumbing.role_arn)
    porcelain.role_external_id = (plumbing.role_external_id)
    porcelain.secret_access_key = (plumbing.secret_access_key)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_aurora_mysql_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1275
def self.convert_aurora_mysql_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AuroraMysql.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_aurora_mysql_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1255
def self.convert_aurora_mysql_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AuroraMysql.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_aurora_postgres_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1332
def self.convert_aurora_postgres_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AuroraPostgres.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_aurora_postgres_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1311
def self.convert_aurora_postgres_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AuroraPostgres.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.override_database = (plumbing.override_database)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_aws_store_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 433
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 421
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 386
def self.convert_aws_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AWS.new()
    plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthcheck_region = (porcelain.healthcheck_region) unless porcelain.healthcheck_region == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
    plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
    plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_aws_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 367
def self.convert_aws_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AWS.new()
    porcelain.access_key = (plumbing.access_key)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthcheck_region = (plumbing.healthcheck_region)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.role_arn = (plumbing.role_arn)
    porcelain.role_external_id = (plumbing.role_external_id)
    porcelain.secret_access_key = (plumbing.secret_access_key)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_big_query_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1388
def self.convert_big_query_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::BigQuery.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.private_key = (porcelain.private_key) unless porcelain.private_key == nil
    plumbing.project = (porcelain.project) unless porcelain.project == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == 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 1369
def self.convert_big_query_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = BigQuery.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port_override = (plumbing.port_override)
    porcelain.private_key = (plumbing.private_key)
    porcelain.project = (plumbing.project)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_cassandra_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1443
def self.convert_cassandra_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Cassandra.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_cassandra_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1423
def self.convert_cassandra_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Cassandra.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_citus_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1500
def self.convert_citus_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Citus.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_citus_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1479
def self.convert_citus_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Citus.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.override_database = (plumbing.override_database)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_clustrix_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1557
def self.convert_clustrix_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Clustrix.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_clustrix_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1537
def self.convert_clustrix_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Clustrix.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_cockroach_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1614
def self.convert_cockroach_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Cockroach.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_cockroach_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1593
def self.convert_cockroach_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Cockroach.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.override_database = (plumbing.override_database)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_control_panel_get_sshca_public_key_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1662
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 1651
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_control_panel_verify_jwt_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1700
def self.convert_control_panel_verify_jwt_response_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::ControlPanelVerifyJWTResponse.new()
    plumbing.meta = convert_get_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.valid = (porcelain.valid) unless porcelain.valid == nil
    plumbing
end
convert_control_panel_verify_jwt_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1689
def self.convert_control_panel_verify_jwt_response_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = ControlPanelVerifyJWTResponse.new()
    porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
    porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.valid = (plumbing.valid)
    porcelain
end
convert_create_response_metadata_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1735
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 1727
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 1779
def self.convert_db_2_i_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::DB2I.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_db_2_i_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1759
def self.convert_db_2_i_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = DB2I.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_db_2_luw_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1835
def self.convert_db_2_luw_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::DB2LUW.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_db_2_luw_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1815
def self.convert_db_2_luw_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = DB2LUW.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_delete_response_metadata_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1879
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 1871
def self.convert_delete_response_metadata_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = DeleteResponseMetadata.new()
    porcelain
end
convert_document_db_host_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1923
def self.convert_document_db_host_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::DocumentDBHost.new()
    plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_document_db_host_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1903
def self.convert_document_db_host_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = DocumentDBHost.new()
    porcelain.auth_database = (plumbing.auth_database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_document_db_replica_set_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1980
def self.convert_document_db_replica_set_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::DocumentDBReplicaSet.new()
    plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
    plumbing.connect_to_replica = (porcelain.connect_to_replica) unless porcelain.connect_to_replica == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.replica_set = (porcelain.replica_set) unless porcelain.replica_set == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_document_db_replica_set_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1959
def self.convert_document_db_replica_set_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = DocumentDBReplicaSet.new()
    porcelain.auth_database = (plumbing.auth_database)
    porcelain.connect_to_replica = (plumbing.connect_to_replica)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port_override = (plumbing.port_override)
    porcelain.replica_set = (plumbing.replica_set)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_druid_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2036
def self.convert_druid_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Druid.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_druid_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2017
def self.convert_druid_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Druid.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_dynamo_db_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2092
def self.convert_dynamo_db_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::DynamoDB.new()
    plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.region = (porcelain.region) unless porcelain.region == nil
    plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
    plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
    plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_dynamo_db_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2071
def self.convert_dynamo_db_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = DynamoDB.new()
    porcelain.access_key = (plumbing.access_key)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port_override = (plumbing.port_override)
    porcelain.region = (plumbing.region)
    porcelain.role_arn = (plumbing.role_arn)
    porcelain.role_external_id = (plumbing.role_external_id)
    porcelain.secret_access_key = (plumbing.secret_access_key)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_elastic_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2149
def self.convert_elastic_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Elastic.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_elastic_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2129
def self.convert_elastic_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Elastic.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_elasticache_redis_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2204
def self.convert_elasticache_redis_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::ElasticacheRedis.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == 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 2185
def self.convert_elasticache_redis_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = ElasticacheRedis.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain
end
convert_error_to_porcelain(err) click to toggle source
# File lib/grpc/plumbing.rb, line 6203
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 2254
def self.convert_gateway_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Gateway.new()
    plumbing.bind_address = (porcelain.bind_address) unless porcelain.bind_address == nil
    plumbing.gateway_filter = (porcelain.gateway_filter) unless porcelain.gateway_filter == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.listen_address = (porcelain.listen_address) unless porcelain.listen_address == 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_gateway_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2239
def self.convert_gateway_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Gateway.new()
    porcelain.bind_address = (plumbing.bind_address)
    porcelain.gateway_filter = (plumbing.gateway_filter)
    porcelain.id = (plumbing.id)
    porcelain.listen_address = (plumbing.listen_address)
    porcelain.name = (plumbing.name)
    porcelain.state = (plumbing.state)
    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 2293
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 2285
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 2335
def self.convert_google_gke_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::GoogleGKE.new()
    plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.service_account_key = (porcelain.service_account_key) unless porcelain.service_account_key == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_google_gke_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2317
def self.convert_google_gke_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = GoogleGKE.new()
    porcelain.certificate_authority = (plumbing.certificate_authority)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.service_account_key = (plumbing.service_account_key)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_google_gke_user_impersonation_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2387
def self.convert_google_gke_user_impersonation_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::GoogleGKEUserImpersonation.new()
    plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.service_account_key = (porcelain.service_account_key) unless porcelain.service_account_key == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_google_gke_user_impersonation_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2369
def self.convert_google_gke_user_impersonation_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = GoogleGKEUserImpersonation.new()
    porcelain.certificate_authority = (plumbing.certificate_authority)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.service_account_key = (plumbing.service_account_key)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_greenplum_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2442
def self.convert_greenplum_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Greenplum.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_greenplum_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2421
def self.convert_greenplum_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Greenplum.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.override_database = (plumbing.override_database)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_http_auth_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2499
def self.convert_http_auth_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::HTTPAuth.new()
    plumbing.auth_header = (porcelain.auth_header) unless porcelain.auth_header == nil
    plumbing.default_path = (porcelain.default_path) unless porcelain.default_path == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.headers_blacklist = (porcelain.headers_blacklist) unless porcelain.headers_blacklist == nil
    plumbing.healthcheck_path = (porcelain.healthcheck_path) unless porcelain.healthcheck_path == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.subdomain = (porcelain.subdomain) unless porcelain.subdomain == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.url = (porcelain.url) unless porcelain.url == nil
    plumbing
end
convert_http_auth_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2479
def self.convert_http_auth_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = HTTPAuth.new()
    porcelain.auth_header = (plumbing.auth_header)
    porcelain.default_path = (plumbing.default_path)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.headers_blacklist = (plumbing.headers_blacklist)
    porcelain.healthcheck_path = (plumbing.healthcheck_path)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.subdomain = (plumbing.subdomain)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.url = (plumbing.url)
    porcelain
end
convert_http_basic_auth_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2556
def self.convert_http_basic_auth_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::HTTPBasicAuth.new()
    plumbing.default_path = (porcelain.default_path) unless porcelain.default_path == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.headers_blacklist = (porcelain.headers_blacklist) unless porcelain.headers_blacklist == nil
    plumbing.healthcheck_path = (porcelain.healthcheck_path) unless porcelain.healthcheck_path == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.subdomain = (porcelain.subdomain) unless porcelain.subdomain == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.url = (porcelain.url) unless porcelain.url == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_http_basic_auth_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2535
def self.convert_http_basic_auth_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = HTTPBasicAuth.new()
    porcelain.default_path = (plumbing.default_path)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.headers_blacklist = (plumbing.headers_blacklist)
    porcelain.healthcheck_path = (plumbing.healthcheck_path)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.subdomain = (plumbing.subdomain)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.url = (plumbing.url)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_http_no_auth_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2612
def self.convert_http_no_auth_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::HTTPNoAuth.new()
    plumbing.default_path = (porcelain.default_path) unless porcelain.default_path == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.headers_blacklist = (porcelain.headers_blacklist) unless porcelain.headers_blacklist == nil
    plumbing.healthcheck_path = (porcelain.healthcheck_path) unless porcelain.healthcheck_path == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.subdomain = (porcelain.subdomain) unless porcelain.subdomain == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.url = (porcelain.url) unless porcelain.url == nil
    plumbing
end
convert_http_no_auth_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2593
def self.convert_http_no_auth_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = HTTPNoAuth.new()
    porcelain.default_path = (plumbing.default_path)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.headers_blacklist = (plumbing.headers_blacklist)
    porcelain.healthcheck_path = (plumbing.healthcheck_path)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.subdomain = (plumbing.subdomain)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.url = (plumbing.url)
    porcelain
end
convert_kubernetes_basic_auth_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2722
def self.convert_kubernetes_basic_auth_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::KubernetesBasicAuth.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_kubernetes_basic_auth_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2703
def self.convert_kubernetes_basic_auth_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = KubernetesBasicAuth.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_kubernetes_service_account_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2775
def self.convert_kubernetes_service_account_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::KubernetesServiceAccount.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.token = (porcelain.token) unless porcelain.token == nil
    plumbing
end
convert_kubernetes_service_account_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2757
def self.convert_kubernetes_service_account_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = KubernetesServiceAccount.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.token = (plumbing.token)
    porcelain
end
convert_kubernetes_service_account_user_impersonation_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2827
def self.convert_kubernetes_service_account_user_impersonation_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::KubernetesServiceAccountUserImpersonation.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.token = (porcelain.token) unless porcelain.token == nil
    plumbing
end
convert_kubernetes_service_account_user_impersonation_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2809
def self.convert_kubernetes_service_account_user_impersonation_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = KubernetesServiceAccountUserImpersonation.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.token = (plumbing.token)
    porcelain
end
convert_kubernetes_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2667
def self.convert_kubernetes_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Kubernetes.new()
    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.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_kubernetes_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2647
def self.convert_kubernetes_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Kubernetes.new()
    porcelain.certificate_authority = (plumbing.certificate_authority)
    porcelain.client_certificate = (plumbing.client_certificate)
    porcelain.client_key = (plumbing.client_key)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_kubernetes_user_impersonation_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2881
def self.convert_kubernetes_user_impersonation_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::KubernetesUserImpersonation.new()
    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.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_kubernetes_user_impersonation_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2861
def self.convert_kubernetes_user_impersonation_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = KubernetesUserImpersonation.new()
    porcelain.certificate_authority = (plumbing.certificate_authority)
    porcelain.client_certificate = (plumbing.client_certificate)
    porcelain.client_key = (plumbing.client_key)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_maria_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2937
def self.convert_maria_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Maria.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_maria_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2917
def self.convert_maria_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Maria.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_memcached_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2990
def self.convert_memcached_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Memcached.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_memcached_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2973
def self.convert_memcached_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Memcached.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_memsql_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3043
def self.convert_memsql_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Memsql.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_memsql_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3023
def self.convert_memsql_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Memsql.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_mongo_host_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3100
def self.convert_mongo_host_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::MongoHost.new()
    plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_mongo_host_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3079
def self.convert_mongo_host_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = MongoHost.new()
    porcelain.auth_database = (plumbing.auth_database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_mongo_legacy_host_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3159
def self.convert_mongo_legacy_host_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::MongoLegacyHost.new()
    plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.replica_set = (porcelain.replica_set) unless porcelain.replica_set == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_mongo_legacy_host_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3137
def self.convert_mongo_legacy_host_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = MongoLegacyHost.new()
    porcelain.auth_database = (plumbing.auth_database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.replica_set = (plumbing.replica_set)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_mongo_legacy_replicaset_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3220
def self.convert_mongo_legacy_replicaset_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::MongoLegacyReplicaset.new()
    plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
    plumbing.connect_to_replica = (porcelain.connect_to_replica) unless porcelain.connect_to_replica == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.replica_set = (porcelain.replica_set) unless porcelain.replica_set == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_mongo_legacy_replicaset_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3197
def self.convert_mongo_legacy_replicaset_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = MongoLegacyReplicaset.new()
    porcelain.auth_database = (plumbing.auth_database)
    porcelain.connect_to_replica = (plumbing.connect_to_replica)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.replica_set = (plumbing.replica_set)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_mongo_replica_set_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3282
def self.convert_mongo_replica_set_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::MongoReplicaSet.new()
    plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
    plumbing.connect_to_replica = (porcelain.connect_to_replica) unless porcelain.connect_to_replica == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.replica_set = (porcelain.replica_set) unless porcelain.replica_set == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_mongo_replica_set_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3259
def self.convert_mongo_replica_set_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = MongoReplicaSet.new()
    porcelain.auth_database = (plumbing.auth_database)
    porcelain.connect_to_replica = (plumbing.connect_to_replica)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.replica_set = (plumbing.replica_set)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_mysql_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3341
def self.convert_mysql_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Mysql.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_mysql_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3321
def self.convert_mysql_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Mysql.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_neptune_iam_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3449
def self.convert_neptune_iam_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::NeptuneIAM.new()
    plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.region = (porcelain.region) unless porcelain.region == nil
    plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
    plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
    plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_neptune_iam_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3427
def self.convert_neptune_iam_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = NeptuneIAM.new()
    porcelain.access_key = (plumbing.access_key)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.region = (plumbing.region)
    porcelain.role_arn = (plumbing.role_arn)
    porcelain.role_external_id = (plumbing.role_external_id)
    porcelain.secret_access_key = (plumbing.secret_access_key)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_neptune_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3394
def self.convert_neptune_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Neptune.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_neptune_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3377
def self.convert_neptune_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Neptune.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.endpoint = (plumbing.endpoint)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_node_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3541
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.token = (porcelain.token) unless porcelain.token == nil
    plumbing
end
convert_node_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3529
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.token = (plumbing.token)
    porcelain
end
convert_node_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3579
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 3569
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 3616
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 3605
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 3487
def self.convert_node_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Node.new()
    if porcelain .instance_of? Gateway
        plumbing.gateway = convert_gateway_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Relay
        plumbing.relay = convert_relay_to_plumbing(porcelain)
    end
    plumbing
end
convert_node_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3501
def self.convert_node_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    if plumbing.gateway != nil
        return convert_gateway_to_porcelain(plumbing.gateway)
    end
    if plumbing.relay != nil
        return convert_relay_to_porcelain(plumbing.relay)
    end
end
convert_node_update_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3654
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 3643
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 3702
def self.convert_oracle_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Oracle.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_oracle_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3681
def self.convert_oracle_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Oracle.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_postgres_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3760
def self.convert_postgres_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Postgres.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_postgres_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3739
def self.convert_postgres_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Postgres.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.override_database = (plumbing.override_database)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_presto_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3818
def self.convert_presto_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Presto.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_presto_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3797
def self.convert_presto_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Presto.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_rabbit_mqamqp_091_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3929
def self.convert_rabbit_mqamqp_091_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RabbitMQAMQP091.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.tls_required = (porcelain.tls_required) unless porcelain.tls_required == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_rabbit_mqamqp_091_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3909
def self.convert_rabbit_mqamqp_091_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RabbitMQAMQP091.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tls_required = (plumbing.tls_required)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_rate_limit_metadata_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3977
def self.convert_rate_limit_metadata_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RateLimitMetadata.new()
    plumbing.bucket = (porcelain.bucket) unless porcelain.bucket == nil
    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
end
convert_rate_limit_metadata_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3965
def self.convert_rate_limit_metadata_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RateLimitMetadata.new()
    porcelain.bucket = (plumbing.bucket)
    porcelain.limit = (plumbing.limit)
    porcelain.remaining = (plumbing.remaining)
    porcelain.reset_at = convert_timestamp_to_porcelain(plumbing.reset_at)
    porcelain
end
convert_raw_tcp_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4022
def self.convert_raw_tcp_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RawTCP.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_raw_tcp_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4005
def self.convert_raw_tcp_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RawTCP.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_rdp_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3874
def self.convert_rdp_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RDP.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_rdp_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3855
def self.convert_rdp_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RDP.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_redis_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4073
def self.convert_redis_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Redis.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing
end
convert_redis_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4055
def self.convert_redis_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Redis.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain
end
convert_redshift_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4128
def self.convert_redshift_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Redshift.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_redshift_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4107
def self.convert_redshift_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Redshift.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.override_database = (plumbing.override_database)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_relay_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4178
def self.convert_relay_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Relay.new()
    plumbing.gateway_filter = (porcelain.gateway_filter) unless porcelain.gateway_filter == nil
    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 4165
def self.convert_relay_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Relay.new()
    porcelain.gateway_filter = (plumbing.gateway_filter)
    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 562
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 571
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 598
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 607
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 636
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 645
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 524
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 533
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 676
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 685
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 712
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 721
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 750
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 759
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 830
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 839
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 866
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 875
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 904
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 913
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 792
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 801
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 486
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 495
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 942
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 951
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 190
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 199
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 242
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 251
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_service_account_user_impersonation_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 294
def self.convert_repeated_aks_service_account_user_impersonation_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_aks_service_account_user_impersonation_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_aks_service_account_user_impersonation_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 303
def self.convert_repeated_aks_service_account_user_impersonation_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_aks_service_account_user_impersonation_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 136
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 145
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_aks_user_impersonation_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 350
def self.convert_repeated_aks_user_impersonation_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_aks_user_impersonation_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_aks_user_impersonation_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 359
def self.convert_repeated_aks_user_impersonation_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_aks_user_impersonation_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 1004
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 1013
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_eks_user_impersonation_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1066
def self.convert_repeated_amazon_eks_user_impersonation_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_amazon_eks_user_impersonation_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_amazon_eks_user_impersonation_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1075
def self.convert_repeated_amazon_eks_user_impersonation_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_amazon_eks_user_impersonation_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 1124
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 1133
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_amazon_mqamqp_091_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1180
def self.convert_repeated_amazon_mqamqp_091_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_amazon_mqamqp_091_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_amazon_mqamqp_091_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1189
def self.convert_repeated_amazon_mqamqp_091_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_amazon_mqamqp_091_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 1238
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 1247
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 1294
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 1303
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 1352
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 1361
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 444
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 453
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 404
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 413
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 1406
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 1415
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 1462
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 1471
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 1520
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 1529
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 1576
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 1585
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 1634
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 1643
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 1672
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 1681
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_control_panel_verify_jwt_response_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1710
def self.convert_repeated_control_panel_verify_jwt_response_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_control_panel_verify_jwt_response_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_control_panel_verify_jwt_response_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1719
def self.convert_repeated_control_panel_verify_jwt_response_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_control_panel_verify_jwt_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 1742
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 1751
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 1798
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 1807
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 1854
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 1863
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 1886
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 1895
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_document_db_host_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1942
def self.convert_repeated_document_db_host_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_document_db_host_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_document_db_host_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1951
def self.convert_repeated_document_db_host_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_document_db_host_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_document_db_replica_set_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2000
def self.convert_repeated_document_db_replica_set_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_document_db_replica_set_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_document_db_replica_set_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2009
def self.convert_repeated_document_db_replica_set_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_document_db_replica_set_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 2054
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 2063
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 2112
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 2121
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 2168
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 2177
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 2222
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 2231
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 2268
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 2277
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 2300
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 2309
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 2352
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 2361
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_google_gke_user_impersonation_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2404
def self.convert_repeated_google_gke_user_impersonation_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_google_gke_user_impersonation_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_google_gke_user_impersonation_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2413
def self.convert_repeated_google_gke_user_impersonation_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_google_gke_user_impersonation_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 2462
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 2471
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 2518
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 2527
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 2576
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 2585
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 2630
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 2639
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 2740
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 2749
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 2792
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 2801
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_service_account_user_impersonation_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2844
def self.convert_repeated_kubernetes_service_account_user_impersonation_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_kubernetes_service_account_user_impersonation_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_kubernetes_service_account_user_impersonation_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2853
def self.convert_repeated_kubernetes_service_account_user_impersonation_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_kubernetes_service_account_user_impersonation_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 2686
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 2695
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_kubernetes_user_impersonation_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2900
def self.convert_repeated_kubernetes_user_impersonation_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_kubernetes_user_impersonation_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_kubernetes_user_impersonation_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2909
def self.convert_repeated_kubernetes_user_impersonation_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_kubernetes_user_impersonation_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 2956
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 2965
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 3006
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 3015
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 3062
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 3071
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 3120
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 3129
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 3180
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 3189
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 3242
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 3251
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 3304
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 3313
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 3360
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 3369
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_neptune_iam_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3470
def self.convert_repeated_neptune_iam_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_neptune_iam_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_neptune_iam_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3479
def self.convert_repeated_neptune_iam_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_neptune_iam_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_neptune_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3410
def self.convert_repeated_neptune_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_neptune_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_neptune_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3419
def self.convert_repeated_neptune_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_neptune_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 3552
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 3561
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 3588
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 3597
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 3626
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 3635
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 3512
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 3521
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 3664
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 3673
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 3722
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 3731
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 3780
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 3789
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 3838
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 3847
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_rabbit_mqamqp_091_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3948
def self.convert_repeated_rabbit_mqamqp_091_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_rabbit_mqamqp_091_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_rabbit_mqamqp_091_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3957
def self.convert_repeated_rabbit_mqamqp_091_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_rabbit_mqamqp_091_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 3988
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 3997
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_raw_tcp_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 4038
def self.convert_repeated_raw_tcp_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_raw_tcp_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_raw_tcp_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 4047
def self.convert_repeated_raw_tcp_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_raw_tcp_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 3892
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 3901
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 4090
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 4099
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 4148
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 4157
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 4190
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 4199
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 4642
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 4651
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 4678
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 4687
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 4716
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 4725
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 4604
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 4613
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 4754
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 4763
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 4872
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 4881
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 4908
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 4917
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 4946
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 4955
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 4834
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 4843
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 4984
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 4993
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 5020
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 5029
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 5058
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 5067
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 5134
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 5143
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 5170
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 5179
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 5208
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 5217
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 5096
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 5105
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 4796
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 4805
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 5246
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 5255
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 5558
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 5567
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 5594
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 5603
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 5632
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 5641
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 5520
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 5529
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 5670
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 5679
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 5710
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 5719
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_single_store_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 5766
def self.convert_repeated_single_store_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_single_store_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_single_store_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 5775
def self.convert_repeated_single_store_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_single_store_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 5822
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 5831
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 5306
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 5315
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 5416
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 5425
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_customer_key_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 5472
def self.convert_repeated_ssh_customer_key_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_ssh_customer_key_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_ssh_customer_key_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 5481
def self.convert_repeated_ssh_customer_key_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_ssh_customer_key_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 5362
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 5371
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 5930
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 5939
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 5876
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 5885
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_tag_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 5966
def self.convert_repeated_tag_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_tag_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_tag_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 5975
def self.convert_repeated_tag_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_tag_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 6020
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 6029
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 6052
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 6061
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 6096
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 6105
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 6144
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 6153
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 6186
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 6195
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 4632
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.resource = convert_resource_to_plumbing(porcelain.resource) unless porcelain.resource == nil
    plumbing
end
convert_resource_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4621
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.resource = convert_resource_to_porcelain(plumbing.resource)
    porcelain
end
convert_resource_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4669
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 4659
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 4706
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.resource = convert_resource_to_plumbing(porcelain.resource) unless porcelain.resource == nil
    plumbing
end
convert_resource_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4695
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.resource = convert_resource_to_porcelain(plumbing.resource)
    porcelain
end
convert_resource_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4207
def self.convert_resource_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Resource.new()
    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? AKSServiceAccountUserImpersonation
        plumbing.aks_service_account_user_impersonation = convert_aks_service_account_user_impersonation_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AKSUserImpersonation
        plumbing.aks_user_impersonation = convert_aks_user_impersonation_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AmazonEKS
        plumbing.amazon_eks = convert_amazon_eks_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AmazonEKSUserImpersonation
        plumbing.amazon_eks_user_impersonation = convert_amazon_eks_user_impersonation_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AmazonES
        plumbing.amazon_es = convert_amazon_es_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AmazonMQAMQP091
        plumbing.amazon_mqamqp_091 = convert_amazon_mqamqp_091_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Athena
        plumbing.athena = convert_athena_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AuroraMysql
        plumbing.aurora_mysql = convert_aurora_mysql_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AuroraPostgres
        plumbing.aurora_postgres = convert_aurora_postgres_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? Citus
        plumbing.citus = convert_citus_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Clustrix
        plumbing.clustrix = convert_clustrix_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Cockroach
        plumbing.cockroach = convert_cockroach_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? DocumentDBHost
        plumbing.document_db_host = convert_document_db_host_to_plumbing(porcelain)
    end
    if porcelain .instance_of? DocumentDBReplicaSet
        plumbing.document_db_replica_set = convert_document_db_replica_set_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? Elastic
        plumbing.elastic = convert_elastic_to_plumbing(porcelain)
    end
    if porcelain .instance_of? ElasticacheRedis
        plumbing.elasticache_redis = convert_elasticache_redis_to_plumbing(porcelain)
    end
    if porcelain .instance_of? GoogleGKE
        plumbing.google_gke = convert_google_gke_to_plumbing(porcelain)
    end
    if porcelain .instance_of? GoogleGKEUserImpersonation
        plumbing.google_gke_user_impersonation = convert_google_gke_user_impersonation_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Greenplum
        plumbing.greenplum = convert_greenplum_to_plumbing(porcelain)
    end
    if porcelain .instance_of? HTTPAuth
        plumbing.http_auth = convert_http_auth_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? 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? KubernetesServiceAccountUserImpersonation
        plumbing.kubernetes_service_account_user_impersonation = convert_kubernetes_service_account_user_impersonation_to_plumbing(porcelain)
    end
    if porcelain .instance_of? KubernetesUserImpersonation
        plumbing.kubernetes_user_impersonation = convert_kubernetes_user_impersonation_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Maria
        plumbing.maria = convert_maria_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Memcached
        plumbing.memcached = convert_memcached_to_plumbing(porcelain)
    end
    if porcelain .instance_of? Memsql
        plumbing.memsql = convert_memsql_to_plumbing(porcelain)
    end
    if porcelain .instance_of? MongoHost
        plumbing.mongo_host = convert_mongo_host_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? 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? Neptune
        plumbing.neptune = convert_neptune_to_plumbing(porcelain)
    end
    if porcelain .instance_of? NeptuneIAM
        plumbing.neptune_iam = convert_neptune_iam_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? Presto
        plumbing.presto = convert_presto_to_plumbing(porcelain)
    end
    if porcelain .instance_of? RabbitMQAMQP091
        plumbing.rabbit_mqamqp_091 = convert_rabbit_mqamqp_091_to_plumbing(porcelain)
    end
    if porcelain .instance_of? RawTCP
        plumbing.raw_tcp = convert_raw_tcp_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? Redshift
        plumbing.redshift = convert_redshift_to_plumbing(porcelain)
    end
    if porcelain .instance_of? SingleStore
        plumbing.single_store = convert_single_store_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? SSHCustomerKey
        plumbing.ssh_customer_key = convert_ssh_customer_key_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 4407
def self.convert_resource_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    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.aks_service_account_user_impersonation != nil
        return convert_aks_service_account_user_impersonation_to_porcelain(plumbing.aks_service_account_user_impersonation)
    end
    if plumbing.aks_user_impersonation != nil
        return convert_aks_user_impersonation_to_porcelain(plumbing.aks_user_impersonation)
    end
    if plumbing.amazon_eks != nil
        return convert_amazon_eks_to_porcelain(plumbing.amazon_eks)
    end
    if plumbing.amazon_eks_user_impersonation != nil
        return convert_amazon_eks_user_impersonation_to_porcelain(plumbing.amazon_eks_user_impersonation)
    end
    if plumbing.amazon_es != nil
        return convert_amazon_es_to_porcelain(plumbing.amazon_es)
    end
    if plumbing.amazon_mqamqp_091 != nil
        return convert_amazon_mqamqp_091_to_porcelain(plumbing.amazon_mqamqp_091)
    end
    if plumbing.athena != nil
        return convert_athena_to_porcelain(plumbing.athena)
    end
    if plumbing.aurora_mysql != nil
        return convert_aurora_mysql_to_porcelain(plumbing.aurora_mysql)
    end
    if plumbing.aurora_postgres != nil
        return convert_aurora_postgres_to_porcelain(plumbing.aurora_postgres)
    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.citus != nil
        return convert_citus_to_porcelain(plumbing.citus)
    end
    if plumbing.clustrix != nil
        return convert_clustrix_to_porcelain(plumbing.clustrix)
    end
    if plumbing.cockroach != nil
        return convert_cockroach_to_porcelain(plumbing.cockroach)
    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.document_db_host != nil
        return convert_document_db_host_to_porcelain(plumbing.document_db_host)
    end
    if plumbing.document_db_replica_set != nil
        return convert_document_db_replica_set_to_porcelain(plumbing.document_db_replica_set)
    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.elastic != nil
        return convert_elastic_to_porcelain(plumbing.elastic)
    end
    if plumbing.elasticache_redis != nil
        return convert_elasticache_redis_to_porcelain(plumbing.elasticache_redis)
    end
    if plumbing.google_gke != nil
        return convert_google_gke_to_porcelain(plumbing.google_gke)
    end
    if plumbing.google_gke_user_impersonation != nil
        return convert_google_gke_user_impersonation_to_porcelain(plumbing.google_gke_user_impersonation)
    end
    if plumbing.greenplum != nil
        return convert_greenplum_to_porcelain(plumbing.greenplum)
    end
    if plumbing.http_auth != nil
        return convert_http_auth_to_porcelain(plumbing.http_auth)
    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.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.kubernetes_service_account_user_impersonation != nil
        return convert_kubernetes_service_account_user_impersonation_to_porcelain(plumbing.kubernetes_service_account_user_impersonation)
    end
    if plumbing.kubernetes_user_impersonation != nil
        return convert_kubernetes_user_impersonation_to_porcelain(plumbing.kubernetes_user_impersonation)
    end
    if plumbing.maria != nil
        return convert_maria_to_porcelain(plumbing.maria)
    end
    if plumbing.memcached != nil
        return convert_memcached_to_porcelain(plumbing.memcached)
    end
    if plumbing.memsql != nil
        return convert_memsql_to_porcelain(plumbing.memsql)
    end
    if plumbing.mongo_host != nil
        return convert_mongo_host_to_porcelain(plumbing.mongo_host)
    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_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.neptune != nil
        return convert_neptune_to_porcelain(plumbing.neptune)
    end
    if plumbing.neptune_iam != nil
        return convert_neptune_iam_to_porcelain(plumbing.neptune_iam)
    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.presto != nil
        return convert_presto_to_porcelain(plumbing.presto)
    end
    if plumbing.rabbit_mqamqp_091 != nil
        return convert_rabbit_mqamqp_091_to_porcelain(plumbing.rabbit_mqamqp_091)
    end
    if plumbing.raw_tcp != nil
        return convert_raw_tcp_to_porcelain(plumbing.raw_tcp)
    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.redshift != nil
        return convert_redshift_to_porcelain(plumbing.redshift)
    end
    if plumbing.single_store != nil
        return convert_single_store_to_porcelain(plumbing.single_store)
    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.ssh_customer_key != nil
        return convert_ssh_customer_key_to_porcelain(plumbing.ssh_customer_key)
    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 4744
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.resource = convert_resource_to_plumbing(porcelain.resource) unless porcelain.resource == nil
    plumbing
end
convert_resource_update_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4733
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.resource = convert_resource_to_porcelain(plumbing.resource)
    porcelain
end
convert_role_attachment_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4862
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.role_attachment = convert_role_attachment_to_plumbing(porcelain.role_attachment) unless porcelain.role_attachment == nil
    plumbing
end
convert_role_attachment_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4851
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.role_attachment = convert_role_attachment_to_porcelain(plumbing.role_attachment)
    porcelain
end
convert_role_attachment_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4899
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 4889
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 4936
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.role_attachment = convert_role_attachment_to_plumbing(porcelain.role_attachment) unless porcelain.role_attachment == nil
    plumbing
end
convert_role_attachment_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4925
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.role_attachment = convert_role_attachment_to_porcelain(plumbing.role_attachment)
    porcelain
end
convert_role_attachment_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4824
def self.convert_role_attachment_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::RoleAttachment.new()
    plumbing.attached_role_id = (porcelain.attached_role_id) unless porcelain.attached_role_id == nil
    plumbing.composite_role_id = (porcelain.composite_role_id) unless porcelain.composite_role_id == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing
end
convert_role_attachment_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4813
def self.convert_role_attachment_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = RoleAttachment.new()
    porcelain.attached_role_id = (plumbing.attached_role_id)
    porcelain.composite_role_id = (plumbing.composite_role_id)
    porcelain.id = (plumbing.id)
    porcelain
end
convert_role_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 4974
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.role = convert_role_to_plumbing(porcelain.role) unless porcelain.role == nil
    plumbing
end
convert_role_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 4963
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.role = convert_role_to_porcelain(plumbing.role)
    porcelain
end
convert_role_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5011
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 5001
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 5048
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.role = convert_role_to_plumbing(porcelain.role) unless porcelain.role == nil
    plumbing
end
convert_role_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5037
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.role = convert_role_to_porcelain(plumbing.role)
    porcelain
end
convert_role_grant_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5124
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.role_grant = convert_role_grant_to_plumbing(porcelain.role_grant) unless porcelain.role_grant == nil
    plumbing
end
convert_role_grant_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5113
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.role_grant = convert_role_grant_to_porcelain(plumbing.role_grant)
    porcelain
end
convert_role_grant_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5161
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 5151
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 5198
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.role_grant = convert_role_grant_to_plumbing(porcelain.role_grant) unless porcelain.role_grant == nil
    plumbing
end
convert_role_grant_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5187
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.role_grant = convert_role_grant_to_porcelain(plumbing.role_grant)
    porcelain
end
convert_role_grant_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5086
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 5075
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 4784
def self.convert_role_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Role.new()
    plumbing.access_rules = (porcelain.access_rules) unless porcelain.access_rules == nil
    plumbing.composite = (porcelain.composite) unless porcelain.composite == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == 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 4771
def self.convert_role_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Role.new()
    porcelain.access_rules = (plumbing.access_rules)
    porcelain.composite = (plumbing.composite)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    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 5236
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.role = convert_role_to_plumbing(porcelain.role) unless porcelain.role == nil
    plumbing
end
convert_role_update_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5225
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.role = convert_role_to_porcelain(plumbing.role)
    porcelain
end
convert_secret_store_create_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5548
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.secret_store = convert_secret_store_to_plumbing(porcelain.secret_store) unless porcelain.secret_store == nil
    plumbing
end
convert_secret_store_create_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5537
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.secret_store = convert_secret_store_to_porcelain(plumbing.secret_store)
    porcelain
end
convert_secret_store_delete_response_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5585
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 5575
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 5622
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.secret_store = convert_secret_store_to_plumbing(porcelain.secret_store) unless porcelain.secret_store == nil
    plumbing
end
convert_secret_store_get_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5611
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.secret_store = convert_secret_store_to_porcelain(plumbing.secret_store)
    porcelain
end
convert_secret_store_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5489
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 5506
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 5660
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.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
    plumbing.secret_store = convert_secret_store_to_plumbing(porcelain.secret_store) unless porcelain.secret_store == nil
    plumbing
end
convert_secret_store_update_response_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5649
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.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
    porcelain.secret_store = convert_secret_store_to_porcelain(plumbing.secret_store)
    porcelain
end
convert_service_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5699
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 5687
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_single_store_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5747
def self.convert_single_store_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SingleStore.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_single_store_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5727
def self.convert_single_store_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SingleStore.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_snowflake_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5803
def self.convert_snowflake_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Snowflake.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.schema = (porcelain.schema) unless porcelain.schema == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_snowflake_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5783
def self.convert_snowflake_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Snowflake.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port_override = (plumbing.port_override)
    porcelain.schema = (plumbing.schema)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_sql_server_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5285
def self.convert_sql_server_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SQLServer.new()
    plumbing.database = (porcelain.database) unless porcelain.database == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.override_database = (porcelain.override_database) unless porcelain.override_database == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.schema = (porcelain.schema) unless porcelain.schema == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_sql_server_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5263
def self.convert_sql_server_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SQLServer.new()
    porcelain.database = (plumbing.database)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.override_database = (plumbing.override_database)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.schema = (plumbing.schema)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_ssh_cert_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5398
def self.convert_ssh_cert_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SSHCert.new()
    plumbing.allow_deprecated_key_exchanges = (porcelain.allow_deprecated_key_exchanges) unless porcelain.allow_deprecated_key_exchanges == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_forwarding = (porcelain.port_forwarding) unless porcelain.port_forwarding == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_ssh_cert_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5379
def self.convert_ssh_cert_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SSHCert.new()
    porcelain.allow_deprecated_key_exchanges = (plumbing.allow_deprecated_key_exchanges)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.port_forwarding = (plumbing.port_forwarding)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_ssh_customer_key_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5453
def self.convert_ssh_customer_key_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SSHCustomerKey.new()
    plumbing.allow_deprecated_key_exchanges = (porcelain.allow_deprecated_key_exchanges) unless porcelain.allow_deprecated_key_exchanges == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_forwarding = (porcelain.port_forwarding) unless porcelain.port_forwarding == nil
    plumbing.private_key = (porcelain.private_key) unless porcelain.private_key == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_ssh_customer_key_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5433
def self.convert_ssh_customer_key_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SSHCustomerKey.new()
    porcelain.allow_deprecated_key_exchanges = (plumbing.allow_deprecated_key_exchanges)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.port_forwarding = (plumbing.port_forwarding)
    porcelain.private_key = (plumbing.private_key)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_ssh_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5343
def self.convert_ssh_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SSH.new()
    plumbing.allow_deprecated_key_exchanges = (porcelain.allow_deprecated_key_exchanges) unless porcelain.allow_deprecated_key_exchanges == nil
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_forwarding = (porcelain.port_forwarding) unless porcelain.port_forwarding == nil
    plumbing.public_key = (porcelain.public_key) unless porcelain.public_key == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_ssh_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5323
def self.convert_ssh_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SSH.new()
    porcelain.allow_deprecated_key_exchanges = (plumbing.allow_deprecated_key_exchanges)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.port = (plumbing.port)
    porcelain.port_forwarding = (plumbing.port_forwarding)
    porcelain.public_key = (plumbing.public_key)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_sybase_iq_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5912
def self.convert_sybase_iq_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::SybaseIQ.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_sybase_iq_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5893
def self.convert_sybase_iq_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = SybaseIQ.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_sybase_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5858
def self.convert_sybase_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Sybase.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_sybase_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5839
def self.convert_sybase_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Sybase.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_tag_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 5957
def self.convert_tag_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Tag.new()
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.value = (porcelain.value) unless porcelain.value == nil
    plumbing
end
convert_tag_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5947
def self.convert_tag_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Tag.new()
    porcelain.name = (plumbing.name)
    porcelain.value = (plumbing.value)
    porcelain
end
convert_tags_to_plumbing(t) click to toggle source
# File lib/grpc/plumbing.rb, line 84
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 73
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 6002
def self.convert_teradata_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Teradata.new()
    plumbing.egress_filter = (porcelain.egress_filter) unless porcelain.egress_filter == nil
    plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
    plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
    plumbing.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.password = (porcelain.password) unless porcelain.password == nil
    plumbing.port = (porcelain.port) unless porcelain.port == nil
    plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
    plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
    plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
    plumbing.username = (porcelain.username) unless porcelain.username == nil
    plumbing
end
convert_teradata_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 5983
def self.convert_teradata_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Teradata.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.hostname = (plumbing.hostname)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.password = (plumbing.password)
    porcelain.port = (plumbing.port)
    porcelain.port_override = (plumbing.port_override)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.username = (plumbing.username)
    porcelain
end
convert_timestamp_to_plumbing(t) click to toggle source
# File lib/grpc/plumbing.rb, line 66
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 59
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 6045
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 6037
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 6083
def self.convert_user_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::User.new()
    plumbing.email = (porcelain.email) unless porcelain.email == nil
    plumbing.first_name = (porcelain.first_name) unless porcelain.first_name == nil
    plumbing.id = (porcelain.id) unless porcelain.id == 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 6069
def self.convert_user_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = User.new()
    porcelain.email = (plumbing.email)
    porcelain.first_name = (plumbing.first_name)
    porcelain.id = (plumbing.id)
    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 6129
def self.convert_vault_tls_store_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::VaultTLSStore.new()
    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.id = (porcelain.id) unless porcelain.id == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.namespace = (porcelain.namespace) unless porcelain.namespace == 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_tls_store_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 6113
def self.convert_vault_tls_store_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = VaultTLSStore.new()
    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.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.namespace = (plumbing.namespace)
    porcelain.server_address = (plumbing.server_address)
    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 6174
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.namespace = (porcelain.namespace) unless porcelain.namespace == 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 6161
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.namespace = (plumbing.namespace)
    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 42
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