How to use the grpc.makeGenericClientConstructor function in grpc

To help you get started, we’ve selected a few grpc examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pulumi / pulumi / sdk / nodejs / proto / nodejs / provider_grpc_pb.js View on Github external
},
  // Delete tears down an existing resource with the given ID.  If it fails, the resource is assumed to still exist.
  delete: {
    path: '/lumirpc.ResourceProvider/Delete',
    requestStream: false,
    responseStream: false,
    requestType: provider_pb.DeleteRequest,
    responseType: google_protobuf_empty_pb.Empty,
    requestSerialize: serialize_lumirpc_DeleteRequest,
    requestDeserialize: deserialize_lumirpc_DeleteRequest,
    responseSerialize: serialize_google_protobuf_Empty,
    responseDeserialize: deserialize_google_protobuf_Empty,
  },
};

exports.ResourceProviderClient = grpc.makeGenericClientConstructor(ResourceProviderService);
github Opteo / google-ads-node / src / protos / google / ads / googleads / v0 / services / customer_client_link_service_grpc_pb.js View on Github external
},
  // Creates or updates a customer client link. Operation statuses are returned.
  mutateCustomerClientLink: {
    path: '/google.ads.googleads.v0.services.CustomerClientLinkService/MutateCustomerClientLink',
    requestStream: false,
    responseStream: false,
    requestType: google_ads_googleads_v0_services_customer_client_link_service_pb.MutateCustomerClientLinkRequest,
    responseType: google_ads_googleads_v0_services_customer_client_link_service_pb.MutateCustomerClientLinkResponse,
    requestSerialize: serialize_google_ads_googleads_v0_services_MutateCustomerClientLinkRequest,
    requestDeserialize: deserialize_google_ads_googleads_v0_services_MutateCustomerClientLinkRequest,
    responseSerialize: serialize_google_ads_googleads_v0_services_MutateCustomerClientLinkResponse,
    responseDeserialize: deserialize_google_ads_googleads_v0_services_MutateCustomerClientLinkResponse,
  },
};

exports.CustomerClientLinkServiceClient = grpc.makeGenericClientConstructor(CustomerClientLinkServiceService);
github Opteo / google-ads-node / src / protos / google / ads / googleads / v0 / services / shared_set_service_grpc_pb.js View on Github external
},
  // Creates, updates, or removes shared sets. Operation statuses are returned.
  mutateSharedSets: {
    path: '/google.ads.googleads.v0.services.SharedSetService/MutateSharedSets',
    requestStream: false,
    responseStream: false,
    requestType: google_ads_googleads_v0_services_shared_set_service_pb.MutateSharedSetsRequest,
    responseType: google_ads_googleads_v0_services_shared_set_service_pb.MutateSharedSetsResponse,
    requestSerialize: serialize_google_ads_googleads_v0_services_MutateSharedSetsRequest,
    requestDeserialize: deserialize_google_ads_googleads_v0_services_MutateSharedSetsRequest,
    responseSerialize: serialize_google_ads_googleads_v0_services_MutateSharedSetsResponse,
    responseDeserialize: deserialize_google_ads_googleads_v0_services_MutateSharedSetsResponse,
  },
};

exports.SharedSetServiceClient = grpc.makeGenericClientConstructor(SharedSetServiceService);
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / services / geographic_view_service_grpc_pb.js View on Github external
var GeographicViewServiceService = exports.GeographicViewServiceService = {
  // Returns the requested geographic view in full detail.
  getGeographicView: {
    path: '/google.ads.googleads.v1.services.GeographicViewService/GetGeographicView',
    requestStream: false,
    responseStream: false,
    requestType: google_ads_googleads_v1_services_geographic_view_service_pb.GetGeographicViewRequest,
    responseType: google_ads_googleads_v1_resources_geographic_view_pb.GeographicView,
    requestSerialize: serialize_google_ads_googleads_v1_services_GetGeographicViewRequest,
    requestDeserialize: deserialize_google_ads_googleads_v1_services_GetGeographicViewRequest,
    responseSerialize: serialize_google_ads_googleads_v1_resources_GeographicView,
    responseDeserialize: deserialize_google_ads_googleads_v1_resources_GeographicView,
  },
};

exports.GeographicViewServiceClient = grpc.makeGenericClientConstructor(GeographicViewServiceService);
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / services / asset_service_grpc_pb.js View on Github external
},
  // Creates assets. Operation statuses are returned.
  mutateAssets: {
    path: '/google.ads.googleads.v1.services.AssetService/MutateAssets',
    requestStream: false,
    responseStream: false,
    requestType: google_ads_googleads_v1_services_asset_service_pb.MutateAssetsRequest,
    responseType: google_ads_googleads_v1_services_asset_service_pb.MutateAssetsResponse,
    requestSerialize: serialize_google_ads_googleads_v1_services_MutateAssetsRequest,
    requestDeserialize: deserialize_google_ads_googleads_v1_services_MutateAssetsRequest,
    responseSerialize: serialize_google_ads_googleads_v1_services_MutateAssetsResponse,
    responseDeserialize: deserialize_google_ads_googleads_v1_services_MutateAssetsResponse,
  },
};

exports.AssetServiceClient = grpc.makeGenericClientConstructor(AssetServiceService);
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / services / customer_extension_setting_service_grpc_pb.js View on Github external
// Creates, updates, or removes customer extension settings. Operation
  // statuses are returned.
  mutateCustomerExtensionSettings: {
    path: '/google.ads.googleads.v1.services.CustomerExtensionSettingService/MutateCustomerExtensionSettings',
    requestStream: false,
    responseStream: false,
    requestType: google_ads_googleads_v1_services_customer_extension_setting_service_pb.MutateCustomerExtensionSettingsRequest,
    responseType: google_ads_googleads_v1_services_customer_extension_setting_service_pb.MutateCustomerExtensionSettingsResponse,
    requestSerialize: serialize_google_ads_googleads_v1_services_MutateCustomerExtensionSettingsRequest,
    requestDeserialize: deserialize_google_ads_googleads_v1_services_MutateCustomerExtensionSettingsRequest,
    responseSerialize: serialize_google_ads_googleads_v1_services_MutateCustomerExtensionSettingsResponse,
    responseDeserialize: deserialize_google_ads_googleads_v1_services_MutateCustomerExtensionSettingsResponse,
  },
};

exports.CustomerExtensionSettingServiceClient = grpc.makeGenericClientConstructor(CustomerExtensionSettingServiceService);
github ArcBlock / forge-js / forge / forge-proto / lib / service_grpc_pb.js View on Github external
responseDeserialize: deserialize_forge_abi_ResponseSubscribe,
  },
  unsubscribe: {
    path: '/forge_abi.EventRpc/unsubscribe',
    requestStream: false,
    responseStream: false,
    requestType: rpc_pb.RequestUnsubscribe,
    responseType: rpc_pb.ResponseUnsubscribe,
    requestSerialize: serialize_forge_abi_RequestUnsubscribe,
    requestDeserialize: deserialize_forge_abi_RequestUnsubscribe,
    responseSerialize: serialize_forge_abi_ResponseUnsubscribe,
    responseDeserialize: deserialize_forge_abi_ResponseUnsubscribe,
  },
};

exports.EventRpcClient = grpc.makeGenericClientConstructor(EventRpcService);
var FileRpcService = exports.FileRpcService = {
  // filesystem related
  store_file: {
    path: '/forge_abi.FileRpc/store_file',
    requestStream: true,
    responseStream: false,
    requestType: rpc_pb.RequestStoreFile,
    responseType: rpc_pb.ResponseStoreFile,
    requestSerialize: serialize_forge_abi_RequestStoreFile,
    requestDeserialize: deserialize_forge_abi_RequestStoreFile,
    responseSerialize: serialize_forge_abi_ResponseStoreFile,
    responseDeserialize: deserialize_forge_abi_ResponseStoreFile,
  },
  load_file: {
    path: '/forge_abi.FileRpc/load_file',
    requestStream: false,
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / services / dynamic_search_ads_search_term_view_service_grpc_pb.js View on Github external
var DynamicSearchAdsSearchTermViewServiceService = exports.DynamicSearchAdsSearchTermViewServiceService = {
  // Returns the requested dynamic search ads search term view in full detail.
  getDynamicSearchAdsSearchTermView: {
    path: '/google.ads.googleads.v1.services.DynamicSearchAdsSearchTermViewService/GetDynamicSearchAdsSearchTermView',
    requestStream: false,
    responseStream: false,
    requestType: google_ads_googleads_v1_services_dynamic_search_ads_search_term_view_service_pb.GetDynamicSearchAdsSearchTermViewRequest,
    responseType: google_ads_googleads_v1_resources_dynamic_search_ads_search_term_view_pb.DynamicSearchAdsSearchTermView,
    requestSerialize: serialize_google_ads_googleads_v1_services_GetDynamicSearchAdsSearchTermViewRequest,
    requestDeserialize: deserialize_google_ads_googleads_v1_services_GetDynamicSearchAdsSearchTermViewRequest,
    responseSerialize: serialize_google_ads_googleads_v1_resources_DynamicSearchAdsSearchTermView,
    responseDeserialize: deserialize_google_ads_googleads_v1_resources_DynamicSearchAdsSearchTermView,
  },
};

exports.DynamicSearchAdsSearchTermViewServiceClient = grpc.makeGenericClientConstructor(DynamicSearchAdsSearchTermViewServiceService);
github Opteo / google-ads-node / src / protos / google / ads / googleads / v0 / services / recommendation_service_grpc_pb.js View on Github external
},
  // Dismisses given recommendations.
  dismissRecommendation: {
    path: '/google.ads.googleads.v0.services.RecommendationService/DismissRecommendation',
    requestStream: false,
    responseStream: false,
    requestType: google_ads_googleads_v0_services_recommendation_service_pb.DismissRecommendationRequest,
    responseType: google_ads_googleads_v0_services_recommendation_service_pb.DismissRecommendationResponse,
    requestSerialize: serialize_google_ads_googleads_v0_services_DismissRecommendationRequest,
    requestDeserialize: deserialize_google_ads_googleads_v0_services_DismissRecommendationRequest,
    responseSerialize: serialize_google_ads_googleads_v0_services_DismissRecommendationResponse,
    responseDeserialize: deserialize_google_ads_googleads_v0_services_DismissRecommendationResponse,
  },
};

exports.RecommendationServiceClient = grpc.makeGenericClientConstructor(RecommendationServiceService);
github Opteo / google-ads-node / src / protos / google / ads / googleads / v1 / services / feed_item_target_service_grpc_pb.js View on Github external
},
  // Creates or removes feed item targets. Operation statuses are returned.
  mutateFeedItemTargets: {
    path: '/google.ads.googleads.v1.services.FeedItemTargetService/MutateFeedItemTargets',
    requestStream: false,
    responseStream: false,
    requestType: google_ads_googleads_v1_services_feed_item_target_service_pb.MutateFeedItemTargetsRequest,
    responseType: google_ads_googleads_v1_services_feed_item_target_service_pb.MutateFeedItemTargetsResponse,
    requestSerialize: serialize_google_ads_googleads_v1_services_MutateFeedItemTargetsRequest,
    requestDeserialize: deserialize_google_ads_googleads_v1_services_MutateFeedItemTargetsRequest,
    responseSerialize: serialize_google_ads_googleads_v1_services_MutateFeedItemTargetsResponse,
    responseDeserialize: deserialize_google_ads_googleads_v1_services_MutateFeedItemTargetsResponse,
  },
};

exports.FeedItemTargetServiceClient = grpc.makeGenericClientConstructor(FeedItemTargetServiceService);