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_azure_certificate_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1436
def self.convert_azure_certificate_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AzureCertificate.new()
    plumbing.app_id = (porcelain.app_id) unless porcelain.app_id == nil
    plumbing.client_certificate = (porcelain.client_certificate) unless porcelain.client_certificate == 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.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.tenant_id = (porcelain.tenant_id) unless porcelain.tenant_id == nil
    plumbing
end
convert_azure_certificate_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1419
def self.convert_azure_certificate_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AzureCertificate.new()
    porcelain.app_id = (plumbing.app_id)
    porcelain.client_certificate = (plumbing.client_certificate)
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.name = (plumbing.name)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tenant_id = (plumbing.tenant_id)
    porcelain
end
convert_azure_postgres_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1490
def self.convert_azure_postgres_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::AzurePostgres.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_azure_postgres_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1469
def self.convert_azure_postgres_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = AzurePostgres.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_azure_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1386
def self.convert_azure_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::Azure.new()
    plumbing.app_id = (porcelain.app_id) unless porcelain.app_id == 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.password = (porcelain.password) unless porcelain.password == 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.tenant_id = (porcelain.tenant_id) unless porcelain.tenant_id == nil
    plumbing
end
convert_azure_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 1369
def self.convert_azure_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = Azure.new()
    porcelain.app_id = (plumbing.app_id)
    porcelain.egress_filter = (plumbing.egress_filter)
    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.tags = convert_tags_to_porcelain(plumbing.tags)
    porcelain.tenant_id = (plumbing.tenant_id)
    porcelain
end
convert_big_query_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 1546
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 1527
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 1601
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 1581
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 1658
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 1637
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 1715
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 1695
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 1772
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 1751
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 1820
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 1809
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 1858
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 1847
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 1893
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 1885
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 1937
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 1917
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 1993
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 1973
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 2037
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 2029
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 2081
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 2061
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 2138
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 2117
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 2194
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 2175
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 2250
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 2229
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 2307
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 2287
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 2362
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 2343
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 6495
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 2460
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 2445
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_gcp_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 2413
def self.convert_gcp_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::GCP.new()
    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.keyfile = (porcelain.keyfile) unless porcelain.keyfile == nil
    plumbing.name = (porcelain.name) unless porcelain.name == nil
    plumbing.scopes = (porcelain.scopes) unless porcelain.scopes == 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_gcp_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 2397
def self.convert_gcp_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = GCP.new()
    porcelain.egress_filter = (plumbing.egress_filter)
    porcelain.healthy = (plumbing.healthy)
    porcelain.id = (plumbing.id)
    porcelain.keyfile = (plumbing.keyfile)
    porcelain.name = (plumbing.name)
    porcelain.scopes = (plumbing.scopes)
    porcelain.secret_store_id = (plumbing.secret_store_id)
    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 2499
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 2491
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 2541
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 2523
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 2593
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 2575
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 2648
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 2627
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 2705
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 2685
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 2762
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 2741
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 2818
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 2799
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 2928
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 2909
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 2981
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 2963
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 3033
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 3015
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 2873
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 2853
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 3087
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 3067
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 3143
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 3123
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 3196
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 3179
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 3249
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 3229
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 3306
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 3285
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 3365
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 3343
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 3426
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 3403
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 3488
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 3465
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_mongo_sharded_cluster_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3547
def self.convert_mongo_sharded_cluster_to_plumbing(porcelain)
    if porcelain == nil
        return nil
    end
    plumbing = V1::MongoShardedCluster.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_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_sharded_cluster_to_porcelain(plumbing) click to toggle source
# File lib/grpc/plumbing.rb, line 3527
def self.convert_mongo_sharded_cluster_to_porcelain(plumbing)
    if plumbing == nil
        return nil
    end
    porcelain = MongoShardedCluster.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_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_mysql_to_plumbing(porcelain) click to toggle source
# File lib/grpc/plumbing.rb, line 3603
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 3583
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 3711
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 3689
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 3656
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 3639
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 3803
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 3791
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 3841
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 3831
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 3878
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 3867
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 3749
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 3763
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 3916
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 3905
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 3964
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 3943
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 4022
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 4001
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 4080
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 4059
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 4191
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 4171
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 4239
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 4227
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 4284
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 4267
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 4136
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 4117
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 4335
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 4317
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 4390
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 4369
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 4440
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 4427
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_azure_certificate_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1452
def self.convert_repeated_azure_certificate_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_azure_certificate_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_azure_certificate_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1461
def self.convert_repeated_azure_certificate_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_azure_certificate_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_azure_postgres_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1510
def self.convert_repeated_azure_postgres_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_azure_postgres_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_azure_postgres_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1519
def self.convert_repeated_azure_postgres_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_azure_postgres_to_porcelain(plumbing)
        items.append(porcelain)
    end
    items
end
convert_repeated_azure_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 1402
def self.convert_repeated_azure_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_azure_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_azure_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 1411
def self.convert_repeated_azure_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_azure_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 1564
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 1573
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 1620
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 1629
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 1678
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 1687
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 1734
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 1743
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 1792
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 1801
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 1830
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 1839
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 1868
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 1877
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 1900
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 1909
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 1956
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 1965
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 2012
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 2021
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 2044
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 2053
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 2100
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 2109
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 2158
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 2167
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 2212
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 2221
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 2270
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 2279
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 2326
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 2335
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 2380
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 2389
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 2474
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 2483
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_gcp_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 2428
def self.convert_repeated_gcp_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_gcp_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_gcp_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 2437
def self.convert_repeated_gcp_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_gcp_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 2506
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 2515
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 2558
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 2567
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 2610
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 2619
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 2668
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 2677
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 2724
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 2733
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 2782
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 2791
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 2836
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 2845
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 2946
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 2955
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 2998
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 3007
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 3050
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 3059
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 2892
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 2901
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 3106
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 3115
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 3162
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 3171
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 3212
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 3221
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 3268
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 3277
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 3326
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 3335
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 3386
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 3395
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 3448
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 3457
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 3510
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 3519
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_mongo_sharded_cluster_to_plumbing(porcelains) click to toggle source
# File lib/grpc/plumbing.rb, line 3566
def self.convert_repeated_mongo_sharded_cluster_to_plumbing(porcelains)
    items = Array.new
    porcelains.each do |porcelain|
        plumbing = convert_mongo_sharded_cluster_to_plumbing(porcelain)
        items.append(plumbing)
    end
    items
end
convert_repeated_mongo_sharded_cluster_to_porcelain(plumbings) click to toggle source
# File lib/grpc/plumbing.rb, line 3575
def self.convert_repeated_mongo_sharded_cluster_to_porcelain(plumbings)
    items = Array.new
    plumbings.each do |plumbing|
        porcelain = convert_mongo_sharded_cluster_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 3622
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 3631
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 3732
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 3741
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 3672
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 3681
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 3814
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 3823
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 3850
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 3859
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 3888
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 3897
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 3774
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 3783
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 3926
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 3935
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 3984
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 3993
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 4042
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 4051
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 4100
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 4109
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 4210
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 4219
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 4250
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 4259
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 4300
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 4309
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 4154
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 4163
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 4352
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 4361
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 4410
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 4419
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 4452
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 4461
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 4934
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 4943
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 4970
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 4979
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 5008
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 5017
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 4896
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 4905
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 5046
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 5055
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 5164
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 5173
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 5200
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 5209
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 5238
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 5247
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 5126
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 5135
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 5276
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 5285
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 5312
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 5321
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 5350
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 5359
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 5426
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 5435
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 5462
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 5471
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 5500
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 5509
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 5388
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 5397
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 5088
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 5097
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 5538
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 5547
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 5850
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 5859
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 5886
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 5895
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 5924
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 5933
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 5812
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 5821
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 5962
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 5971
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 6002
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 6011
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 6058
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 6067
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 6114
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 6123
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 5598
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 5607
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 5708
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 5717
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 5764
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 5773
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 5654
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 5663
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 6222
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 6231
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 6168
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 6177
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 6258
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 6267
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 6312
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 6321
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 6344
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 6353
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 6388
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 6397
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 6436
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 6445
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 6478
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 6487
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 4924
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 4913
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 4961
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 4951
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 4998
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 4987
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 4469
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? Azure
        plumbing.azure = convert_azure_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AzureCertificate
        plumbing.azure_certificate = convert_azure_certificate_to_plumbing(porcelain)
    end
    if porcelain .instance_of? AzurePostgres
        plumbing.azure_postgres = convert_azure_postgres_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? GCP
        plumbing.gcp = convert_gcp_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? MongoShardedCluster
        plumbing.mongo_sharded_cluster = convert_mongo_sharded_cluster_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 4684
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.azure != nil
        return convert_azure_to_porcelain(plumbing.azure)
    end
    if plumbing.azure_certificate != nil
        return convert_azure_certificate_to_porcelain(plumbing.azure_certificate)
    end
    if plumbing.azure_postgres != nil
        return convert_azure_postgres_to_porcelain(plumbing.azure_postgres)
    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.gcp != nil
        return convert_gcp_to_porcelain(plumbing.gcp)
    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.mongo_sharded_cluster != nil
        return convert_mongo_sharded_cluster_to_porcelain(plumbing.mongo_sharded_cluster)
    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 5036
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 5025
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 5154
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 5143
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 5191
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 5181
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 5228
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 5217
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 5116
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 5105
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 5266
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 5255
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 5303
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 5293
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 5340
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 5329
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 5416
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 5405
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 5453
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 5443
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 5490
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 5479
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 5378
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 5367
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 5076
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 5063
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 5528
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 5517
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 5840
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 5829
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 5877
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 5867
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 5914
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 5903
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 5781
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 5798
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 5952
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 5941
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 5991
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 5979
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 6039
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 6019
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 6095
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 6075
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 5577
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 5555
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 5690
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 5671
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 5745
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 5725
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 5635
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 5615
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 6204
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 6185
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 6150
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 6131
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 6249
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 6239
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 6294
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 6275
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 6337
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 6329
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 6375
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 6361
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 6421
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 6405
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 6466
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 6453
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