def execute(self, language, src_proto_path, import_proto_path, output_dir, api_name, api_version, organization_name, toolkit_path, gapic_api_yaml, final_src_proto_path=None, final_import_proto_path=None, excluded_proto_path=[]): pkg_dir = protoc_utils.prepare_proto_pkg_dir(output_dir, api_name, api_version, organization_name, language) return self._execute_proto_codegen( language, src_proto_path, import_proto_path, pkg_dir, api_name, api_version, organization_name, toolkit_path, gapic_api_yaml, gen_proto=True, final_src_proto_path=final_src_proto_path, final_import_proto_path=final_import_proto_path, excluded_proto_path=excluded_proto_path)
def execute(self, language, src_proto_path, import_proto_path, output_dir, api_name, api_version, organization_name, toolkit_path, gapic_yaml, root_dir, final_src_proto_path=None, final_import_proto_path=None, excluded_proto_path=[], language_out_override=None): pkg_dir = protoc_utils.prepare_proto_pkg_dir(output_dir, api_name, api_version, organization_name, language) return self._execute_proto_codegen( language, src_proto_path, import_proto_path, pkg_dir, api_name, api_version, organization_name, toolkit_path, gapic_yaml, root_dir, gen_common_resources=True, final_src_proto_path=final_src_proto_path, final_import_proto_path=final_import_proto_path, excluded_proto_path=excluded_proto_path, language_out_override=language_out_override)
def execute(self, language, src_proto_path, import_proto_path, output_dir, api_name, api_version, organization_name, toolkit_path, gapic_yaml, final_src_proto_path=None, final_import_proto_path=None, excluded_proto_path=[]): pkg_dir = protoc_utils.prepare_proto_pkg_dir( output_dir, api_name, api_version, organization_name, language) return self._execute_proto_codegen( language, src_proto_path, import_proto_path, pkg_dir, api_name, api_version, organization_name, toolkit_path, gapic_yaml, gen_proto=True, final_src_proto_path=final_src_proto_path, final_import_proto_path=final_import_proto_path, excluded_proto_path=excluded_proto_path)